diff --git a/emulators/adamem/Makefile b/emulators/adamem/Makefile index 488b51589146..85cb7d4dffe9 100644 --- a/emulators/adamem/Makefile +++ b/emulators/adamem/Makefile @@ -1,42 +1,40 @@ -# Created by: Jeremy Karlson - PORTNAME= adamem PORTVERSION= 1.0 PORTREVISION= 4 CATEGORIES= emulators MASTER_SITES= http://www.komkon.org/~dekogel/files/coleco/ DISTNAME= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= Portable Coleco ADAM and ColecoVision emulator BROKEN_aarch64= fails to build: regparm is not valid on this platform BROKEN_armv6= fails to build: regparm is not valid on this platform BROKEN_armv7= fails to build: regparm is not valid on this platform NO_WRKSUBDIR= yes USES= xorg USE_XORG= sm x11 xau xext xfixes xi xrandr MAKE_ARGS= CC="${CC}" LD="${CC}" ALL_TARGET= x OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e "s,%%DATADIR%%,${DATADIR}," ${WRKSRC}/ADAMEm.c \ ${WRKSRC}/Coleco.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/adamem ${STAGEDIR}${PREFIX}/bin ${LN} -s adamem ${STAGEDIR}${PREFIX}/bin/cvem @${MKDIR} ${STAGEDIR}${DATADIR} .for f in adamem.snd OS7.rom WP.rom EOS.rom ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DATADIR} .endfor do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/adamem.txt ${STAGEDIR}${DOCSDIR} .include diff --git a/emulators/almostti/Makefile b/emulators/almostti/Makefile index 1e03b5b7c6ed..317b9f4ffe8f 100644 --- a/emulators/almostti/Makefile +++ b/emulators/almostti/Makefile @@ -1,35 +1,33 @@ -# Created by: Alexey Dokuchaev - PORTNAME= almostti PORTVERSION= 1.3 CATEGORIES= emulators MASTER_SITES= http://fms.komkon.org/ATI85/ DISTNAME= AlmostTI13-Unix-DougMelton-051409 MAINTAINER= danfe@FreeBSD.org COMMENT= Texas Instruments Z80 series calculator emulator USES= gmake xorg USE_XORG= x11 xext WRKSRC= ${WRKDIR}/AlmostTI-DougMelton-Source BUILD_WRKSRC= ${WRKSRC}/ATI85/Unix DESKTOP_ENTRIES= "ATI85" "${COMMENT}" "ati85" "ati85" \ "Utility;Calculator;Emulator;" false post-patch: @${REINPLACE_CMD} -e 's,\./,${DATADIR}/,' ${WRKSRC}/ATI85/TI85.c do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/ati85 ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR} .for model in 82 83 83P 83SE 84SE 85 86 ${INSTALL_DATA} ${WRKSRC}/ATI85/Maemo/Package/TI${model}.png \ ${STAGEDIR}${DATADIR} .endfor @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/64x64/apps ${INSTALL_DATA} ${WRKSRC}/ATI85/Maemo/Package/ati85-64x64.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/64x64/apps/ati85.png .include diff --git a/emulators/atari800/Makefile b/emulators/atari800/Makefile index 425ba79fc936..edbd9e6b8172 100644 --- a/emulators/atari800/Makefile +++ b/emulators/atari800/Makefile @@ -1,96 +1,94 @@ -# Created by: Joel Sutton - PORTNAME= atari800 PORTVERSION= 3.1.0 PORTREVISION= 2 CATEGORIES= emulators MASTER_SITES= ftp://ftpmirror.uk/freebsd-ports/atari800/ \ SF/${PORTNAME}/ROM/Original%20XL%20ROM:x \ ftp://ftpmirror.uk/freebsd-ports/atari800/:x DISTFILES= ${DISTNAME}${EXTRACT_SUFX} xf25.zip:x DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= freebsd-ports@dan.me.uk COMMENT= Atari 8-bit computer emulator LICENSE= GPLv2 ROM LICENSE_COMB= multi LICENSE_NAME_ROM= Copyrighted ROMs LICENSE_TEXT_ROM= xf25 contains copyright ROMs and cannot be distributed. LICENSE_PERMS_ROM= auto-accept BUILD_DEPENDS= ${UNZIP_CMD}:archivers/unzip LIB_DEPENDS= libpng.so:graphics/png WRKSRC= ${WRKDIR}/${DISTNAME}/src USES= cpe gmake GNU_CONFIGURE= yes NO_OPTIONS_SORT=yes OPTIONS_DEFINE= DOCS SHM SDL SERIOSOUND CLIPSOUND PAGEDATTRIB BUFFEREDLOG VERYSLOW OPTIONS_DEFAULT= SHM SHM_DESC= X11 frontend with shared memory extensions SDL_DESC= SDL frontend SERIOSOUND_DESC=Serial in/out sound CLIPSOUND_DESC= Sound clipping PAGEDATTRIB_DESC=Page-based attribute array BUFFEREDLOG_DESC=Buffered debug output (until graphics mode switches back to text mode) VERYSLOW_DESC= Very slow computer support CFLAGS+= -I${LOCALBASE}/include/libpng LDFLAGS+= -L${LOCALBASE}/lib ATARI_XF= ataribas.rom atariosb.rom atarixl.rom demos1.xfd \ demos2.xfd dos25.xfd mydos45d.atr SERIOSOUND_CONFIGURE_ON= --enable-seriosound CLIPSOUND_CONFIGURE_ON= --enable-cripsound PAGEDATTRIB_CONFIGURE_ON= --enable-pagedattrib BUFFEREDLOG_CONFIGURE_ON= --enable-bufferedlog VERYSLOW_CONFIGURE_ON= --enable-veryslow .include .if ${PORT_OPTIONS:MSDL} PKGNAMESUFFIX= -sdl USES+= sdl USE_SDL= sdl CONFIGURE_ARGS+= --target=sdl .else USES+= xorg USE_XORG= x11 xext .if ${PORT_OPTIONS:MSHM} CONFIGURE_ARGS+= --target=x11-shm .else CONFIGURE_ARGS+= --target=x11 .endif .endif post-patch: @${CP} ${FILESDIR}/atari800.cfg ${WRKSRC} @${REINPLACE_CMD} -e 's|GUMBY|${DATADIR}|g' ${WRKSRC}/atari800.cfg @${REINPLACE_CMD} -e 's|/etc|${DATADIR}|g' ${WRKSRC}/cfg.c @${REINPLACE_CMD} -e 's|/etc|${DATADIR}|g' ${WRKSRC}/atari.c @${REINPLACE_CMD} -e 's|sdl-config|$$SDL_CONFIG|g' \ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} pre-configure: @${UNZIP_CMD} -q -L -o ${DISTDIR}/${DIST_SUBDIR}/xf25.zip ${ATARI_XF} -d ${WRKSRC} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/atari800 ${STAGEDIR}${PREFIX}/bin/atari800 ${INSTALL_MAN} ${WRKSRC}/atari800.man ${STAGEDIR}${MANPREFIX}/man/man1/atari800.1 @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/atari800.cfg ${STAGEDIR}${DATADIR} .for rom in ${ATARI_XF} ${INSTALL_DATA} ${WRKSRC}/${rom} ${STAGEDIR}${DATADIR} .endfor @${MKDIR} ${STAGEDIR}${DOCSDIR} .for docfile in BUGS CHANGES.OLD CREDITS ChangeLog FAQ README TODO USAGE ${INSTALL_DATA} ${WRKSRC}/../DOC/${docfile} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/emulators/bfe/Makefile b/emulators/bfe/Makefile index 4375974403bb..063d76e0a58d 100644 --- a/emulators/bfe/Makefile +++ b/emulators/bfe/Makefile @@ -1,39 +1,37 @@ -# Created by: jhb - PORTNAME= bfe2 PORTVERSION= 20030723 PORTREVISION= 9 CATEGORIES= emulators MASTER_SITES= SF/bfe/source/23jul2003 DISTNAME= ${PORTNAME}-23jul2003 MAINTAINER= ports@FreeBSD.org COMMENT= X11 GUI for the bochs debugger (revision 2) RUN_DEPENDS= bochs:emulators/bochs WRKSRC= ${WRKDIR}/${PORTNAME} USES= gnome pkgconfig USE_GNOME= gtk20 HAS_CONFIGURE= yes CONFIGURE_SCRIPT= configure.sh CONFIGURE_ARGS= --gtk 2.0 post-patch: @${REINPLACE_CMD} -e \ 's|%%CFLAGS%%|"${CFLAGS}"|g ; \ s|%%CC%%|"${CC}"|g ; \ s|%%PREFIX%%|"${PREFIX}"|g ; \ s|gtk-config --libs|pkg-config --libs gtk+|g ; \ s|gtk-config --cflags|pkg-config --cflags gtk+|g' \ ${WRKSRC}/${CONFIGURE_SCRIPT} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bfe2 ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/README.bferc ${STAGEDIR}${DATADIR}/bferc.sample ${INSTALL_DATA} ${WRKSRC}/README.bferc ${STAGEDIR}${DATADIR} .include diff --git a/emulators/bochs/Makefile b/emulators/bochs/Makefile index 7569b6f08a09..e2f51aefc7e3 100644 --- a/emulators/bochs/Makefile +++ b/emulators/bochs/Makefile @@ -1,293 +1,291 @@ -# Created by: alex - PORTNAME= bochs PORTVERSION= 2.7 PORTEPOCH= 2 CATEGORIES= emulators MASTER_SITES= SF MAINTAINER= nc@FreeBSD.org COMMENT= IA-32 (x86) PC emulator that runs DOS, Win 95, and more LICENSE= LGPL21 BROKEN_i386= does not build on i386 (../cpu.h:4513:117: error: 'regparm' parameter must be between 0 and 3 inclusive) USES= cpe gmake libtool:keepla pkgconfig xorg USE_XORG= x11 GNU_CONFIGURE= yes CONFIGURE_ENV= ac_cv_header_alsa_asoundlib_h=no \ ac_cv_header_ltdl_h=no CONFIGURE_ARGS= --disable-docbook \ --disable-instrumentation CPE_VENDOR= bochs_project SUB_FILES= pkg-message CFLAGS+= -fomit-frame-pointer \ -I${LOCALBASE}/include CXXFLAGS+= -fno-exceptions CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= A20_PIN ALIGN_CHECK ASSERT_CHECK AVX BUSMOUSE CDROM \ CHAINING CLGD54XX CONF_MSRS DEBUGGER DEBUGGER_GUI \ DEBUGGER_X86 DISASM DOCS E1000 ES1370 EVEX FPU GAMEPORT \ GDB_STUB IDLE_HACK IODEBUG LARGE_RAMFILE LOGGING \ LONG_PHY_ADDR MEMTYPE MWAIT NE2000 OPTIMIZATIONS PCI \ PERFMON PLUGINS PNIC RAW_SERIAL READLINE REPEAT_SPEED \ SB16 SHOW_IPS SMP STATS SVM TRACE_LINK USB USB_OHCI \ USB_XHCI VMX VOODOO X86_64 XPM OPTIONS_DEFINE_i386= FAST_FUNCCALL OPTIONS_GROUP= UI OPTIONS_GROUP_UI= RFB SDL1 SDL2 SVGALIB TERM VNCSERVER WXGTK X11 OPTIONS_DEFAULT= A20_PIN ALIGN_CHECK CDROM CONF_MSRS DISASM FPU \ LARGE_RAMFILE LOGGING NE2000 OPTIMIZATIONS PCI SB16 \ SHOW_IPS STATS X11 A20_PIN_DESC= Support for A20 pin A20_PIN_CONFIGURE_ENABLE= a20-pin ALIGN_CHECK_DESC= Alignment check support ALIGN_CHECK_CONFIGURE_ENABLE= alignment-check ASSERT_CHECK_DESC= BX_ASSERT checks ASSERT_CHECK_CONFIGURE_ENABLE= assert-checks ASSERT_CHECK_IMPLIES= DEBUGGER AVX_DESC= AVX instructions support AVX_CONFIGURE_ENABLE= avx AVX_IMPLIES= X86_64 BUSMOUSE_DESC= Busmouse support BUSMOUSE_CONFIGURE_ENABLE= busmouse CDROM_DESC= CDROM support CDROM_CONFIGURE_ENABLE= cdrom CHAINING_DESC= Support handlers-chaining emulation speedups CHAINING_CONFIGURE_ENABLE= handlers-chaining CHAINING_PREVENTS= ASSERT_CHECK DEBUGGER DEBUGGER_GUI GDB_STUB \ IODEBUG READLINE CLGD54XX_DESC= Cirrus Logic GD54xx video card CLGD54XX_CONFIGURE_ENABLE= clgd54xx CONF_MSRS_DESC= Configurable MSR registers support CONF_MSRS_CONFIGURE_ENABLE= configurable-msrs DEBUGGER_DESC= Debugger support DEBUGGER_CONFIGURE_ENABLE= debugger DEBUGGER_IMPLIES= DISASM DEBUGGER_GUI_DESC= GTK+ 2 GUI debugger support DEBUGGER_GUI_USES= gnome DEBUGGER_GUI_USE= GNOME=gtk20 DEBUGGER_GUI_CONFIGURE_ENABLE= debugger-gui DEBUGGER_GUI_IMPLIES= DEBUGGER DEBUGGER_X86_DESC= X86 hardware debugger DEBUGGER_X86_CONFIGURE_ENABLE= x86-debugger DISASM_DESC= Disassemler support DISASM_CONFIGURE_ENABLE= disasm E1000_DESC= Intel(R) Gigabit Ethernet support E1000_CONFIGURE_ENABLE= e1000 E1000_IMPLIES= PCI ES1370_DESC= ES1370 soundcard support ES1370_CONFIGURE_ENABLE= es1370 ES1370_IMPLIES= PCI EVEX_DESC= EVEX prefix and AVX-512 extensios support EVEX_CONFIGURE_ENABLE= evex EVEX_IMPLIES= AVX FAST_FUNCCALL_DESC= Support for fast function calls (x86 only) FAST_FUNCCALL_CONFIGURE_ENABLE= fast-function-calls FPU_DESC= FPU emulator FPU_CONFIGURE_ENABLE= fpu FPU_VARS_OFF= WITH_CPU_LEVEL=3 GAMEPORT_DESC= Standard PC gameport support GAMEPORT_CONFIGURE_ENABLE= gameport GDB_STUB_DESC= GDB stub support GDB_STUB_CONFIGURE_ENABLE= gdb-stub GDB_STUB_PREVENTS= ASSERT_CHECK DEBUGGER DEBUGGER_GUI IODEBUG IDLE_HACK_DESC= Keep Bochs from using all CPU time IDLE_HACK_CONFIGURE_ENABLE= idle-hack IODEBUG_DESC= I/O interface to debugger IODEBUG_CONFIGURE_ENABLE= iodebug IODEBUG_IMPLIES= DEBUGGER LARGE_RAMFILE_DESC= Large ramfile support LARGE_RAMFILE_CONFIGURE_ENABLE= large-ramfile LOGGING_DESC= Logging support LOGGING_CONFIGURE_ENABLE= logging LONG_PHY_ADDR_DESC= Support for physical address >= 32bit LONG_PHY_ADDR_CONFIGURE_ENABLE= long-phy-address MEMTYPE_DESC= Memory type calculation support MEMTYPE_CONFIGURE_ENABLE= memtype MWAIT_DESC= MONITOR/MWAIT instructions support (experimemtal) MWAIT_CONFIGURE_ENABLE= monitor-mwait NE2000_DESC= NE2000 support NE2000_CONFIGURE_ENABLE= ne2000 OPTIMIZATIONS_DESC= Compile in all safe speed optimizations OPTIMIZATIONS_CONFIGURE_ENABLE= all-optimizations OPTIMIZATIONS_IMPLIES= CHAINING FAST_FUNCCALL REPEAT_SPEED TRACE_LINK OPTIMIZATIONS_PREVENTS= ASSERT_CHECK DEBUGGER DEBUGGER_GUI GDB_STUB \ IODEBUG READLINE PCI_DESC= Intel(R) i440FX PCI support PCI_CONFIGURE_ENABLE= pci PERFMON_DESC= Hardware performance monitoring emulation (experimental) PERFMON_CONFIGURE_ENABLE= perfmon PLUGINS_CONFIGURE_ENABLE= plugins PNIC_DESC= PCI pseudo NIC (network card) support PNIC_CONFIGURE_ENABLE= pnic PNIC_IMPLIES= PCI RAW_SERIAL_DESC= Raw serial port access RAW_SERIAL_CONFIGURE_ENABLE= raw-serial READLINE_DESC= Readline support in debugger READLINE_USES= readline READLINE_CONFIGURE_ENABLE= readline READLINE_IMPLIES= DEBUGGER REPEAT_SPEED_DESC= Support repeated IO and mem copy speedups REPEAT_SPEED_CONFIGURE_ENABLE= repeat-speedups RFB_DESC= RFB protocol support (works with VNC viewer) RFB_CONFIGURE_WITH= rfb SB16_DESC= Sound Blaster 16 emulation SB16_CONFIGURE_ENABLE= sb16 SB16_LIB_DEPENDS= libsamplerate.so:audio/libsamplerate SDL1_DESC= Simple Direct Media Layer 1 support SDL1_USES= sdl SDL1_USE= SDL=sdl SDL1_CONFIGURE_WITH= sdl SDL1_PREVENTS= SDL2 SDL2_DESC= Simple Direct Media Layer 2 support SDL2_USES= sdl SDL2_USE= SDL=sdl2 SDL2_CONFIGURE_WITH= sdl2 SHOW_IPS_DESC= Show IPS in status bar or log file SHOW_IPS_CONFIGURE_ENABLE= show-ips SMP_DESC= Support for SMP configurations (CPU level 6) SMP_CONFIGURE_ENABLE= smp SMP_VARS= WITH_CPU_LEVEL=6 SMP_IMPLIES= FPU SMP_PREVENTS= GDB_STUB STATS_DESC= Statistics collection STATS_CONFIGURE_ENABLE= stats SVGALIB_LIB_DEPENDS= libvga.so:graphics/svgalib SVGALIB_CONFIGURE_WITH= svga SVM_DESC= SVM (AMD: secure virtual machine) emulation SVM_CONFIGURE_ENABLE= svm SVM_VARS= WITH_CPU_LEVEL=6 SVM_IMPLIES= X86_64 TERM_DESC= Use text only, console based interface TERM_CONFIGURE_WITH= term TRACE_LINK_DESC= Support trace linking speedups TRACE_LINK_CONFIGURE_ENABLE= trace-linking UI_DESC= User Interface USB_DESC= USB UHCI support USB_CONFIGURE_ENABLE= usb USB_IMPLIES= PCI USB_OHCI_DESC= USB OHCI support USB_OHCI_CONFIGURE_ENABLE= usb-ohci USB_OHCI_IMPLIES= PCI USB_XHCI_DESC= USB xHCI support (experimental) USB_XHCI_CONFIGURE_ENABLE= usb-xhci USB_XHCI_IMPLIES= PCI VMX_DESC= Virtialization extensions VMX_VARS= WITH_CPU_LEVEL=6 VMX_IMPLIES= FPU VNCSERVER_DESC= LibVNCServer support (works with VNC viewer) VNCSERVER_LIB_DEPENDS= libvncserver.so:net/libvncserver VNCSERVER_CONFIGURE_WITH= vncsrv VOODOO_DESC= 3dfx Voodoo Graphics emulation VOODOO_CONFIGURE_ENABLE= voodoo VOODOO_IMPLIES= PCI WXGTK_USES= compiler:c++11-lib WXGTK_USE= WX=3.0 WXGTK_CONFIGURE_WITH= wx WXGTK_CXXFLAGS_OFF= -fno-rtti WXGTK_CPPFLAGS= $$(pkg-config --cflags gdk-2.0) WXGTK_IMPLIES= X11 X11_USE= XORG=xrandr X11_CONFIGURE_WITH= x11 X86_64_DESC= Support for x86-64 instructions X86_64_CONFIGURE_ENABLE= x86-64 X86_64_VARS= WITH_CPU_LEVEL=6 X86_64_IMPLIES= FPU XPM_USE= XORG=xpm XPM_CONFIGURE_ENABLE= xpm XPM_IMPLIES= X11 .include .if ${PORT_OPTIONS:MDEBUGGER_GUI} && empty(PORT_OPTIONS:MSDL1) && \ empty(PORT_OPTIONS:MSDL2) && empty(PORT_OPTIONS:MX11) IGNORE= option DEBUGGER_GUI requires SDL1, SDL2, or X11 support .endif .if ${PORT_OPTIONS:MGAMEPORT} && empty(PORT_OPTIONS:MES1370) && \ empty(PORT_OPTIONS:MSB16) IGNORE= option GAMEPORT requires SB16 or ES1370 soundcard support .endif .if ${PORT_OPTIONS:MVMX} && ${PORT_OPTIONS:MX86_64} CONFIGURE_ARGS+= --enable-vmx=2 .endif .if ${PORT_OPTIONS:MVMX} && empty(PORT_OPTIONS:MX86_64) CONFIGURE_ARGS+= --enable-vmx=1 .endif .if defined(WITH_CPU_LEVEL) .if ${WITH_CPU_LEVEL} < 3 || ${WITH_CPU_LEVEL} > 6 IGNORE= cannot install: WITH_CPU_LEVEL must be an integer value between 3 and 6 .endif CONFIGURE_ARGS+= --enable-cpu-level=${WITH_CPU_LEVEL} .endif pre-everything:: .if !defined(WITH_CPU_LEVEL) @${ECHO_CMD} @${ECHO_CMD} "If you want to change the processor level to emulate (default is 5, aka Pentium), set WITH_CPU_LEVEL to the desired value. Choices are 3, 4, 5 and 6 which mean target 386, 486, Pentium or Pentium Pro emulation." | ${FMT} @${ECHO_CMD} .endif post-patch: @${REINPLACE_CMD} -e \ '/DEFAULT_GUI=/s|x11|nogui|' \ ${WRKSRC}/configure @${REINPLACE_CMD} -Ee \ 's|$$BXSHARE/|${DATADIR}/|; \ s|^#clock: sync=none|clock: sync=realtime|; \ s|^log: .+|log: /dev/null|; \ s|^panic: .+|panic: action=ask|; \ s|^parport1: .+|#&|' \ ${WRKSRC}/.bochsrc @${REINPLACE_CMD} -Ee \ 's|install_share install_doc|install_share|; \ s|(^sharedir.+=).+|\1 ${DATADIR}|; \ s|(^docdir.+=).+|\1 ${DOCSDIR}|' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -Ee \ 's|(@GUI_.+FLAGS@)$$|\1 @CPPFLAGS@|' \ ${WRKSRC}/bx_debug/Makefile.in @${REINPLACE_CMD} -Ee \ 's|(^LOCAL_CXXFLAGS.+=)|\1 @CPPFLAGS@|; \ s|(-lvgagl)$$|\1 @LDFLAGS@|' \ ${WRKSRC}/gui/Makefile.in post-build: @${LN} -sf .bochsrc ${WRKSRC}/bochsrc-sample.txt post-install: .for f in bochs bxhub bximage ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${f} .endfor post-install-PLUGINS-on: @${FIND} ${STAGEDIR}${PREFIX}/lib/bochs -name "libbx_*.so*" \ -type f -print0 | ${XARGS} -0 ${STRIP_CMD} @${FIND} ${STAGEDIR}${PREFIX}/lib/bochs ! -type d | \ ${SED} 's,^${STAGEDIR}${PREFIX}/,,' >> ${TMPPLIST} @${FIND} ${STAGEDIR}${PREFIX}/lib/bochs -type d -empty | ${SORT} -r | \ ${SED} 's,^${STAGEDIR}${PREFIX}/,@dir ,' >> ${TMPPLIST} post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in CHANGES README TODO bochsrc-sample.txt (cd ${WRKSRC} && ${INSTALL_DATA} ${i} \ ${STAGEDIR}${DOCSDIR}) .endfor (cd ${WRKSRC}/docs-html && ${INSTALL_DATA} *.txt \ ${STAGEDIR}${DOCSDIR}) @${MKDIR} ${STAGEDIR}${DOCSDIR}/html (cd ${WRKSRC}/docs-html && ${INSTALL_DATA} *.html \ ${STAGEDIR}${DOCSDIR}/html) .include diff --git a/emulators/bsvc/Makefile b/emulators/bsvc/Makefile index 1955d4a40151..52b16e561b2f 100644 --- a/emulators/bsvc/Makefile +++ b/emulators/bsvc/Makefile @@ -1,25 +1,23 @@ -# Created by: tenser@spitfire.ecsel.psu.edu - PORTNAME= bsvc DISTVERSIONPREFIX= v DISTVERSION= 2.4.6 CATEGORIES= emulators tk MAINTAINER= cross@gajendra.net COMMENT= Extensible hardware simulation framework with MC68K support LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/../LICENSE.txt USES= compiler:c++11-lang tk gmake USE_GITHUB= yes GH_ACCOUNT= BSVC USE_CSTD= c11 USE_CXXSTD= c++11 WRKSRC_SUBDIR= src MAKEFILE= Makefile.BSD MAKE_ARGS+= WISH=wish${TK_VER} .include diff --git a/emulators/cemu/Makefile b/emulators/cemu/Makefile index 30ce5dfc3ff7..3cbf9b0a826c 100644 --- a/emulators/cemu/Makefile +++ b/emulators/cemu/Makefile @@ -1,43 +1,41 @@ -# Created by: Alexey Dokuchaev - PORTNAME= cemu PORTVERSION= 1.3 DISTVERSIONPREFIX= v PORTREVISION= 1 CATEGORIES= emulators MAINTAINER= danfe@FreeBSD.org COMMENT= TI-84 Plus CE and TI-83 Premium CE calculator emulator LICENSE= GPLv3 LIB_DEPENDS= libpng.so:graphics/png USES= compiler:c++11-lang desktop-file-utils gl libarchive pkgconfig \ qmake qt:5 shared-mime-info USE_GL= gl USE_QT= buildtools_build core gui network widgets USE_GITHUB= yes GH_ACCOUNT= CE-Programming GH_PROJECT= CEmu GH_TUPLE= CE-Programming:zdis:7eb89e5:zdis/core/debug/zdis QMAKE_SOURCE_PATH= gui/qt/CEmu.pro _ICON_PREFIX= ${PREFIX}/share/icons/hicolor post-install: ${LN} -s CEmu ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/gui/qt/resources/linux/${PORTNAME}.desktop \ ${STAGEDIR}${PREFIX}/share/applications @${MKDIR} ${STAGEDIR}${PREFIX}/share/mime/packages ${INSTALL_DATA} ${WRKSRC}/gui/qt/resources/linux/${PORTNAME}.xml \ ${STAGEDIR}${PREFIX}/share/mime/packages .for n in 16 20 22 24 32 36 40 42 48 64 72 96 128 160 192 256 512 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${n}x${n}/apps ${INSTALL_DATA} \ ${WRKSRC}/gui/qt/resources/icons/linux/${PORTNAME}-${n}x${n}.png \ ${STAGEDIR}${_ICON_PREFIX}/${n}x${n}/apps/${PORTNAME}.png .endfor .include diff --git a/emulators/cingb/Makefile b/emulators/cingb/Makefile index 7d94593243dd..68ceff75f984 100644 --- a/emulators/cingb/Makefile +++ b/emulators/cingb/Makefile @@ -1,78 +1,76 @@ -# Created by: Yukihiro Nakai - PORTNAME= cingb DISTVERSIONPREFIX= v DISTVERSION= 0.32 PORTREVISION= 1 CATEGORIES= emulators MAINTAINER= 0mp@FreeBSD.org COMMENT= Yet another Nintendo Game Boy emulator LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING USES= tar:bzip2 xorg USE_XORG= x11 xext xv USE_GITHUB= yes GH_ACCOUNT= nakal MAKE_ENV= X11BASE="${LOCALBASE}" ALL_TARGET= standard LDFLAGS+= -lpthread PLIST_FILES= bin/cingb \ bin/cingb_conf \ man/man6/cingb.6.gz PORTDOCS= README.FAQ README.md OPTIONS_DEFINE= DEBUG DOCS OPTIONS_SUB= yes DEBUG_ALL_TARGET+= debug DEBUG_PLIST_FILES= bin/cingb_deb DEBUG_PORTDOCS= DEBUGGER .include .if ${ARCH} != "sparc64" && ${ARCH} != "powerpc" && ${ARCH} != powerpc64 CPPFLAGS+= -DUSE_LITTLE_ENDIAN .endif do-configure: @cd ${WRKSRC} && ${SED} -e \ 's|%%%endian%%%|$${CPPFLAGS}|g ; \ s|^CFLAGS|#CFLAGS|g ; \ s|%%%prefix-setup%%%||g ; \ s|-I/usr/include -I/usr/include/glide||g ; \ s|-I/usr/include/X11||g ; \ s|%%%pthread%%%|$${LDFLAGS}|g ; \ s|%%%libext%%%|-lXext|g ; \ s|%%%libsocket%%%||g ; \ s|%%%libnsl%%%||g ; \ s|%%%LIBXV%%%|-lXv|g ; \ s|^OPTMZ|#OPTMZ|g ; \ s|%%%joystick%%%|-DBSD_JOYSTICK|g ; \ s|%%%framebuffer%%%||g ; \ s|%%%mitshm%%%|-DMIT_SHM|g ; \ s|%%%XVDEF%%%|-DWITH_XVIDEO|g ; \ s|%%%OSDEF%%%|-D_BSD|g ; \ s|%%%sound%%%|-DSOUND|g ; \ s|%%%joyconf%%%|conf|g' < Makefile.templ > Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/cingb ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/cingb_conf ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/man/freebsd/cingb.6 ${STAGEDIR}${MANPREFIX}/man/man6/ do-install-DEBUG-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/DEBUGGER ${STAGEDIR}${DOCSDIR} ${INSTALL_PROGRAM} ${WRKSRC}/cingb_deb ${STAGEDIR}${PREFIX}/bin do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.FAQ ${STAGEDIR}${DOCSDIR} .include diff --git a/emulators/cpmemu/Makefile b/emulators/cpmemu/Makefile index ef8cf942f318..54fc42c6a3c8 100644 --- a/emulators/cpmemu/Makefile +++ b/emulators/cpmemu/Makefile @@ -1,27 +1,25 @@ -# Created by: janek@gaja.ipan.lublin.pl - PORTNAME= cpmemu PORTVERSION= 0.2.1.1 CATEGORIES= emulators MASTER_SITES= SUNSITE/system/emulators DISTNAME= cpm-0.2.1 PATCH_SITES= SUNSITE/system/emulators PATCHFILES= cpm-0.2.1-glibc-rjm.patch.gz PATCH_DIST_STRIP= -p1 MAINTAINER= ports@FreeBSD.org COMMENT= Cpm emulator ONLY_FOR_ARCHS= i386 USES= compiler .include .if ${COMPILER_TYPE} == "clang" USE_BINUTILS= yes CPPFLAGS+= -no-integrated-as .endif .include diff --git a/emulators/cpmtools/Makefile b/emulators/cpmtools/Makefile index d2c6c0970dba..ce8496b2be48 100644 --- a/emulators/cpmtools/Makefile +++ b/emulators/cpmtools/Makefile @@ -1,19 +1,17 @@ -# Created by: joerg - PORTNAME= cpmtools PORTVERSION= 1.1 PORTREVISION= 1 CATEGORIES= emulators MASTER_SITES= LOCAL/joerg DISTNAME= cpm-${PORTVERSION} MAINTAINER= joerg@FreeBSD.org COMMENT= Utility to transfer files from/to CP/M (R) diskettes WRKSRC= ${WRKDIR}/cpm CFLAGS+= -Wno-return-type CONFLICTS_INSTALL= yaze-ag .include diff --git a/emulators/cpmtools2/Makefile b/emulators/cpmtools2/Makefile index 8b3a09194c5d..23b83145b154 100644 --- a/emulators/cpmtools2/Makefile +++ b/emulators/cpmtools2/Makefile @@ -1,42 +1,40 @@ -# Created by: joerg - PORTNAME= cpmtools2 PORTVERSION= 2.22 CATEGORIES= emulators sysutils MASTER_SITES= http://www.moria.de/~michael/cpmtools/files/ DISTNAME= ${PORTNAME:C/2$//}-${PORTVERSION} MAINTAINER= ak@FreeBSD.org COMMENT= Tools to access CP/M disks and disk images LICENSE= GPLv3 USES= ncurses GNU_CONFIGURE= yes CONFIGURE_ARGS+= --bindir=${PREFIX}/sbin \ --datarootdir=${DATADIR} OPTIONS_DEFINE= LIBDSK LIBDSK_DESC= Access to disks and disk images support LIBDSK_CONFIGURE_ON= --with-libdsk=${LOCALBASE} LIBDSK_CONFIGURE_OFF= --with-libdsk='' LIBDSK_LIB_DEPENDS= libdsk.so:emulators/libdsk # remove unneeded getopt*.c # remove curses from all but fsed.cpm # fixes for stage post-patch: @${REINPLACE_CMD} -e 's|getopt$$(OBJEXT)||g; s|getopt1$$(OBJEXT)||g' \ -e 's|\($$(CC).*fsed.cpm$$(OBJEXT).*$$(DEVICEOBJ)\)|\1 -lncurses|' \ -e '/^CFLAGS=/s|@CFLAGS@|@CFLAGS@ -DDISKDEFS=\\"@datarootdir@/diskdefs\\" -DFORMAT=\\"$$(DEFFORMAT)\\"|' \ -e 's|diskdefs @datarootdir@/diskdefs|diskdefs $$(DESTDIR)@datarootdir@/diskdefs|' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|\(FSED_CPM=fsed.cpm\) LIBS=\"-lcurses $$LIBS\"|\1|' \ ${WRKSRC}/configure pre-install: @${MKDIR} ${STAGEDIR}${DATADIR} .include diff --git a/emulators/darcnes/Makefile b/emulators/darcnes/Makefile index c2c004d87f71..f33189046b55 100644 --- a/emulators/darcnes/Makefile +++ b/emulators/darcnes/Makefile @@ -1,59 +1,57 @@ -# Created by: Yukihiro Nakai - PORTNAME= darcnes PORTVERSION= 9b0401 PORTREVISION= 7 CATEGORIES= emulators MASTER_SITES= http://www.dridus.com/~nyef/darcnes/download/ \ LOCAL/grembo DISTNAME= dn${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Multi-system emulator # Converted from NO_CDROM LICENSE= darcnes-license LICENSE_NAME= darcnes LICENSE_TEXT= Commercial use is restricted LICENSE_PERMS= dist-mirror pkg-mirror auto-accept WRKSRC= ${WRKDIR}/${PORTNAME} USES= gmake tar:tgz MAKE_ARGS= CC="${CC}" TARGET_CC="${CC}" CXX="${CXX}" TARGET_CXX="${CXX}" \ AS="${AS}" TARGET_AS="${CC}" LD="${LD}" TARGET_LD="${CC}" PLIST_FILES= bin/darcnes PORTDOCS= readme OPTIONS_DEFINE= DOCS OPTIONS_SINGLE= BACKEND OPTIONS_SINGLE_BACKEND= X11 SVGALIB OPTIONS_DEFAULT=X11 BACKEND_DESC= GUI backend SVGALIB_LIB_DEPENDS= libvga.so:graphics/svgalib SVGALIB_VARS= MAKE_ARGS+=TARGET=Linux_svgalib X11_USES= xorg X11_USE= XORG=x11,xaw,xext,xmu,xt .include .if ${ARCH} != "i386" || defined(WITHOUT_X86_ASM) MAKE_ARGS+= C_ONLY=-DC_ONLY .else MAKE_ARGS+= MACH_TYPES=-DMACH_TYPES=\\\"types-i386.h\\\" .endif post-patch: @${CP} ${FILESDIR}/endian.h ${WRKSRC} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/darcnes ${STAGEDIR}${PREFIX}/bin do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/readme ${STAGEDIR}${DOCSDIR} .include diff --git a/emulators/dgen-sdl/Makefile b/emulators/dgen-sdl/Makefile index 2643d7bcac32..c42eb229d30d 100644 --- a/emulators/dgen-sdl/Makefile +++ b/emulators/dgen-sdl/Makefile @@ -1,37 +1,35 @@ -# Created by: Maxim Sobolev - PORTNAME= dgen-sdl PORTVERSION= 1.33 PORTREVISION= 5 CATEGORIES= emulators MASTER_SITES= SF/dgen/dgen/${PORTVERSION} MAINTAINER= ak@FreeBSD.org COMMENT= Wonderful Sega Genesis/MegaDrive emulator USE_SDL= sdl USE_GL= glu USES= gl gmake libarchive sdl GNU_CONFIGURE= yes PLIST_FILES= bin/dgen \ bin/dgen_tobin \ man/man1/dgen.1.gz \ man/man1/dgen_tobin.1.gz \ man/man5/dgenrc.5.gz .include .if ${ARCH} == i386 BUILD_DEPENDS+= nasm:devel/nasm .else CONFIGURE_ARGS+= --disable-asm .endif post-patch: @${REINPLACE_CMD} -e '/@NASM@/s/--//' \ ${WRKSRC}/Makefile.in \ ${WRKSRC}/mz80/Makefile.in \ ${WRKSRC}/star/Makefile.in .include diff --git a/emulators/dolphin-emu/Makefile b/emulators/dolphin-emu/Makefile index a612042eca1e..8410e55eafe8 100644 --- a/emulators/dolphin-emu/Makefile +++ b/emulators/dolphin-emu/Makefile @@ -1,98 +1,96 @@ -# Created by: Ganael Laplanche - PORTNAME= dolphin-emu PORTVERSION= 5.0.16795 PORTREVISION= 1 CATEGORIES= emulators MAINTAINER= martymac@FreeBSD.org COMMENT= Gamecube and Wii Emulator LICENSE= BSD3CLAUSE CC0-1.0 GPLv2+ MIT LICENSE_COMB= multi # Notes on dependencies: # - alsa support has been disabled (not optimal) # - enet and soundtouch come from Externals/ as Dolphin's versions diverge # (see comments in CMakeLists.txt) # Various problems that may be addressed in the future: # - xxhash comes from Externals/ as it cannot be properly detected yet # - freesurround comes from Externals/ as it is not available from ports yet # - cubeb comes from Externals/ as it is not available from ports yet # - gtest detection is missing (Externals/ version enforced by CMakeLists.txt) LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libavdevice.so:multimedia/ffmpeg \ libavfilter.so:multimedia/ffmpeg \ libavformat.so:multimedia/ffmpeg \ libavutil.so:multimedia/ffmpeg \ libswresample.so:multimedia/ffmpeg \ libswscale.so:multimedia/ffmpeg \ libfmt.so:devel/libfmt \ libpugixml.so:textproc/pugixml \ libzstd.so:archivers/zstd \ libminizip-ng.so:archivers/minizip-ng \ liblzo2.so:archivers/lzo2 \ libpng.so:graphics/png \ libpulse.so:audio/pulseaudio \ libjack.so:audio/jack \ libsndio.so:audio/sndio \ libsfml-system.so:devel/sfml \ libminiupnpc.so:net/miniupnpc \ libmbedtls.so:security/mbedtls \ libcurl.so:ftp/curl \ libhidapi.so:comms/hidapi \ libxml2.so:textproc/libxml2 USES= cmake compiler:c++17-lang desktop-file-utils gl iconv \ pkgconfig qmake qt:5 sdl xorg # See: https://fr.dolphin-emu.org/download/?ref=btn # for latest beta version and associated commit USE_GITHUB= yes GH_PROJECT= dolphin GH_TAGNAME= 7321802 USE_GL= gl glew glu USE_SDL= sdl2 USE_XORG= ice sm x11 xext xi xrandr USE_QT= buildtools_build core gui widgets # XXX USE_MGBA crashes configure step CMAKE_ARGS+= -DUSE_UPNP:BOOL=ON \ -DENABLE_QT:BOOL=ON \ -DENABLE_ALSA:BOOL=OFF \ -DENABLE_PULSEAUDIO:BOOL=ON \ -DUSE_DISCORD_PRESENCE:BOOL=OFF \ -DENABLE_AUTOUPDATE=OFF \ -DUSE_MGBA=OFF MAKE_ENV+= DESTDIR="${STAGEDIR}" # XXX Fix build on archs where 'unsigned long' is 32bit CXXFLAGS+= -DLZO_CFG_PREFER_TYPEOF_ACC_INT32E_T=LZO_TYPEOF_INT # Bypass git check (and set a dummy -unused- revision) CMAKE_ARGS+= -DDOLPHIN_WC_BRANCH:STRING="stable" \ -DDOLPHIN_WC_REVISION:STRING="1" OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CMAKE_ON= -DDISABLE_NLS:BOOL=OFF NLS_CMAKE_OFF= -DDISABLE_NLS:BOOL=ON .include # JIT-enabled binaries are amd64 and aarch64 only .if ${ARCH} != "amd64" && ${ARCH} != "aarch64" CMAKE_ARGS+= -DENABLE_GENERIC:BOOL=ON .endif .if ${CHOSEN_COMPILER_TYPE:Mclang} CMAKE_ARGS+= -DENABLE_LLVM:BOOL=ON \ -DLLVM_DIR=${LOCALBASE}/llvm${LLVM_DEFAULT}/lib/cmake/llvm LIB_DEPENDS+= libLLVM-${LLVM_DEFAULT:C/^([6-9])0/\1/}.so:devel/llvm${LLVM_DEFAULT} .else CMAKE_ARGS+= -DENABLE_LLVM:BOOL=OFF .endif .include diff --git a/emulators/dosbox/Makefile b/emulators/dosbox/Makefile index 56ff9ff33d28..66b4cdcb3833 100644 --- a/emulators/dosbox/Makefile +++ b/emulators/dosbox/Makefile @@ -1,48 +1,46 @@ -# Created by: Tom Carrick - PORTNAME= dosbox DISTVERSION= 0.74-3 PORTREVISION= 1 CATEGORIES= emulators MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTVERSION} MAINTAINER= knyght@gmail.com COMMENT= Emulator of a PC with DOS LICENSE= GPLv2 LIB_DEPENDS= libpng.so:graphics/png USES= cpe sdl GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-core-inline USE_SDL= sdl net sound PLIST_FILES= bin/dosbox man/man1/dosbox.1.gz share/pixmaps/dosbox.ico PORTDOCS= NEWS README DESKTOP_ENTRIES="DOSBox" "${COMMENT}" \ "${PREFIX}/share/pixmaps/dosbox.ico" "dosbox" \ "System;Emulator;" true OPTIONS_DEFINE= DOCS OPTIONS_RADIO= DEBUGGER OPTIONS_RADIO_DEBUGGER=DEBUGGER_ENABLE DEBUGGER_HEAVY DEBUGGER_ENABLE_DESC=Enable internal debugger DEBUGGER_HEAVY_DESC=Enable internal debugger with extra features DEBUGGER_ENABLE_CONFIGURE_ON= --enable-debug=yes DEBUGGER_HEAVY_CONFIGURE_ON= --enable-debug=heavy post-patch: @${REINPLACE_CMD} -e 's#\/usr\/share\/doc\/dosbox#${DOCSDIR}#g' \ ${WRKSRC}/docs/dosbox.1 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/dosbox ${STAGEDIR}${PREFIX}/bin/dosbox ${INSTALL_DATA} ${WRKSRC}/src/dosbox.ico ${STAGEDIR}${PREFIX}/share/pixmaps/ ${INSTALL_MAN} ${WRKSRC}/docs/dosbox.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/ @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/emulators/dynamips-community/Makefile b/emulators/dynamips-community/Makefile index bdb227650aea..47a877250b01 100644 --- a/emulators/dynamips-community/Makefile +++ b/emulators/dynamips-community/Makefile @@ -1,61 +1,59 @@ -# Created by: Pavel I Volkov - PORTNAME= dynamips PORTVERSION= 0.2.17 DISTVERSIONPREFIX= v CATEGORIES= emulators PKGNAMESUFFIX= -community MAINTAINER= pavelivolkov@gmail.com COMMENT= Cisco 1700/2600/3600/3700/7200 Simulator LICENSE= GPLv2 BROKEN_riscv64= fails to compile: common/dynamips_common.h:71:2: Please define your architecture! BROKEN_sparc64= fails to compile: invokes x86 assembler LIB_DEPENDS= libelf.so:devel/libelf CFLAGS+= -I${PREFIX}/include/libelf CONFLICTS= dynamips dynamips-devel USES= cmake:insource USE_GITHUB= yes OPTIONS_DEFINE= DOCS MAKE_JOBS_UNSAFE= yes GH_ACCOUNT= GNS3 CMAKE_ARGS+= -DDYNAMIPS_CODE=${DYNAMIPS_CODE} -DDYNAMIPS_ARCH=${DYNAMIPS_ARCH} .include PLIST_FILES= bin/${PORTNAME} bin/nvram_export \ man/man1/${PORTNAME}.1.gz man/man1/nvram_export.1.gz \ man/man7/hypervisor_mode.7.gz PORTDOCS= * DYNAMIPS_CODE= stable .if ${OPSYS} == FreeBSD DYNAMIPS_ARCH= nojit .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${DYNAMIPS_CODE}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/${DYNAMIPS_CODE}/nvram_export ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/man/nvram_export.1 ${STAGEDIR}${MANPREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/man/hypervisor_mode.7 ${STAGEDIR}${MANPREFIX}/man/man7 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in README.md README.hypervisor RELEASE-NOTES ChangeLog MAINTAINERS ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/emulators/emu64/Makefile b/emulators/emu64/Makefile index 1e680bad8d02..6494c41e6324 100644 --- a/emulators/emu64/Makefile +++ b/emulators/emu64/Makefile @@ -1,31 +1,29 @@ -# Created by: Felix Palmen - PORTNAME= emu64 PORTVERSION= 5.0.19 PORTREVISION= 1 CATEGORIES= emulators MAINTAINER= felix@palmen-it.de COMMENT= Commodore 64 emulator LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libquazip1-qt5.so:archivers/quazip \ libpng.so:graphics/png \ libavcodec.so:multimedia/ffmpeg USES= compiler:c++11-lang desktop-file-utils dos2unix gl pkgconfig \ qmake:outsource qt:5 sdl USE_GL= gl glu USE_QT= core gui widgets buildtools_build linguisttools_build DOS2UNIX_FILES= src/widget_file_browse.h USE_SDL= sdl2 image2 USE_GITHUB= yes GH_ACCOUNT= ThKattanek OPTIONS_DEFINE= DOCS .include diff --git a/emulators/fmsx/Makefile b/emulators/fmsx/Makefile index 18db294092dc..2dfe97a28e71 100644 --- a/emulators/fmsx/Makefile +++ b/emulators/fmsx/Makefile @@ -1,60 +1,58 @@ -# Created by: dk - PORTNAME= fmsx PORTVERSION= 6.0 CATEGORIES= emulators MASTER_SITES= http://fms.komkon.org/fMSX/:code \ http://fms.komkon.org/fMSX/src/:rom DISTFILES= fMSX${PORTVERSION:C/\.//}.zip:code \ MSX.ROM:rom MSX2.ROM:rom MSX2EXT.ROM:rom MSX2P.ROM:rom \ MSX2PEXT.ROM:rom FMPAC.ROM:rom DISK.ROM:rom MSXDOS2.ROM:rom \ PAINTER.ROM:rom KANJI.ROM:rom DIST_SUBDIR= fmsx5 EXTRACT_ONLY= fMSX${PORTVERSION:C/\.//}.zip MAINTAINER= ports@FreeBSD.org COMMENT= Portable MSX/MSX2/MSX2+ Emulator LICENSE= UNKNOWN LICENSE_NAME= unknown LICENSE_TEXT= This program is NOT in public domain.\ It can be freely distributed for non-commercial purposes only. \ Legal status of distributed ROM images is unclear. LICENSE_PERMS= none USES= dos2unix gmake xorg zip USE_XORG= x11 xext DOS2UNIX_FILES= EMULib/Unix/LibUnix.c EMULib/Unix/NetUnix.c EMULib/Rules.gcc \ EMULib/Rules.Unix fMSX/fMSX.html CFLAGS+= -fcommon NO_WRKSUBDIR= yes SUB_FILES= ${PORTNAME} BUILD_WRKSRC= ${WRKSRC}/fMSX/Unix OPTIONS_DEFINE= DOCS PULSEAUDIO OPTIONS_SINGLE= BPP OPTIONS_SINGLE_BPP= BPP8 BPP16 BPP24 BPP32 OPTIONS_DEFAULT= BPP32 BPP8_DESC= With BPP8 BPP16_DESC= With BPP16 BPP24_DESC= With BPP24 BPP32_DESC= With BPP32 (see pkg-message) BPP8_CFLAGS= -DBPP8 BPP16_CFLAGS= -DBPP16 BPP24_CFLAGS= -DBPP24 BPP32_CFLAGS= -DBPP32 PULSEAUDIO_CFLAGS= -DPULSE_AUDIO PULSEAUDIO_LIB_DEPENDS= libpulse-simple.so:audio/pulseaudio PULSEAUDIO_LIBS= -lpulse-simple do-install: ${INSTALL_SCRIPT} ${WRKDIR}/fmsx ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/fMSX/Unix/fmsx ${STAGEDIR}${PREFIX}/libexec/fmsx @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/*.ROM ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/fMSX/*.html ${STAGEDIR}${DOCSDIR} .include diff --git a/emulators/fs-uae-launcher/Makefile b/emulators/fs-uae-launcher/Makefile index a3018a051a0b..959bc513f6ac 100644 --- a/emulators/fs-uae-launcher/Makefile +++ b/emulators/fs-uae-launcher/Makefile @@ -1,30 +1,28 @@ -# Created by: Uffe Jakobsen - PORTNAME= fs-uae-launcher PORTVERSION= 3.0.5 PORTREVISION= 4 CATEGORIES= emulators MASTER_SITES= https://fs-uae.net/stable/${PORTVERSION}/ MAINTAINER= ports@FreeBSD.org COMMENT= GUI launcher for the FS-UAE Amiga emulator LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-lhafile>0:archivers/py-python-lhafile@${PY_FLAVOR} USES= gettext gmake gnome pathfix pyqt:5 python:3.4+ USE_PYTHON= distutils autoplist noflavors USE_PYQT= pyqt5 sip MAKE_ARGS+= DESTDIR=${STAGEDIR} prefix=${PREFIX} PYTHON=${PYTHON_CMD} PYDISTUTILS_INSTALLARGS+= --install-lib=${PYTHON_SITELIBDIR} OPTIONS_DEFINE= DOCS .include diff --git a/emulators/fs-uae/Makefile b/emulators/fs-uae/Makefile index 2f15f907a4c8..ae102cecf857 100644 --- a/emulators/fs-uae/Makefile +++ b/emulators/fs-uae/Makefile @@ -1,52 +1,50 @@ -# Created by: Danilo Egea Gondolfo - PORTNAME= fs-uae PORTVERSION= 3.1.35 CATEGORIES= emulators MASTER_SITES= http://fs-uae.net/stable/${PORTVERSION}/ MAINTAINER= sirdice@gmail.com COMMENT= Amiga emulator LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= zip:archivers/zip LIB_DEPENDS= libmpeg2.so:multimedia/libmpeg2 \ libopenal.so:audio/openal-soft \ libpng.so:graphics/png USES= compiler:c11 desktop-file-utils gettext gl gmake gnome \ localbase pkgconfig sdl shared-mime-info xorg USE_SDL= sdl2 USE_GL= gl USE_GNOME= glib20 USE_XORG= x11 GNU_CONFIGURE= yes CFLAGS+= -Wno-c++11-narrowing LDFLAGS_i386= -Wl,-znotext OPTIONS_DEFINE= DOCS DEBUG OPTIONS_DEFINE_i386= JIT OPTIONS_DEFINE_amd64= JIT JIT_DESC= Enable JIT compiler (experimental) JIT_CONFIGURE_ENABLE= jit .include # JIT is not supported on non-x86 make sure it's off .if ${ARCH} != amd64 && ${ARCH} != i386 CONFIGURE_ARGS+= --disable-jit .endif post-patch: @${REINPLACE_CMD} -e 's|= bind|= ::bind|' \ ${WRKSRC}/src/od-fs/bsdsocket_posix.cpp \ ${WRKSRC}/src/support/socket.cpp @${REINPLACE_CMD} -e 's|return NULL|return 0|' \ ${WRKSRC}/src/memory.cpp .include diff --git a/emulators/fuse-roms/Makefile b/emulators/fuse-roms/Makefile index c9f263fb07e5..cdcc16833526 100644 --- a/emulators/fuse-roms/Makefile +++ b/emulators/fuse-roms/Makefile @@ -1,46 +1,44 @@ -# Created by: Vladimir Kondratiev - PORTNAME= fuse-roms PORTVERSION= 0.9.0 PORTREVISION= 3 CATEGORIES= emulators MASTER_SITES= ftp://ftp.pbone.net/mirror/rpmfusion.org/${FC_SUBDIR}/:1 \ https://gitlab.com/menelkir/fuseroms/-/raw/main/fuse/:2 DISTFILES= fuse-emulator-roms-${PORTVERSION}-${FCREV}.fc${FCVER}.noarch.rpm:1 \ opus.rom:2 EXTRACT_ONLY= fuse-emulator-roms-${PORTVERSION}-${FCREV}.fc${FCVER}.noarch.rpm MAINTAINER= rene@FreeBSD.org COMMENT= Spectrum ROM files, for use with the Fuse emulator LICENSE= NONE # No explicit permission to redistribute FCREV= 16 FCVER= 35 FC_SUBDIR= nonfree/fedora/releases/${FCVER}/Everything/x86_64/os/Packages/f NO_ARCH= yes NO_BUILD= yes DATADIR= ${PREFIX}/share/fuse ROMS= 128p-0.rom 128p-1.rom 256s-0.rom 256s-1.rom 256s-2.rom \ 256s-3.rom gluck.rom if1-1.rom if1-2.rom opus.rom trdos.rom PLIST_FILES= ${ROMS:S|^|${DATADIR_REL}/|} OPTIONS_DEFINE= DOCS DOCS_PLIST_FILES=${DOCSDIR_REL}/rom-distribution.txt post-extract: ${CP} ${DISTDIR}/opus.rom ${WRKDIR}/usr/share/fuse/ do-install: ${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKDIR}/usr/share/fuse && \ ${INSTALL_DATA} ${ROMS} ${STAGEDIR}${DATADIR}) do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKDIR}/usr/share/doc/fuse-emulator-roms && \ ${INSTALL_DATA} rom-distribution.txt ${STAGEDIR}${DOCSDIR}) .include diff --git a/emulators/fuse/Makefile b/emulators/fuse/Makefile index 068c6ac11297..568fb89b9b68 100644 --- a/emulators/fuse/Makefile +++ b/emulators/fuse/Makefile @@ -1,77 +1,75 @@ -# Created by: Alexey V. Antipovsky - PORTNAME= fuse PORTVERSION= 1.6.0 PORTREVISION= 2 CATEGORIES= emulators MASTER_SITES= SF/${PORTNAME}-emulator/${PORTNAME}/${PORTVERSION} MAINTAINER= rene@FreeBSD.org COMMENT= Free Unix (Sinclair ZX-)Spectrum Emulator LICENSE= GPLv2 LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgcrypt.so:security/libgcrypt \ libpng.so:graphics/png \ libspectrum.so:emulators/libspectrum USES= compiler:c++11-lang gettext gmake gnome localbase perl5 \ pkgconfig xorg USE_PERL5= build USE_GNOME= libxml2 glib20 USE_XORG= x11 GNU_CONFIGURE= yes CONFIGURE_ARGS+=--without-joystick # TODO needs libjsw for GTK OPTIONS_DEFINE= ICONS ROMS DOCS OPTIONS_DEFAULT= ICONS OSS GTK3 OPTIONS_SINGLE= AUDIO UI AUDIO_DESC= Audio output interface UI_DESC= User Interface ROMS_DESC= Extra ROM images (128p, 256s, Gluck, IF1, Opus, TrDOS) OPTIONS_SINGLE_AUDIO= ALSA AO OSS PULSEAUDIO OPTIONS_SINGLE_UI= GTK2 GTK3 SDL SVGALIB OPTIONS_SUB= yes ALSA_CONFIGURE_ON= --with-audio-driver=alsa ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib AO_CONFIGURE_ON= --with-audio-driver=libao AO_LIB_DEPENDS= libao.so:audio/libao OSS_CONFIGURE_ON= --with-audio-driver=oss PULSEAUDIO_CONFIGURE_ON=--with-audio-driver=pulseaudio PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio ICONS_USES= desktop-file-utils shared-mime-info ICONS_CONFIGURE_ENABLE= desktop-integration GTK2_USE= GNOME=cairo,gtk20 GTK2_CONFIGURE_ON= --disable-gtk3 GTK3_USE= GNOME=cairo,gtk30 GTK3_CONFIGURE_ENABLE= gtk3 SDL_USES= sdl SDL_USE= SDL=sdl2 SDL_CONFIGURE_WITH= sdl SDL_CONFIGURE_ON= --without-gtk SVGALIB_LIB_DEPENDS= libvga.so:graphics/svgalib SVGALIB_CONFIGURE_WITH= svgalib SVGALIB_CONFIGURE_ON= --without-gtk ROMS_RUN_DEPENDS= fuse-roms>0:emulators/fuse-roms PORTDOCS= AUTHORS ChangeLog README THANKS README.copyright .include .if ${PORT_OPTIONS:MICONS} .endif post-extract: ${CP} ${WRKSRC}/roms/README.copyright ${WRKSRC} post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/emulators/gbe/Makefile b/emulators/gbe/Makefile index a81d059446dd..2142ec397da8 100644 --- a/emulators/gbe/Makefile +++ b/emulators/gbe/Makefile @@ -1,26 +1,24 @@ -# Created by: Yukihiro Nakai - PORTNAME= gbe PORTVERSION= 0.0.22 PORTREVISION= 3 CATEGORIES= emulators MASTER_SITES= http://www.zophar.net/fileuploads/1/468dreaj/ \ ftp://ftp.canadatux.org/videogames/ MAINTAINER= ports@FreeBSD.org COMMENT= Nintendo GameBoy(tm) emulator with GNU source code WRKSRC= ${WRKDIR}/${PORTNAME} USES= xorg USE_XORG= x11 PLIST_FILES= bin/gbe CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib do-install: ${INSTALL_PROGRAM} ${WRKSRC}/gbe ${STAGEDIR}${PREFIX}/bin .include diff --git a/emulators/gens/Makefile b/emulators/gens/Makefile index b2bc739f2809..f28e097089ad 100644 --- a/emulators/gens/Makefile +++ b/emulators/gens/Makefile @@ -1,41 +1,39 @@ -# Created by: Travis Poppe - PORTNAME= gens PORTVERSION= 2.15.5 PORTREVISION= 4 CATEGORIES= emulators MASTER_SITES= SF/${PORTNAME}/Gens%20Source%20Code/Gens%20${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Sega Genesis/CD/32X emulator LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= nasm:devel/nasm ONLY_FOR_ARCHS= i386 ONLY_FOR_ARCHS_REASON= uses i386 assembly code USES= gl gmake gnome localbase pkgconfig sdl USE_GNOME= gtk20 USE_GL= gl USE_SDL= sdl GNU_CONFIGURE= yes DESKTOP_ENTRIES="Gens" "" "${DATADIR}/gens_small.png" "${PORTNAME}" "" "" OPTIONS_DEFINE= DOCS post-patch: .for i in gens_core/sound/ym2612.h mp3_dec/mpg123.h @${REINPLACE_CMD} -e \ 's|\(^#define INLINE\).*|\1 static inline|' \ ${WRKSRC}/src/gens/${i} .endfor post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include diff --git a/emulators/gngb/Makefile b/emulators/gngb/Makefile index fae8e2017b3e..86dc524fd179 100644 --- a/emulators/gngb/Makefile +++ b/emulators/gngb/Makefile @@ -1,35 +1,33 @@ -# Created by: Yukihiro Nakai - PORTNAME= gngb PORTVERSION= 20060309 PORTREVISION= 10 CATEGORIES= emulators MASTER_SITES= http://m.peponas.free.fr/gngb/download/ MAINTAINER= ports@FreeBSD.org COMMENT= GameBoy(tm) emulator LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING USES= gmake localbase sdl USE_CSTD= gnu89 USE_SDL= sdl GNU_CONFIGURE= yes PLIST_FILES= bin/gngb \ man/man1/gngb.1.gz OPTIONS_DEFINE= OPENGL OPENGL_USES= gl OPENGL_USE= GL=gl OPENGL_CONFIGURE_ENABLE=gl post-patch: @${REINPLACE_CMD} -e \ 's|"$$SDL_CONFIG" = yes|-n "$$SDL_CONFIG"|g ; \ s|sdl-config |$$SDL_CONFIG |g ; \ s|$$OPT||g' ${WRKSRC}/configure .include diff --git a/emulators/gngeo/Makefile b/emulators/gngeo/Makefile index 53e330197399..ff2300bc8d6e 100644 --- a/emulators/gngeo/Makefile +++ b/emulators/gngeo/Makefile @@ -1,91 +1,89 @@ -# Created by: Alejandro Pulver - PORTNAME= gngeo PORTVERSION= 0.8 DISTVERSIONPREFIX= ${PORTNAME}_ PORTREVISION= 5 CATEGORIES= emulators MASTER_SITES= LOCAL/acm/${PORTNAME} MAINTAINER= acm@FreeBSD.org COMMENT= NeoGeo emulator LICENSE= GPLv2 BROKEN_FreeBSD_13= ld: error: duplicate symbol: current_fix BROKEN_FreeBSD_14= ld: error: duplicate symbol: current_fix BROKEN_i386= unknown argument: '-frerun-loop-opt' USES= autoreconf compiler:features gl gmake sdl USE_SDL= image sdl USE_GL= yes USE_GITHUB= yes GH_ACCOUNT= pepone42 GNU_CONFIGURE= yes CONFIGURE_ARGS= --program-transform-name="" --disable-gp2x MAKE_JOBS_UNSAFE= yes CPPFLAGS+= ${CFLAGS} `${SDL_CONFIG} --cflags` -I${LOCALBASE}/include LDFLAGS+= `${SDL_CONFIG} --libs` -L${LOCALBASE}/lib USE_CSTD= gnu89 MAKE_ARGS+= CC_FOR_BUILD=${CC} SUB_FILES= pkg-message OPTIONS_DEFINE_i386= ASM RAZE STAR OPTIONS_DEFAULT_i386= ASM RAZE_DESC= Use Raze as z80 emulator (broken) STAR_DESC= Use Starscream as 68k emulator (broken) .include .if ${PORT_OPTIONS:MI386ASM} || ${PORT_OPTIONS:MRAZE} || \ ${PORT_OPTIONS:MSTAR} BUILD_DEPENDS+= nasm:devel/nasm .endif .if ${PORT_OPTIONS:MI386ASM} CONFIGURE_ARGS+= --enable-i386asm .else CONFIGURE_ARGS+= --disable-i386asm .endif .if ${PORT_OPTIONS:MRAZE} CONFIGURE_ARGS+= --with-z80core=raze BROKEN= fails to link .else CONFIGURE_ARGS+= --with-z80core=mamez80 .endif .if ${PORT_OPTIONS:MSTAR} CONFIGURE_ARGS+= --with-m68kcore=starscream BROKEN= fails to link .else CONFIGURE_ARGS+= --with-m68kcore=gen68k .endif post-patch: @${REINPLACE_CMD} -e 's|x86_64|amd64|' ${WRKSRC}/configure .if ${COMPILER_TYPE} == "clang" @${REINPLACE_CMD} -e 's|-frerun-loop-opt||; \ s|-falign-jumps=2||; s|-falign-loops=2||; \ s|-fschedule-insns2||; s|-malign-double||; \ s|-frerun-loop-opt||; s|-O3||' \ ${WRKSRC}/configure .endif @${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|' \ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} \ ${WRKSRC}/src/generator68k/Makefile.in pre-configure: @cd ${WRKSRC} && ${AUTORECONF} -i post-install: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/sample_gngeorc ${STAGEDIR}${EXAMPLESDIR}/gngeorc ${INSTALL_DATA} ${WRKSRC}/romrc ${STAGEDIR}${DATADIR}/romrc ${INSTALL_DATA} ${WRKSRC}/gngeo.dat/gngeo_data.zip ${STAGEDIR}${DATADIR}/gngeo_data.zip .include diff --git a/emulators/gxemul/Makefile b/emulators/gxemul/Makefile index 753b69e1c816..c510dfb9973f 100644 --- a/emulators/gxemul/Makefile +++ b/emulators/gxemul/Makefile @@ -1,44 +1,42 @@ -# Created by: Janni - PORTNAME= gxemul PORTVERSION= 0.7.0 CATEGORIES= emulators MASTER_SITES= http://gavare.se/gxemul/src/ MAINTAINER= mclay@astate.edu COMMENT= Instruction-level machine emulator LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE HAS_CONFIGURE= yes CONFIGURE_ENV= CXX=${CXX} \ LOCALBASE=${LOCALBASE} \ PREFIX=${PREFIX} # Avoid auto-detecting Doxygen. We do not need source code documentation. # The handbook is quite comprehensive already. BINARY_ALIAS= doxygen=${FALSE} PLIST_FILES= bin/gxemul \ man/man1/gxemul.1.gz PORTDOCS= * OPTIONS_DEFINE= DOCS X11 OPTIONS_DEFAULT= X11 X11_RUN_DEPENDS= xterm:x11/xterm X11_USES= xorg X11_USE= XORG=x11 X11_CONFIGURE_OFF= --disable-x do-install: ${INSTALL_PROGRAM} ${WRKSRC}/gxemul ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/man/gxemul.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} @cd ${WRKSRC}/doc && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} .include diff --git a/emulators/hatari/Makefile b/emulators/hatari/Makefile index f5a2385efb33..75d26e70e535 100644 --- a/emulators/hatari/Makefile +++ b/emulators/hatari/Makefile @@ -1,68 +1,66 @@ -# Created by: Michael Neumann - PORTNAME= hatari PORTVERSION= 2.3.1 CATEGORIES= emulators MASTER_SITES= http://download.tuxfamily.org/hatari/${PORTVERSION}/ MAINTAINER= egypcio@FreeBSD.org COMMENT= Atari ST emulator LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/gpl.txt BROKEN_armv6= fails to configure: CMake Error: Generator: execution of make failed LIB_DEPENDS= libportaudio.so:audio/portaudio \ libpng.so:graphics/png USES= cmake desktop-file-utils gnome python:3.6+ readline \ sdl shared-mime-info shebangfix tar:bzip2 xorg USE_GNOME= gtk30 USE_XORG= sm ice x11 xext SHEBANG_FILES= python-ui/*.py tools/*.py \ tools/debugger/*.py tools/hconsole/*.py CMAKE_ARGS= -DETCDIR:PATH="${PREFIX}/etc" \ -DMANDIR:PATH="man/man1" \ -DREADLINE_FOUND:BOOL=ON OPTIONS_DEFINE= DEBUG DOCS SDL2 WINUAE DEBUG_CFLAGS_OFF= -DNDEBUG SDL2_DESC= Use SDL2 libraries instead of SDL 1.2 SDL2_USES= iconv SDL2_USE= sdl=sdl2 SDL2_USE_OFF= sdl=sdl SDL2_CMAKE_BOOL= ENABLE_SDL2 SDL2_CFLAGS= -I${ICONV_INCLUDE_PATH} WINUAE_DESC= Build with WinUAE CPU core WINUAE_CMAKE_BOOL= ENABLE_WINUAE_CPU post-patch: .for i in doc/*.1 python-ui/*.1 tools/*.1 tools/debugger/*.1 tools/hconsole/*.1 tools/hmsa/*.1 @${REINPLACE_CMD} -e \ 's|^/etc/hatari.cfg .*|${PREFIX}/etc/hatari.cfg| ; \ s|/usr/share|${PREFIX}/share|' ${WRKSRC}/${i} .endfor @${REINPLACE_CMD} -e \ 's|-Wno-maybe-uninitialized||' ${WRKSRC}/src/cpu/CMakeLists.txt @${REINPLACE_CMD} -e \ 's|%%PYTHON_CMD%%|${PYTHON_CMD}| ; \ s|%%PYTHON_VERSION%%|${PYTHON_VERSION}|' ${WRKSRC}/tools/atari-hd-image.sh post-install: ${MKDIR} ${STAGEDIR}${MANPREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${STAGEDIR}${MANPREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/python-ui/*.1 ${STAGEDIR}${MANPREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/tools/*.1 ${STAGEDIR}${MANPREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/tools/debugger/*.1 ${STAGEDIR}${MANPREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/tools/hconsole/*.1 ${STAGEDIR}${MANPREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/tools/hmsa/*.1 ${STAGEDIR}${MANPREFIX}/man/man1 post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${STAGEDIR}${DOCSDIR} .include diff --git a/emulators/hercules/Makefile b/emulators/hercules/Makefile index 11361342f0e4..69d8b7cd0a69 100644 --- a/emulators/hercules/Makefile +++ b/emulators/hercules/Makefile @@ -1,36 +1,34 @@ -# Created by: Miguel Mendez - PORTNAME= hercules PORTVERSION= 3.13 CATEGORIES= emulators MASTER_SITES= http://downloads.hercules-390.eu/ MAINTAINER= ports@FreeBSD.org COMMENT= System/370, ESA/390, and z/Architecture Emulator LICENSE= QPL LICENSE_NAME= Q PUBLIC LICENSE version 1.0 LICENSE_TEXT= Please refer to: http://www.hercules-390.org/herclic.html for details LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept # :keepla because port uses lt_dlopen USES= iconv libtool:keepla perl5 shebangfix SHEBANG_FILES= util/bldlvlck USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-optimization INSTALL_TARGET= install-strip OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e \ 's|SOL_TCP|IPPROTO_TCP|g' ${WRKSRC}/hscutl.c @${REINPLACE_CMD} \ -e '/herclin_LDADD =/s/$$/ libhercu.la libhercd.la/' \ -e '/hercules_LDADD =/s/$$/ libhercu.la libhercd.la/' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e \ '/^pkgdatadir/s|=.*|= $$(docdir)|' ${WRKSRC}/html/Makefile.in .include diff --git a/emulators/higan/Makefile b/emulators/higan/Makefile index 39e50a90f1c8..becdc1bbf050 100644 --- a/emulators/higan/Makefile +++ b/emulators/higan/Makefile @@ -1,100 +1,98 @@ -# Created by: elbarto - PORTNAME= higan PORTVERSION= 106 PORTREVISION= 9 CATEGORIES= emulators games MASTER_SITES= http://download.byuu.org/ \ http://www.cyberbotx.com/higan/ DISTNAME= ${PORTNAME}_v${PORTVERSION}-source MAINTAINER= cyberbotx@cyberbotx.com COMMENT= Nintendo multi-system emulator ONLY_FOR_ARCHS= amd64 i386 powerpc powerpc64 powerpc64le LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES= 7z compiler:c++14-lang gettext gmake gnome pkgconfig xorg USE_GNOME= cairo gdkpixbuf2 gtk20 gtksourceview2 USE_XORG= x11 xext USE_CSTD= c99 USE_CXXSTD= c++14 USE_GCC= yes MAKEFILE= GNUmakefile MAKE_ENV= compiler="${CXX}" hiro="gtk" OPTIONS_DEFINE= DEBUG OPTIONS_MULTI= VIDEO SOUND INPUT OPTIONS_MULTI_VIDEO= GLX SDL XSHM XV OPTIONS_MULTI_SOUND= AO OPENAL OSS PULSEAUDIO OPTIONS_MULTI_INPUT= INPUT_SDL INPUT_X OPTIONS_DEFAULT= GLX XSHM XV SDL \ OSS INPUT_SDL INPUT_X XSHM_DESC= Build XShm video driver XV_DESC= Build Xv video driver INPUT_SDL_DESC= Build SDL input driver INPUT_X_DESC= Build X input driver GLX_USES= gl GLX_USE= GL=gl GLX_VARS= VIDEO_DRIVER+=video.glx SDL_USES= sdl SDL_USE= XORG=xv SDL=sdl SDL_VARS= VIDEO_DRIVER+=video.sdl XSHM_USE= XORG=xext XSHM_VARS= VIDEO_DRIVER+=video.xshm XV_USE= XORG=xv XV_VARS= VIDEO_DRIVER+=video.xvideo AO_LIB_DEPENDS= libao.so:audio/libao AO_VARS= AUDIO_DRIVER+=audio.ao OPENAL_USES= openal:al OPENAL_VARS= AUDIO_DRIVER+=audio.openal OSS_VARS= AUDIO_DRIVER+=audio.oss PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_VARS= AUDIO_DRIVER+=audio.pulseaudio INPUT_SDL_USES= sdl INPUT_SDL_USE= SDL=sdl INPUT_SDL_VARS= INPUT_DRIVER+=input.sdl INPUT_X_VARS= INPUT_DRIVER+=input.xlib post-patch: ${REINPLACE_CMD} \ -e 's|%%VIDEO%%|${VIDEO_DRIVER}|' \ -e 's|%%AUDIO%%|${AUDIO_DRIVER}|' \ -e 's|%%INPUT%%|${INPUT_DRIVER}|' \ ${WRKSRC}/higan/target-tomoko/GNUmakefile ${REINPLACE_CMD} -e 's|/usr/share/|${PREFIX}/share/|' \ ${WRKSRC}/nall/path.hpp post-patch-DEBUG-on: ${REINPLACE_CMD} -e 's|-O3|-g|g' \ ${WRKSRC}/higan/GNUmakefile \ ${WRKSRC}/icarus/GNUmakefile do-build: .for d in higan icarus @${DO_MAKE_BUILD} ${ALL_TARGET} -C${WRKSRC}/${d} .endfor do-install: ${INSTALL_PROGRAM} ${WRKSRC}/higan/out/higan ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_PROGRAM} ${WRKSRC}/icarus/out/icarus ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_DATA} ${WRKSRC}/higan/data/higan.png ${STAGEDIR}${PREFIX}/share/pixmaps/ ${INSTALL_DATA} ${WRKSRC}/higan/data/higan.desktop ${STAGEDIR}${PREFIX}/share/applications/ (cd ${WRKSRC}/higan/systems && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/) (cd ${WRKSRC}/icarus/Database && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/icarus/Database/) .include diff --git a/emulators/hugo/Makefile b/emulators/hugo/Makefile index 8e58a12aaf8c..a32e9ef46817 100644 --- a/emulators/hugo/Makefile +++ b/emulators/hugo/Makefile @@ -1,66 +1,64 @@ -# Created by: Li-Lun Wang - PORTNAME= hugo PORTVERSION= 2.12 PORTREVISION= 16 CATEGORIES= emulators MASTER_SITES= http://www.zeograd.com/download/ \ http://www.sourcefiles.org/Emulators/Videogames/ MAINTAINER= ports@FreeBSD.org COMMENT= PC Engine (TurboGrafx 16) emulator LICENSE= BSD3CLAUSE GPLv2 LICENSE_COMB= multi LIB_DEPENDS= libargp.so:devel/argp-standalone OPTIONS_DEFINE= GTK2 DOCS NETPLAY SDL_MIXER OPTIONS_DEFAULT=GTK2 OPTIONS_SUB= yes NETPLAY_DESC= Netplay support SDL_MIXER_DESC= SDL_mixer support USES= gmake pkgconfig sdl USE_SDL= sdl USE_CSTD= gnu89 GNU_CONFIGURE= yes CFLAGS+= -Wno-return-type CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFLICTS_INSTALL= gohugo .include .if empty(PORT_OPTIONS:MGTK2) && ${PORT_OPTIONS:MNETPLAY} IGNORE= NETPLAY support requires GTK2 support .endif .if ${PORT_OPTIONS:MGTK2} LIB_DEPENDS+= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 USES+= gnome USE_GNOME= gtk20 cairo gdkpixbuf2 .else CONFIGURE_ARGS+= --disable-gui --disable-gtktest .endif .if ${PORT_OPTIONS:MNETPLAY} USE_SDL+= net .else CONFIGURE_ENV+= ac_cv_lib_SDL_net_main=no .endif .if ${PORT_OPTIONS:MSDL_MIXER} LIB_DEPENDS+= libvorbis.so:audio/libvorbis USE_SDL+= mixer CFLAGS+= -DOGG_SUPPORT .else CONFIGURE_ENV+= ac_cv_lib_SDL_mixer_main=no \ ac_cv_lib_vorbis_main=no \ ac_cv_lib_vorbisfile_main=no .endif .include diff --git a/emulators/ines/Makefile b/emulators/ines/Makefile index 00fde3118abc..cf77917f69de 100644 --- a/emulators/ines/Makefile +++ b/emulators/ines/Makefile @@ -1,31 +1,29 @@ -# Created by: Yukihiro Nakai - PORTNAME= ines PORTVERSION= 3.0 PORTREVISION= 2 CATEGORIES= emulators MASTER_SITES= http://fms.komkon.org/iNES/ DISTNAME= iNES30-FreeBSD-80x86-bin EXTRACT_SUFX= .tar.Z MAINTAINER= ports@FreeBSD.org COMMENT= Nintendo Entertainment System emulator for X11 LIB_DEPENDS= libc.so.5:misc/compat5x ONLY_FOR_ARCHS= i386 ONLY_FOR_ARCHS_REASON= is an i386 binary NO_WRKSUBDIR= yes USES= xorg USE_XORG= x11 xext NO_BUILD= yes STRIP= do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ines ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC} && ${INSTALL_DATA} iNES.html CART.NES *.pal \ ${STAGEDIR}${DATADIR}) .include diff --git a/emulators/javatari/Makefile b/emulators/javatari/Makefile index 1d88132ea1e2..850fda45326a 100644 --- a/emulators/javatari/Makefile +++ b/emulators/javatari/Makefile @@ -1,41 +1,39 @@ -# Created by: Danilo Egea Gondolfo - PORTNAME= javatari PORTVERSION= 4.1 PORTREVISION= 1 CATEGORIES= emulators java MASTER_SITES= http://javatari.org/old/java/files/ DISTNAME= ${PORTNAME}${PORTVERSION:S/.//} EXTRACT_SUFX= .jar EXTRACT_ONLY= MAINTAINER= danilo@FreeBSD.org COMMENT= Multiplayer Atari 2600 emulator written in pure Java LICENSE= AGPLv3 EXTRACT_DEPENDS= ${UNZIP_CMD}:archivers/unzip USE_JAVA= yes NO_BUILD= yes PLIST_FILES= %%JAVAJARDIR%%/${DISTNAME}${EXTRACT_SUFX} \ bin/javatari SUB_FILES= javatari SUB_LIST+= JARFILE="${JARFILE}" JARFILE= ${DISTNAME}${EXTRACT_SUFX} DESKTOP_ENTRIES= "Javatari" "${COMMENT}" "${PORTNAME}" "${PORTNAME}" \ "Game;" false PLIST_FILES+= share/pixmaps/${PORTNAME}.png post-extract: @(cd ${DISTDIR}/${DIST_SUBDIR} && ${UNZIP_CMD} -d ${WRKDIR} ${JARFILE} \ org/javatari/pc/screen/images/LogoIcon32.png) do-install: ${INSTALL_DATA} ${DISTDIR}/${JARFILE} ${STAGEDIR}${JAVAJARDIR} ${INSTALL_SCRIPT} ${WRKDIR}/javatari ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKDIR}/org/javatari/pc/screen/images/LogoIcon32.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png .include diff --git a/emulators/joytran/Makefile b/emulators/joytran/Makefile index 5ee3c1276138..1c3ee58e7e45 100644 --- a/emulators/joytran/Makefile +++ b/emulators/joytran/Makefile @@ -1,29 +1,27 @@ -# Created by: Timothy Beyer - PORTNAME= joytran PORTVERSION= 0.9.5.2 PORTREVISION= 1 CATEGORIES= emulators MASTER_SITES= http://sourceforge.net/projects/${PORTNAME}/files/ MAINTAINER= beyert@cs.ucr.edu COMMENT= Joystick to keyboard/mouse events translator written in C LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYRIGHT USES= cmake:insource pkgconfig sdl tar:bzip2 xorg USE_SDL= sdl2 USE_XORG= x11 xtst CMAKE_ARGS= -DLOCALBASE:PATH="${LOCALBASE}" OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e '/WARNING_FLAGS/s,-pedantic,& -fcommon,' \ ${WRKSRC}/CMakeLists.txt post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include diff --git a/emulators/jzintv/Makefile b/emulators/jzintv/Makefile index dfecaae406e5..61de2efc61b4 100644 --- a/emulators/jzintv/Makefile +++ b/emulators/jzintv/Makefile @@ -1,56 +1,54 @@ -# Created by: Ganael Laplanche - PORTNAME= jzintv PORTVERSION= 1.0.20200712 PORTEPOCH= 1 CATEGORIES= emulators MASTER_SITES= http://spatula-city.org/~im14u2c/intv/dl/ DISTNAME= ${PORTNAME}-${PORTVERSION:S/^1.0.//1}-src MAINTAINER= martymac@FreeBSD.org COMMENT= Portable Intellivision(TM) Emulator LICENSE= GPLv2 USES= alias compiler:c++11-lang dos2unix gmake sdl xorg zip USE_XORG= x11 xau xdmcp USE_SDL= sdl2 DOS2UNIX_GLOB= *.[ch] MAKE_ENV+= LFLAGS="${LDFLAGS}" WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/^1.0.//1}-src BUILD_WRKSRC= ${WRKSRC}/src OPTIONS_DEFINE= TOOLS DOCS EXAMPLES OPTIONS_SUB= yes TOOLS_DESC= Install additional tools TOOLS= as1600 bin2luigi bin2rom cgc_update crc32 dasm0256 dasm1600 dis1600 \ frombit frombit_r fromhex gms2rom imvtogif imvtoppm intvname luigi2bin \ lzo_embed rom_merge rom_metadata rom2bin rom2luigi show_grom split_rom \ tobit tobit_f tobit_r tohex SUB_FILES= pkg-message post-patch: @${REINPLACE_CMD} '/DEFAULT_ROM_PATH/s|/usr/local/share/jzintv|${DATADIR}|' ${BUILD_WRKSRC}/config.h @${CP} ${FILESDIR}/Makefile.freebsd_sdl2 ${BUILD_WRKSRC}/Makefile.freebsd_sdl2 @${LN} -sf ${BUILD_WRKSRC}/Makefile.freebsd_sdl2 ${BUILD_WRKSRC}/Makefile pre-build: ${MKDIR} ${WRKSRC}/bin ${MKDIR} ${WRKSRC}/rom do-install: ${MKDIR} ${STAGEDIR}${DATADIR}/rom ${INSTALL_DATA} ${WRKSRC}/rom/*.rom ${STAGEDIR}${DATADIR}/rom/ ${INSTALL_PROGRAM} ${WRKSRC}/bin/jzintv ${STAGEDIR}${PREFIX}/bin/jzintv .for tool in ${TOOLS} ${INSTALL_PROGRAM} ${WRKSRC}/bin/${tool} ${STAGEDIR}${PREFIX}/bin/jzintv-${tool} .endfor ${MKDIR} ${STAGEDIR}${DOCSDIR}/doc (cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/doc) ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .include diff --git a/emulators/klh10/Makefile b/emulators/klh10/Makefile index 99231ce77bf7..49e7ffaa74fc 100644 --- a/emulators/klh10/Makefile +++ b/emulators/klh10/Makefile @@ -1,116 +1,114 @@ -# Created by: kstailey - PORTNAME= klh10 PORTVERSION= 2.0a PORTREVISION= 1 CATEGORIES= emulators MASTER_SITES= http://klh10.trailing-edge.com/ DISTFILES= ${DISTNAME}.tgz klh10-2.0a-aux.tgz MAINTAINER= ports@FreeBSD.org COMMENT= Emulator for DEC PDP-10 ONLY_FOR_ARCHS= i386 BUILD_WRKSRC= ${WRKSRC}/bld/fbx86 INSTALL_WRKSRC= ${BUILD_WRKSRC} # someday add support for base-kl and base-ks targets MAKE_ENV= KLH10_HOME="${DATADIR}" ALL_TARGET= base-ks-its SUB_FILES= pkg-message DATADIR= ${PREFIX}/share/${KSITS_KLH10_DIR} DOCSDIR= ${PREFIX}/share/doc/${KSITS_KLH10_DIR} KSITS_KLH10_DIR= klh10-ks-its KSITS_DRIVER_DIR= ${PREFIX}/libexec/${KSITS_KLH10_DIR} KSITS_NATIVE_PROGS= kn10-ks \ tapedd \ udlconv \ vdkfmt \ wfconv \ wxtest KSITS_EM_DRIVERS= dprpxx \ dptm03 KSITS_EM_SDRIVERS= dpimp KSITS_EM_DAT= @.ddt-u \ @.its-647kn-u \ @.nsalv-260-u \ itsbin.647kn-u \ klh10-kn.ini KSITS_PUBADM= hosts.its \ its.ipfw \ rc.firewall-its \ router.notes KSITS_PUBDOC= bootload.files \ distrib.its \ dumpsys.help KSITS_DOCS= Intro.txt \ backgrnd.txt \ cmdref.txt \ cmdsum.txt \ coding.txt \ dfkfb.txt \ dvhost.txt \ history.txt \ install.txt \ kldiff.txt \ klt10.txt \ klt20.txt \ ksits.txt \ kst10.txt \ kst20.txt \ news.txt \ usage.txt \ utils.txt \ vtape.txt OPTIONS_DEFINE= DOCS post-patch: @${FIND} ${WRKSRC} -name "*.c" | ${XARGS} ${REINPLACE_CMD} -e \ 's|logf |log_f |g ; \ s|logf,|log_f,|g ; \ s|logf;|log_f;|g ; \ s|logf)|log_f)|g' do-install: .for i in ${KSITS_NATIVE_PROGS} ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${i} ${STAGEDIR}${PREFIX}/bin .endfor @${MKDIR} ${STAGEDIR}${KSITS_DRIVER_DIR} .for i in ${KSITS_EM_DRIVERS} ${KSITS_EM_SDRIVERS} ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${i} ${STAGEDIR}${KSITS_DRIVER_DIR} .endfor @${MKDIR} ${STAGEDIR}${DATADIR} .for i in ${KSITS_EM_DAT} ${INSTALL_DATA} ${WRKSRC}/run/ksits/${i} ${STAGEDIR}${DATADIR} .endfor @${MKDIR} ${STAGEDIR}${DATADIR}/flushed do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${FILESDIR}/PDPs ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/run/ksits/README ${STAGEDIR}${DOCSDIR} .for i in ${KSITS_DOCS} ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}${DOCSDIR} .endfor @${MKDIR} ${STAGEDIR}${DOCSDIR}/pubits/adm .for i in ${KSITS_PUBADM} ${INSTALL_DATA} ${WRKSRC}/run/ksits/pubits/adm/${i} ${STAGEDIR}${DOCSDIR}/pubits/adm .endfor @${MKDIR} ${STAGEDIR}${DOCSDIR}/pubits/doc .for i in ${KSITS_PUBDOC} ${INSTALL_DATA} ${WRKSRC}/run/ksits/pubits/doc/${i} ${STAGEDIR}${DOCSDIR}/pubits/doc .endfor .include diff --git a/emulators/lib765/Makefile b/emulators/lib765/Makefile index acd333fed8b5..8d481707462a 100644 --- a/emulators/lib765/Makefile +++ b/emulators/lib765/Makefile @@ -1,34 +1,32 @@ -# Created by: Alexey V. Antipovsky - PORTNAME= lib765 PORTVERSION= 0.4.2 PORTREVISION= 2 CATEGORIES= emulators devel MASTER_SITES= http://www.seasip.demon.co.uk/Unix/LibDsk/ MAINTAINER= ports@FreeBSD.org COMMENT= Emulation of uPD765a Floppy Disc Controller LICENSE= LGPL20 LICENSE_FILE= ${WRKSRC}/doc/COPYING.LIB USES= libtool GNU_CONFIGURE= yes USE_LDCONFIG= yes OPTIONS_DEFINE= DOCS LIBDSK OPTIONS_DEFAULT= LIBDSK LIBDSK_DESC= Include LibDSK support (recommended) LIBDSK_CONFIGURE_ON= --with-libdsk --with-libdsk-path=${LOCALBASE} LIBDSK_CONFIGURE_OFF= --without-libdsk LIBDSK_LIB_DEPENDS= libdsk.so:emulators/libdsk post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib765.so post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ChangeLog doc/765.txt ${STAGEDIR}${DOCSDIR} .include diff --git a/emulators/libdsk/Makefile b/emulators/libdsk/Makefile index 0132865d1334..0b00b9a2e3c5 100644 --- a/emulators/libdsk/Makefile +++ b/emulators/libdsk/Makefile @@ -1,27 +1,25 @@ -# Created by: pixel - PORTNAME= libdsk PORTVERSION= 1.4.2 CATEGORIES= emulators devel MASTER_SITES= http://www.seasip.info/Unix/LibDsk/ MAINTAINER= pixel@hugbox.org COMMENT= Enables access to disks and disk images; also via serial line LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/doc/COPYING USES= libtool GNU_CONFIGURE= yes USE_LDCONFIG= yes OPTIONS_DEFINE= DOCS PORTDOCS= apridisk.html cfi.html libdsk.pdf libdsk.txt \ libdskrc.sample protocol.txt README TODO do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include diff --git a/emulators/libretro-bsnes/Makefile b/emulators/libretro-bsnes/Makefile index c6869f69ddbe..45460b76b774 100644 --- a/emulators/libretro-bsnes/Makefile +++ b/emulators/libretro-bsnes/Makefile @@ -1,29 +1,27 @@ -# Created by: Timothy Beyer - PORTNAME= libretro-bsnes PORTVERSION= 20211218 CATEGORIES= emulators games MAINTAINER= beyert@cs.ucr.edu COMMENT= Standalone port of bSNES to libretro LICENSE= GPLv3 USES= compiler:c++11-lib gmake USE_GCC= yes USE_GITHUB= yes GH_ACCOUNT= libretro GH_PROJECT= bsnes-libretro GH_TAGNAME= 9549275 USE_LDCONFIG= yes PLIST_FILES= lib/libretro/bsnes_libretro.so do-install: @${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro; ${INSTALL_LIB} ${WRKSRC}/bsnes_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro; .include diff --git a/emulators/libretro-flycast/Makefile b/emulators/libretro-flycast/Makefile index 6b4a1454ab6c..08ce3b4b4b34 100644 --- a/emulators/libretro-flycast/Makefile +++ b/emulators/libretro-flycast/Makefile @@ -1,69 +1,67 @@ -# Created by: Timothy Beyer - PORTNAME= libretro-flycast PORTVERSION= 0.20210608 PORTREVISION= 1 CATEGORIES= emulators games MAINTAINER= beyert@cs.ucr.edu COMMENT= Standalone port of flycast to libretro LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= amd64 i386 LIB_DEPENDS+= libao.so:audio/libao \ libasound.so:audio/alsa-lib \ libcurl.so:ftp/curl \ libevdev.so:devel/libevdev \ libpulse.so:audio/pulseaudio \ libudev.so:devel/libudev-devd \ libvulkan.so:graphics/vulkan-loader USES= compiler:c++11-lib dos2unix gl gmake pkgconfig xorg USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= libretro GH_PROJECT= flycast GH_TAGNAME= 8e4fa54e USE_GL+= egl gl glew glu CFLAGS+= -I${LOCALBASE}/include CXXFLAGS+= -I${LOCALBASE}/include .include DOS2UNIX_FILES= core/hw/bba/rtl8139c.h .if ${ARCH} == amd64 CFLAGS+= -DLOW_END CXXFLAGS+= -DLOW_END .endif LDFLAGS+= -L${LOCALBASE}/lib MAKE_ARGS= HAVE_GENERIC_JIT=0 \ HAVE_VULKAN=0 .if ${ARCH} == amd64 MAKE_ARGS+= WITH_DYNAREC=x86_64 .elif ${ARCH} == i386 MAKE_ARGS+= WITH_DYNAREC=x86 USE_BINUTILS= yes LDFLAGS+= -Wl,-z,notext .endif PLIST_FILES= lib/libretro/flycast_libretro.so post-patch: @${REINPLACE_CMD} 's|/usr/local|${PREFIX}|' \ ${WRKSRC}/Makefile do-install: @${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro; ${INSTALL_LIB} ${WRKSRC}/flycast_libretro.so \ ${STAGEDIR}/${PREFIX}/lib/libretro/flycast_libretro.so; .include diff --git a/emulators/libretro-mame/Makefile b/emulators/libretro-mame/Makefile index 1859c46be88b..a70fba8bd06b 100644 --- a/emulators/libretro-mame/Makefile +++ b/emulators/libretro-mame/Makefile @@ -1,76 +1,74 @@ -# Created by: Timothy Beyer - PORTNAME= libretro-mame PORTVERSION= 20220124 PORTREVISION= 1 CATEGORIES= emulators games MAINTAINER= beyert@cs.ucr.edu COMMENT= MAME-current for libretro LICENSE= BSD2CLAUSE GPLv2 LICENSE_COMB= multi USES= compiler:c++11-lib gl gmake pkgconfig python:3.7,build USE_LDCONFIG= yes USE_GL= gl USE_GITHUB= yes GH_ACCOUNT= libretro GH_PROJECT= mame GH_TAGNAME= ec47e94 MAKEFILE= ${WRKSRC}/Makefile.libretro MAKE_ENV= ARCH=${ARCH} \ CXX="${CXX}" \ LD="${CXX}" \ OPT_FLAGS="${CXXFLAGS}" \ PYTHON="${PYTHON_CMD}" \ PYTHON_EXECUTABLE="${PYTHON_CMD}" GENIE= ${WRKSRC}/3rdparty/genie MAKE_JOBS_UNSAFE= yes PLIST_FILES= lib/libretro/mame_libretro.so post-patch: @${RM} ${WRKSRC}/3rdparty/bx/include/compat/freebsd/dirent.h @${RM} ${WRKSRC}/3rdparty/bx/include/compat/freebsd/signal.h @${ECHO_CMD} ${MV} ${GENIE}/build/gmake.freebsd ${GENIE}/build/gmake.bsd @${REINPLACE_CMD} -e \ 's|^\(CC \)|#\1| ; \ s|^\(CXX \)|#\1| ; \ s|^\(CXX:\)|#\1| ; \ s|^\(LD \)|#\1| ; \ s|^\(PYTHON \)|#\1| ; \ s| .(ARCH)|| ; \ s|FreeBSD|${OPSYS}|g' \ ${WRKSRC}/makefile \ ${GENIE}/build/gmake.freebsd/genie.make @${REINPLACE_CMD} -e 's|gcc|${CC}|; s|g++|${CXX}|' \ ${GENIE}/src/tools/gcc.lua \ ${GENIE}/src/tools/snc.lua \ ${GENIE}/tests/test_gmake_cpp.lua @${REINPLACE_CMD} -e 's|= \"gcc|= \"${CC}|; s|= \"${CXX}|= \"c++|' \ -e "s|'CXX =|'#CXX =|; s|'CC =|'#CC =|; s| .(ARCH)| |g" \ ${GENIE}/src/host/scripts.c # we can't fix two types of python shebangs, so do these manually @${REINPLACE_CMD} -i "" -e "s|/usr/bin/env python|${PYTHON_CMD}|" \ ${WRKSRC}/scripts/build/png*.py @${REINPLACE_CMD} -e 's|"python"|"${PYTHON_CMD}"|' \ ${WRKSRC}/scripts/genie.lua @${GREP} -rl '"png.h"' ${WRKSRC}/src | ${XARGS} ${REINPLACE_CMD} \ -e 's|"png.h"|"localpng.h"|' @${REINPLACE_CMD} -e 's|"util/png.h"|"util/localpng.h"|' \ ${WRKSRC}/src/frontend/mame/ui/icorender.cpp @${MV} ${WRKSRC}/src/lib/util/png.h ${WRKSRC}/src/lib/util/localpng.h do-install: @${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro; ${INSTALL_LIB} ${WRKSRC}/mame_libretro.so \ ${STAGEDIR}/${PREFIX}/lib/libretro; .include diff --git a/emulators/libretro-pcsx2/Makefile b/emulators/libretro-pcsx2/Makefile index e0edd23fb64e..aad056700c85 100644 --- a/emulators/libretro-pcsx2/Makefile +++ b/emulators/libretro-pcsx2/Makefile @@ -1,80 +1,78 @@ -# Created by: Timothy Beyer - PORTNAME= libretro-pcsx2 PORTVERSION= 0.20201030 PORTREVISION= 1 CATEGORIES= emulators games MAINTAINER= beyert@cs.ucr.edu COMMENT= Standalone port of pcsx2 to libretro LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING.GPLv3 ONLY_FOR_ARCHS= amd64 i386 LIB_DEPENDS= libcdio.so:sysutils/libcdio \ libharfbuzz.so:print/harfbuzz \ libpng16.so:graphics/png \ libportaudio.so:audio/portaudio \ libSoundTouch.so:audio/soundtouch USES= cmake compiler:c++11-lib .include CPPFLAGS+= -I${LOCALBASE}/include/wx-3.0 USE_CXXSTD= c++11 USE_LDCONFIG= yes CMAKE_CPP_FLAGS= ${CPPFLAGS} CMAKE_PREFIX_PATH= ${LOCALBASE}/include/wx-3.0 CMAKE_C_FLAGS= ${CFLAGS} CMAKE_CXX_FLAGS= ${CFLAGS} CMAKE_ARGS+= -DLIBRETRO=yes CMAKE_ARGS+= -Dgtk_INCLUDE_DIR="${LOCALBASE}/include/gtk-3.0" \ -DwxWidgets_INCLUDE_DIRS="${LOCALBASE}/include/wx-3.0" # lib depends on devel/ccache WITH_CCACHE_BUILD= yes HAVE_GTK3= true USE_WX= 3.0+ USE_GL= gl glew glu USE_GNOME= glib20 MAKE_JOBS_UNSAFE= yes USE_GITHUB= yes GH_ACCOUNT= libretro GH_PROJECT= pcsx2 GH_TAGNAME= 1251fa4 PLIST_FILES= lib/libretro/pcsx2_libretro.so .if ${ARCH} == i386 LDFLAGS+= -Wl,-z,notext .endif post-patch: @${CP} files/3rdparty_wxwidgets3.0_src_unix_fswatcher__kqueue.cpp \ ${WRKSRC}/3rdparty/wxwidgets3.0/src/unix/fswatcher_kqueue.cpp .if ${ARCH} == i386 @${REINPLACE_CMD} 's|-D_FILE_OFFSET_BITS=64|-D_FILE_OFFSET_BITS=32|' \ ${WRKSRC}/3rdparty/wxwidgets3.0/UsewxWidgets.cmake .endif # filename.cpp first to have 2u @${REINPLACE_CMD} -e 's|\[0u\]|[0]|' -e 's|\[1u\]|[1]|' \ -e 's|\[2u\]|[2]|' \ ${WRKSRC}/3rdparty/wxwidgets3.0/include/wx/filename.h \ ${WRKSRC}/3rdparty/wxwidgets3.0/src/common/cmdline.cpp \ ${WRKSRC}/3rdparty/wxwidgets3.0/src/common/fileconf.cpp \ ${WRKSRC}/3rdparty/wxwidgets3.0/src/common/filefn.cpp \ ${WRKSRC}/3rdparty/wxwidgets3.0/src/common/filename.cpp \ ${WRKSRC}/3rdparty/wxwidgets3.0/src/common/variant.cpp do-install: @${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro; ${INSTALL_LIB} ${WRKDIR}/.build/pcsx2/pcsx2_libretro.so \ ${STAGEDIR}/${PREFIX}/lib/libretro; .include diff --git a/emulators/libretro-reicast/Makefile b/emulators/libretro-reicast/Makefile index 10e8667810ed..bb14334c8d46 100644 --- a/emulators/libretro-reicast/Makefile +++ b/emulators/libretro-reicast/Makefile @@ -1,47 +1,45 @@ -# Created by: Timothy Beyer - PORTNAME= libretro-reicast PORTVERSION= 0.20201231 PORTREVISION= 1 CATEGORIES= emulators games MAINTAINER= beyert@cs.ucr.edu COMMENT= Standalone port of reicast to libretro LICENSE= BSD3CLAUSE GPLv2 LGPL21 LICENSE_COMB= multi LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libao.so:audio/libao \ libasound.so:audio/alsa-lib \ libcurl.so:ftp/curl \ libevdev.so:devel/libevdev \ libpulse.so:audio/pulseaudio \ libudev.so:devel/libudev-devd USES= cmake compiler gl xorg USE_GCC= yes USE_LDCONFIG= yes CMAKE_ARGS= -DLIBRETRO_CORE=ON \ -DOPENGL_EGL_INCLUDE_DIR:PATH=${LOCALBASE}/include/EGL \ -DOPENGL_GLX_INCLUDE_DIR:PATH=${LOCALBASE}/include/GL \ -DOPENGL_INCLUDE_DIR:PATH=${LOCALBASE}/include/GL \ -DOPENGL_opengl_LIBRARY:PATH=${LOCALBASE}/lib/libGL.so CXXFLAGS+= -Wno-c++11-extensions USE_GITHUB= yes GH_ACCOUNT= reicast GH_PROJECT= reicast-emulator GH_TAGNAME= 0bd6ea3 USE_GL= egl gbm gl PLIST_FILES= lib/libretro/reicast_libretro.so do-install: @${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro; ${INSTALL_LIB} ${WRKDIR}/.build/libreicast.so \ ${STAGEDIR}/${PREFIX}/lib/libretro/reicast_libretro.so; .include diff --git a/emulators/libspectrum/Makefile b/emulators/libspectrum/Makefile index 280c430c2e0e..a7716f24dd3e 100644 --- a/emulators/libspectrum/Makefile +++ b/emulators/libspectrum/Makefile @@ -1,31 +1,29 @@ -# Created by: Alexey V. Antipovsky - PORTNAME= libspectrum PORTVERSION= 1.5.0 CATEGORIES= emulators devel MASTER_SITES= SF/fuse-emulator/${PORTNAME}/${PORTVERSION} MAINTAINER= rene@FreeBSD.org COMMENT= Handling of ZX-Spectrum emulator files formats LICENSE= GPLv2 LIB_DEPENDS= libaudiofile.so:audio/libaudiofile \ libgcrypt.so:security/libgcrypt GNU_CONFIGURE= yes USES= gettext gmake gnome libtool perl5 pkgconfig USE_GNOME= glib20 USE_PERL5= build USE_LDCONFIG= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= DOCS post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS ChangeLog README THANKS \ doc/libspectrum.txt ${STAGEDIR}${DOCSDIR} .include diff --git a/emulators/linux-c7/Makefile b/emulators/linux-c7/Makefile index 7fc83000382c..d5412c5b1c72 100644 --- a/emulators/linux-c7/Makefile +++ b/emulators/linux-c7/Makefile @@ -1,81 +1,79 @@ -# Created by: Piotr Kubaj - PORTNAME= linux-c7 PORTVERSION= ${LINUX_DIST_VER} CATEGORIES= emulators linux MAINTAINER= emulation@FreeBSD.org COMMENT= Meta-port for all things CentOS ${LINUX_DIST_VER} RUN_DEPENDS= linux-c7-libasyncns>0:dns/linux-c7-libasyncns \ linux-c7-tk85>0:x11-toolkits/linux-c7-tk85 \ linux-c7-gtk2>0:x11-toolkits/linux-c7-gtk2 \ linux-c7-qt-x11>0:x11-toolkits/linux-c7-qt-x11 \ linux-c7-pango>0:x11-toolkits/linux-c7-pango \ linux-c7-motif>0:x11-toolkits/linux-c7-openmotif \ linux-c7-atk>0:accessibility/linux-c7-atk \ linux-c7-sqlite>0:databases/linux-c7-sqlite3 \ linux-c7-tcl85>0:lang/linux-c7-tcl85 \ linux-c7-nspr>0:devel/linux-c7-nspr \ linux-c7-libsigc++20>0:devel/linux-c7-libsigc++20 \ linux-c7-sdl>0:devel/linux-c7-sdl12 \ linux-c7-libpciaccess>0:devel/linux-c7-libpciaccess \ linux-c7-libglade2>0:devel/linux-c7-libglade2 \ linux-c7-devtools>0:devel/linux-c7-devtools \ linux-c7-dbus-libs>0:devel/linux-c7-dbus-libs \ linux-c7-qt>0:devel/linux-c7-qt \ linux-c7-dbus-glib>0:devel/linux-c7-dbus-glib \ linux-c7-xorg-libs>0:x11/linux-c7-xorg-libs \ linux-c7-fontconfig>0:x11-fonts/linux-c7-fontconfig \ linux-c7-cups-libs>0:print/linux-c7-cups-libs \ linux-c7-flac-libs>0:audio/linux-c7-flac \ linux-c7-alsa-utils>0:audio/linux-c7-alsa-utils \ linux-c7-alsa-lib>0:audio/linux-c7-alsa-lib \ linux-c7-audiofile>0:audio/linux-c7-audiofile \ linux-c7-alsa-plugins-oss>0:audio/linux-c7-alsa-plugins-oss \ linux-c7-alsa-plugins-pulseaudio>0:audio/linux-c7-alsa-plugins-pulseaudio \ linux-c7-libsndfile>0:audio/linux-c7-libsndfile \ linux-c7-libogg>0:audio/linux-c7-libogg \ linux-c7-pulseaudio-utils>0:audio/linux-c7-pulseaudio-utils \ linux-c7-pulseaudio-libs>0:audio/linux-c7-pulseaudio-libs \ linux-c7-libvorbis>0:audio/linux-c7-libvorbis \ linux-c7-libtheora>0:multimedia/linux-c7-libtheora \ linux-c7-libv4l>0:multimedia/linux-c7-libv4l \ linux-c7-cyrus-sasl-lib>0:security/linux-c7-cyrus-sasl2 \ linux-c7-libssh2>0:security/linux-c7-libssh2 \ linux-c7-gnutls>0:security/linux-c7-gnutls \ linux-c7-libgcrypt>0:security/linux-c7-libgcrypt \ linux-c7-nss>0:security/linux-c7-nss \ linux-c7-libtasn1>0:security/linux-c7-libtasn1 \ linux-c7-libgpg-error>0:security/linux-c7-libgpg-error \ linux-c7-curl>0:ftp/linux-c7-curl \ linux-c7-tcp_wrappers-libs>0:net/linux-c7-tcp_wrappers-libs \ linux-c7-openldap>0:net/linux-c7-openldap \ linux-c7-avahi-libs>0:net/linux-c7-avahi-libs \ linux-c7-expat>0:textproc/linux-c7-expat \ linux-c7-aspell>0:textproc/linux-c7-aspell \ linux-c7-libxml2>0:textproc/linux-c7-libxml2 \ linux-c7-dri>0:graphics/linux-c7-dri \ linux-c7-libpng>0:graphics/linux-c7-png \ linux-c7-libtiff>0:graphics/linux-c7-tiff \ linux-c7-jpeg>0:graphics/linux-c7-jpeg \ linux-c7-glx-utils>0:graphics/linux-c7-glx-utils \ linux-c7-gdk-pixbuf2>0:graphics/linux-c7-gdk-pixbuf2 \ linux-c7-cairo>0:graphics/linux-c7-cairo \ linux-c7-pixman>0:x11/linux-c7-pixman \ linux-c7-jasper-libs>0:graphics/linux-c7-jasper USES= linux:c7 metaport .include .if ${ARCH} == amd64 RUN_DEPENDS+= linux-c7-sdl_image>0:graphics/linux-c7-sdl_image \ linux-c7-openal-soft>0:audio/linux-c7-openal-soft \ linux-c7-sdl20>0:devel/linux-c7-sdl20 \ linux-c7-sdl_mixer>0:audio/linux-c7-sdl_mixer \ linux-c7-sdl_ttf>0:graphics/linux-c7-sdl_ttf \ linux-c7-qtwebkit>0:www/linux-c7-qtwebkit .endif .include diff --git a/emulators/linux-power10-functional-sim/Makefile b/emulators/linux-power10-functional-sim/Makefile index e10d1e18a5f3..6bae66445e48 100644 --- a/emulators/linux-power10-functional-sim/Makefile +++ b/emulators/linux-power10-functional-sim/Makefile @@ -1,30 +1,28 @@ -# Created by: Kevin Bowling - PORTNAME= power10-functional-sim PORTVERSION= 1.1 DISTVERSIONSUFFIX= -0.rhel7 CATEGORIES= emulators linux MASTER_SITES= http://public.dhe.ibm.com/software/server/powerfuncsim/p10/packages/v1.1-0/ MAINTAINER= kbowling@FreeBSD.org COMMENT= IBM POWER10 Functional Simulator (mambo) (CentOS ${LINUX_DIST_VER}) LICENSE= IBMFUNCTIONALSIM LICENSE_NAME= IBM Functional Simulator License LICENSE_FILE= ${FILESDIR}/LA_en.txt LICENSE_PERMS= dist-mirror pkg-mirror auto-accept ONLY_FOR_ARCHS= amd64 USES= linux:c7 perl5 shebangfix SHEBANG_FILES= opt/ibm/systemsim-p10-1.1-0/bin/systemsim SHEBANG_GLOB= *.sh *.pl USE_LDCONFIG= yes USE_LINUX= tcl85 USE_LINUX_RPM= nolib USE_PERL5= run BIN_DISTNAMES= systemsim-p10-${DISTVERSION}${DISTVERSIONSUFFIX} SRC_DISTFILES= .include diff --git a/emulators/linux-power9-functional-sim/Makefile b/emulators/linux-power9-functional-sim/Makefile index 9b167dd3af53..62c57ffedc44 100644 --- a/emulators/linux-power9-functional-sim/Makefile +++ b/emulators/linux-power9-functional-sim/Makefile @@ -1,31 +1,29 @@ -# Created by: Kevin Bowling - PORTNAME= power9-functional-sim PORTVERSION= 1.1 PORTREVISION= 1 DISTVERSIONSUFFIX= -0.el7 CATEGORIES= emulators linux MASTER_SITES= http://public.dhe.ibm.com/software/server/powerfuncsim/p9/packages/v1.1-0/ MAINTAINER= kbowling@FreeBSD.org COMMENT= IBM POWER9 Functional Simulator (mambo) (CentOS ${LINUX_DIST_VER}) LICENSE= IBMFUNCTIONALSIM LICENSE_NAME= IBM Functional Simulator License LICENSE_FILE= ${WRKSRC}/opt/ibm/systemsim-p9/license/Softcopy/LA_en LICENSE_PERMS= dist-mirror pkg-mirror auto-accept ONLY_FOR_ARCHS= amd64 USES= linux:c7 perl5 shebangfix SHEBANG_FILES= opt/ibm/systemsim-p9/bin/systemsim SHEBANG_GLOB= *.sh *.pl USE_LDCONFIG= yes USE_LINUX= tcl85 USE_LINUX_RPM= nolib USE_PERL5= run BIN_DISTNAMES= systemsim-p9-${DISTVERSION}${DISTVERSIONSUFFIX} SRC_DISTFILES= .include diff --git a/emulators/lisaem/Makefile b/emulators/lisaem/Makefile index 5d4e3ec1beea..8dfa46e91083 100644 --- a/emulators/lisaem/Makefile +++ b/emulators/lisaem/Makefile @@ -1,49 +1,47 @@ -# Created by: Edward Tomasz Napierala - PORTNAME= lisaem PORTVERSION= 1.2.6.2 PORTREVISION= 2 CATEGORIES= emulators MASTER_SITES= http://lisaem.sunder.net/downloads/ MAINTAINER= ports@FreeBSD.org COMMENT= Apple Lisa 2 Emulator LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_FreeBSD_13= ld: error: duplicate symbol: mem68k_fetch_byte BROKEN_FreeBSD_14= ld: error: duplicate symbol: mem68k_fetch_byte BUILD_DEPENDS= pngtopnm:graphics/netpbm USES= compiler:c++11-lang tar:bzip2 USE_WX= 2.8 BINARY_ALIAS= wx-config=${WX_CONFIG} CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} CXXFLAGS_clang= -Wno-c++11-narrowing DESKTOP_ENTRIES="LisaEm" "" "lisaem" "lisaem" "" "" post-patch: @${REINPLACE_CMD} -e \ 's|^inline |static inline |' ${WRKSRC}/lisa/zilog8530.c do-build: ${FIND} ${WRKSRC} -type l -delete cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./build.sh build \ --without-optimize ${GREP} -v "^//" ${WRKSRC}/resources/lisa128x85.xpm | \ ${LOCALBASE}/bin/xpmtoppm | ${LOCALBASE}/bin/pnmtopng \ > ${WRKDIR}/lisaem.png do-install: (cd ${WRKSRC}/bin && ${INSTALL_PROGRAM} * ${STAGEDIR}${PREFIX}/bin) (cd ${WRKDIR} && ${INSTALL_DATA} lisaem.png ${STAGEDIR}${PREFIX}/share/pixmaps) @${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC}/resources && ${INSTALL_DATA} * ${STAGEDIR}${DATADIR}) ${LN} -sf lisaem ${STAGEDIR}${PREFIX}/share/LisaEm .include diff --git a/emulators/mame/Makefile b/emulators/mame/Makefile index 75365e831242..580c3ea461e4 100644 --- a/emulators/mame/Makefile +++ b/emulators/mame/Makefile @@ -1,129 +1,127 @@ -# Created by: alepulver - PORTNAME?= mame PORTVERSION= 0.226 PORTREVISION= 2 CATEGORIES= emulators MAINTAINER= manu@FreeBSD.org COMMENT= Multi Arcade Machine Emulator LICENSE= GPLv2 ONLY_FOR_ARCHS= amd64 armv7 i386 powerpc powerpc64 powerpc64le ONLY_FOR_ARCHS_REASON= not yet ported to any architecture other than armv7, x86, and powerpc* LIB_DEPENDS= libFLAC.so:audio/flac \ libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libpugixml.so:textproc/pugixml RUN_DEPENDS= liberation-fonts-ttf>=0:x11-fonts/liberation-fonts-ttf USES= compiler:c++14-lang gl gmake jpeg localbase pkgconfig \ python:3.7,build qt:5 sdl shebangfix sqlite:3 xorg USE_GITHUB= yes GH_ACCOUNT= mamedev GH_PROJECT= mame # explicit (master port) GH_TAGNAME= mame${PORTVERSION:S/.//} USE_GL= gl USE_QT= buildtools core gui qmake_build widgets USE_SDL= sdl2 ttf2 USE_XORG= x11 xext xi xinerama xrender SHEBANG_FILES= src/devices/cpu/m6502/m6502make.py \ src/devices/cpu/m6809/m6809make.py \ src/devices/cpu/mcs96/mcs96make.py \ src/devices/cpu/tms57002/tmsmake.py MAKEFILE= makefile MAKE_ARGS= TARGETOS=freebsd VERBOSE=1 TOOLS=1 USE_SYSTEM_LIB_PUGIXML=1 \ USE_SYSTEM_LIB_SQLITE3=1 MAKE_ENV= NOWERROR=1 USE_NETWORK=1 \ LD="${CXX}" PYTHON="${PYTHON_CMD}" \ OPT_FLAGS="${CXXFLAGS}" GCC_LDFLAGS="${LDFLAGS}" \ TARGET="${MTARGET}" SUBTARGET="${MSUBTARGET}" FULLNAME="mame" SDL_NETWORK="pcap" MAKE_JOBS_UNSAFE= yes SUB_FILES= pkg-message target.ini SUB_LIST= MTARGET=${MTARGET} MSUBTARGET=${MSUBTARGET} PORTDOCS= * PORTEXAMPLES= ${MSUBTARGET}.ini OPTIONS_DEFINE= DEBUG DOCS EXAMPLES DEBUG_MAKE_ENV= DEBUG=1 GENIE= ${WRKSRC}/3rdparty/genie MSUBTARGET?= mame MTARGET?= mame .include .if ${ARCH} == amd64 || ${ARCH:Mpowerpc64*} MAKE_ARGS+= PTR64=1 EMULATOR= ${MSUBTARGET}64 .else EMULATOR= ${MSUBTARGET} .endif PLIST_SUB+= EMULATOR=${EMULATOR} post-patch: @${RM} ${WRKSRC}/3rdparty/bx/include/compat/freebsd/dirent.h @${RM} ${WRKSRC}/3rdparty/bx/include/compat/freebsd/signal.h @${MV} ${GENIE}/build/gmake.freebsd ${GENIE}/build/gmake.bsd @${REINPLACE_CMD} -e \ 's|^\(CC \)|#\1| ; \ s|^\(CXX \)|#\1| ; \ s|^\(CXX:\)|#\1| ; \ s|^\(LD \)|#\1| ; \ s|^\(PYTHON \)|#\1| ; \ s| .(ARCH)|| ; \ s|FreeBSD|${OPSYS}|g' \ ${WRKSRC}/makefile \ ${GENIE}/build/gmake.bsd/genie.make @${REINPLACE_CMD} -e 's|gcc|cc|; s|g++|c++|' \ ${GENIE}/src/tools/gcc.lua \ ${GENIE}/src/tools/snc.lua \ ${GENIE}/tests/test_gmake_cpp.lua @${REINPLACE_CMD} -e 's|= \"gcc|= \"cc|; s|= \"g++|= \"c++|' \ -e "s|'CXX =|'#CXX =|; s|'CC =|'#CC =|; s| .(ARCH)| |g" \ ${GENIE}/src/host/scripts.c # we can't fix two types of python shebangs, so do these manually @${REINPLACE_CMD} -i "" -e "s|/usr/bin/env python|${PYTHON_CMD}|" \ ${WRKSRC}/scripts/build/png*.py @${REINPLACE_CMD} -e 's|"python"|"${PYTHON_CMD}"|' \ ${WRKSRC}/scripts/genie.lua @${GREP} -rl '"png.h"' ${WRKSRC}/src | ${XARGS} ${REINPLACE_CMD} \ -e 's|"png.h"|"localpng.h"|' @${REINPLACE_CMD} -e 's|"util/png.h"|"util/localpng.h"|' \ ${WRKSRC}/src/frontend/mame/ui/icorender.cpp @${MV} ${WRKSRC}/src/lib/util/png.h ${WRKSRC}/src/lib/util/localpng.h do-install: @${MKDIR} ${STAGEDIR}${DATADIR} \ ${STAGEDIR}${DOCSDIR} \ ${STAGEDIR}${EXAMPLESDIR} \ ${STAGEDIR}${PREFIX}/libexec/${MSUBTARGET} ${INSTALL_PROGRAM} ${WRKSRC}/${EMULATOR} ${STAGEDIR}${PREFIX}/bin .if ${MSUBTARGET:Mmame} (cd ${WRKSRC} && \ ${INSTALL_PROGRAM} chdman jedutil ldresample ldverify \ romcmp unidasm \ ${STAGEDIR}${PREFIX}/libexec/mame) .endif .if ${MSUBTARGET:Mmess} (cd ${WRKSRC} && ${INSTALL_PROGRAM} castool chdman floptool imgtool jedutil \ ldresample ldverify nltool nlwav pngcmp regrep romcmp split \ srcclean unidasm \ ${STAGEDIR}${PREFIX}/libexec/mess) .endif (cd ${WRKSRC} && ${COPYTREE_SHARE} artwork ${STAGEDIR}${DATADIR}) (cd ${WRKSRC} && ${COPYTREE_SHARE} hash ${STAGEDIR}${DATADIR}) (cd ${WRKSRC} && ${COPYTREE_SHARE} docs ${STAGEDIR}${DOCSDIR}) ${INSTALL_DATA} ${WRKDIR}/target.ini \ ${STAGEDIR}${EXAMPLESDIR}/${MSUBTARGET}.ini .include diff --git a/emulators/mastergear/Makefile b/emulators/mastergear/Makefile index d1bf51b70f23..d266f2a1013c 100644 --- a/emulators/mastergear/Makefile +++ b/emulators/mastergear/Makefile @@ -1,38 +1,36 @@ -# Created by: Yukihiro Nakai - PORTNAME= mastergear PORTVERSION= 2.0 PORTREVISION= 3 CATEGORIES= emulators MASTER_SITES= http://fms.komkon.org/MG/ DISTNAME= MG20-FreeBSD-80x86-bin EXTRACT_SUFX= .tar.Z MAINTAINER= ports@FreeBSD.org COMMENT= SEGA Master System and Game Gear emulator for X LIB_DEPENDS= libc.so.5:misc/compat5x NO_WRKSUBDIR= yes ONLY_FOR_ARCHS= i386 ONLY_FOR_ARCHS_REASON= is an i386 binary USES= xorg USE_XORG= x11 xext NO_BUILD= yes STRIP= OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${WRKSRC}/mg ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/CART.ROM ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/SF7000.ROM ${STAGEDIR}${DATADIR} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/MG.html ${STAGEDIR}${DOCSDIR} .include diff --git a/emulators/mtools/Makefile b/emulators/mtools/Makefile index 7ae390da86a1..7b196b85d320 100644 --- a/emulators/mtools/Makefile +++ b/emulators/mtools/Makefile @@ -1,65 +1,63 @@ -# Created by: jmz - PORTNAME= mtools PORTVERSION= 4.0.26 PORTREVISION= 1 CATEGORIES= emulators MASTER_SITES= GNU MAINTAINER= skreuzer@FreeBSD.org COMMENT= Collection of tools for manipulating MS-DOS files LICENSE= GPLv3 CONFLICTS_INSTALL= multimarkdown USES= gmake makeinfo tar:bzip2 GNU_CONFIGURE= yes CONFIGURE_ENV= ac_cv_header_malloc_h=no CONFIGURE_ARGS= --enable-xdf SUB_FILES= pkg-message INFO= mtools OPTIONS_DEFINE= ICONV X11 OPTIONS_DEFAULT=ICONV X11 .include .if ${PORT_OPTIONS:MICONV} USES+= iconv CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB} LIB_DEPENDS+= libiconv.so:converters/libiconv .else CONFIGURE_ENV+= ac_cv_header_iconv_h=no .endif .if ${PORT_OPTIONS:MX11} USES+= xorg USE_XORG= x11 sm ice xau PLIST_SUB+= X11="" .else CONFIGURE_ARGS+= --without-x PLIST_SUB+= X11="@comment " MAKE_ENV+= WITHOUT_X11=yes .endif post-patch: @${REINPLACE_CMD} -e \ 's|^#define MT_SIZE_T size_t|#define MT_SIZE_T off_t|g' \ ${WRKSRC}/llong.h @${REINPLACE_CMD} -e 's|/etc/mtools.conf|${PREFIX}/etc/mtools.conf|g' \ ${WRKSRC}/mformat.c @${REINPLACE_CMD} -e 's|^\(SAMPLE FILE\)$$|#\1|' \ ${WRKSRC}/mtools.conf .for f in mtools.5 mtools.texi @${REINPLACE_CMD} -e 's|/usr/local/etc/|${PREFIX}/etc/|g' \ ${WRKSRC}/${f} .endfor post-install: ${INSTALL_DATA} ${WRKSRC}/mtools.conf ${STAGEDIR}${PREFIX}/etc/mtools.conf.sample .include diff --git a/emulators/mupen64plus-audio-sdl/Makefile b/emulators/mupen64plus-audio-sdl/Makefile index 9c0e65500c1d..f67537110ecf 100644 --- a/emulators/mupen64plus-audio-sdl/Makefile +++ b/emulators/mupen64plus-audio-sdl/Makefile @@ -1,14 +1,12 @@ -# Created by: Jose Alonso Cardenas Marquez - PORTREVISION= 0 PKGNAMESUFFIX= -audio-sdl COMMENT= Mupen64plus audio sdl plugin USE_SDL= sdl2 MASTERDIR= ${.CURDIR}/../mupen64plus-core OPTIONS_DEFINE= # .include "${MASTERDIR}/Makefile" diff --git a/emulators/mupen64plus-core/Makefile b/emulators/mupen64plus-core/Makefile index f8d87d56ba85..eb92dadad1b7 100644 --- a/emulators/mupen64plus-core/Makefile +++ b/emulators/mupen64plus-core/Makefile @@ -1,30 +1,28 @@ -# Created by: Jose Alonso Cardenas Marquez - PORTNAME= mupen64plus PORTVERSION?= 2.5 PORTREVISION?= 2 CATEGORIES= emulators MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}${PKGNAMESUFFIX}/releases/download/${PORTVERSION}/ \ LOCAL/acm/${PORTNAME} \ LOCAL/acm/${PORTNAME}/:plugin PKGNAMESUFFIX?= -core DIST_SUBDIR= ${PORTNAME} MAINTAINER?= acm@FreeBSD.org COMMENT?= Fork of Mupen64 Nintendo 64 emulator USES+= gl gmake pkgconfig sdl USE_GL?= yes USE_SDL?= sdl2 USE_LDCONFIG?= yes ONLY_FOR_ARCHS= i386 amd64 LDFLAGS_i386= -Wl,-znotext OPTFLAGS= # MAKE_ENV+= OPTFLAGS="${OPTFLAGS}" OPTIONS_DEFINE= DOCS .include "${.CURDIR}/../mupen64plus-core/Makefile.common" .include diff --git a/emulators/mupen64plus-input-sdl/Makefile b/emulators/mupen64plus-input-sdl/Makefile index 2bae1cf572a4..eabc572c9799 100644 --- a/emulators/mupen64plus-input-sdl/Makefile +++ b/emulators/mupen64plus-input-sdl/Makefile @@ -1,10 +1,8 @@ -# Created by: Jose Alonso Cardenas Marquez - PORTREVISION= 0 PKGNAMESUFFIX= -input-sdl COMMENT= Input plugin for Mupen64plus MASTERDIR= ${.CURDIR}/../mupen64plus-core .include "${MASTERDIR}/Makefile" diff --git a/emulators/mupen64plus-plugins/Makefile b/emulators/mupen64plus-plugins/Makefile index 5131c0ee9cd1..6a919c8acbf8 100644 --- a/emulators/mupen64plus-plugins/Makefile +++ b/emulators/mupen64plus-plugins/Makefile @@ -1,27 +1,25 @@ -# Created by: Jose Alonso Cardenas Marquez - PORTNAME= mupen64plus PORTVERSION= 2.5 PORTREVISION= 0 CATEGORIES= emulators PKGNAMESUFFIX= -plugins MAINTAINER?= acm@FreeBSD.org COMMENT= Third party plugins for Mupen64plus USES= metaport OPTIONS_DEFINE= VIDEO_ARACHNOID VIDEO_GLIDE64 VIDEO_Z64 RSP_Z64 RSP_CXD4 VIDEO_ARACHNOID_DESC= Arachnoid video plugin VIDEO_GLIDE64_DESC= Glide64 video plugin VIDEO_Z64_DESC= z64 video plugin RSP_Z64_DESC= z64 RSP plugin RSP_CXD4_DESC= cxd4 RSP plugin OPTIONS_DEFAULT= VIDEO_ARACHNOID VIDEO_GLIDE64 VIDEO_Z64 RSP_Z64 RSP_CXD4 .for OPT in ${OPTIONS_DEFINE} ${OPT}_RUN_DEPENDS= ${LOCALBASE}/lib/${PORTNAME}/mupen64plus-${OPT:tl:S/_/-/}.so:emulators/mupen64plus-${OPT:tl:S/_/-/} .endfor .include diff --git a/emulators/mupen64plus-rsp-cxd4/Makefile b/emulators/mupen64plus-rsp-cxd4/Makefile index 8801ae32a67e..0917616d1987 100644 --- a/emulators/mupen64plus-rsp-cxd4/Makefile +++ b/emulators/mupen64plus-rsp-cxd4/Makefile @@ -1,28 +1,26 @@ -# Created by: Jose Alonso Cardenas Marquez - PORTREVISION= 6 PKGNAMESUFFIX= -rsp-cxd4 DISTFILES= ${PORTNAME}${PKGNAMESUFFIX}-src-${PORTVERSION}${EXTRACT_SUFX}:plugin COMMENT= Low-level RSP processor plugin for the Mupen64Plus LIB_DEPENDS= libmupen64plus.so.2:emulators/mupen64plus-core USE_GL= # USE_SDL= # MASTERDIR= ${.CURDIR}/../mupen64plus-core OPTIONS_DEFINE= # USES+= compiler:c++11-lang MAKE_ENV+= SSE=none CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/${PORTNAME} LDFLAGS+= -L${LOCALBASE}/lib DISTINFO_FILE= ${.CURDIR}/distinfo EXTRACT_AFTER_ARGS= # BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}${PKGNAMESUFFIX}/projects/unix WRKSRC= ${WRKDIR} .include "${MASTERDIR}/Makefile" diff --git a/emulators/mupen64plus-rsp-hle/Makefile b/emulators/mupen64plus-rsp-hle/Makefile index d0edbf710d14..0d0484bc7a43 100644 --- a/emulators/mupen64plus-rsp-hle/Makefile +++ b/emulators/mupen64plus-rsp-hle/Makefile @@ -1,11 +1,9 @@ -# Created by: Jose Alonso Cardenas Marquez - PKGNAMESUFFIX= -rsp-hle COMMENT= RSP plugin for Mupen64plus MASTERDIR= ${.CURDIR}/../mupen64plus-core OPTIONS_DEFINE= # .include "${MASTERDIR}/Makefile" diff --git a/emulators/mupen64plus-rsp-z64/Makefile b/emulators/mupen64plus-rsp-z64/Makefile index 411cc5ada7a8..9fbb40d45127 100644 --- a/emulators/mupen64plus-rsp-z64/Makefile +++ b/emulators/mupen64plus-rsp-z64/Makefile @@ -1,26 +1,24 @@ -# Created by: Jose Alonso Cardenas Marquez - PORTREVISION= 1 PKGNAMESUFFIX= -rsp-z64 DISTFILES= ${PORTNAME}${PKGNAMESUFFIX}-src-${PORTVERSION}${EXTRACT_SUFX}:plugin COMMENT= Low-level RSP processor plugin for the Mupen64Plus LIB_DEPENDS= libmupen64plus.so.2:emulators/mupen64plus-core USE_GL= # USE_SDL= # MASTERDIR= ${.CURDIR}/../mupen64plus-core OPTIONS_DEFINE= # CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/${PORTNAME} LDFLAGS+= -L${LOCALBASE}/lib DISTINFO_FILE= ${.CURDIR}/distinfo EXTRACT_AFTER_ARGS= # BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}${PKGNAMESUFFIX}/projects/unix WRKSRC= ${WRKDIR} .include "${MASTERDIR}/Makefile" diff --git a/emulators/mupen64plus-ui-console/Makefile b/emulators/mupen64plus-ui-console/Makefile index 02fee9bfc0d5..eb48f94cc400 100644 --- a/emulators/mupen64plus-ui-console/Makefile +++ b/emulators/mupen64plus-ui-console/Makefile @@ -1,12 +1,10 @@ -# Created by: Alonso Cardenas Marquez - PORTREVISION= 0 PKGNAMESUFFIX= -ui-console COMMENT= UI for Mupen64plus MASTERDIR= ${.CURDIR}/../mupen64plus-core OPTIONS_DEFINE= # .include "${MASTERDIR}/Makefile" diff --git a/emulators/mupen64plus-video-arachnoid/Makefile b/emulators/mupen64plus-video-arachnoid/Makefile index 7e4b9947069a..6c87ba3c74d7 100644 --- a/emulators/mupen64plus-video-arachnoid/Makefile +++ b/emulators/mupen64plus-video-arachnoid/Makefile @@ -1,27 +1,25 @@ -# Created by: Jose Alonso Cardenas Marquez - PORTREVISION= 2 PKGNAMESUFFIX= -video-arachnoid DISTFILES= ${PORTNAME}${PKGNAMESUFFIX}-src-${PORTVERSION}${EXTRACT_SUFX}:plugin COMMENT= The arachnoid video plugin for Mupen64plus LIB_DEPENDS= libmupen64plus.so.2:emulators/mupen64plus-core USES+= gl USE_GL= gl glu USE_SDL= # MASTERDIR= ${.CURDIR}/../mupen64plus-core OPTIONS_DEFINE= # CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/${PORTNAME} LDFLAGS+= -L${LOCALBASE}/lib DISTINFO_FILE= ${.CURDIR}/distinfo EXTRACT_AFTER_ARGS= # BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}${PKGNAMESUFFIX}/projects/unix WRKSRC= ${WRKDIR} .include "${MASTERDIR}/Makefile" diff --git a/emulators/mupen64plus-video-glide64/Makefile b/emulators/mupen64plus-video-glide64/Makefile index 026c41f2c86a..b192f0b7c25f 100644 --- a/emulators/mupen64plus-video-glide64/Makefile +++ b/emulators/mupen64plus-video-glide64/Makefile @@ -1,27 +1,25 @@ -# Created by: Jose Alonso Cardenas Marquez - PORTREVISION= 2 PKGNAMESUFFIX= -video-glide64 DISTFILES= ${PORTNAME}${PKGNAMESUFFIX}-src-${PORTVERSION}${EXTRACT_SUFX}:plugin COMMENT= Glide64 video plugin for Mupen64Plus LIB_DEPENDS= libmupen64plus.so.2:emulators/mupen64plus-core USES+= gl sdl USE_GL= gl USE_SDL= sdl2 MASTERDIR= ${.CURDIR}/../mupen64plus-core OPTIONS_DEFINE= # CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/${PORTNAME} LDFLAGS+= -L${LOCALBASE}/lib DISTINFO_FILE= ${.CURDIR}/distinfo EXTRACT_AFTER_ARGS= # BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}${PKGNAMESUFFIX}/projects/unix WRKSRC= ${WRKDIR} .include "${MASTERDIR}/Makefile" diff --git a/emulators/mupen64plus-video-glide64mk2/Makefile b/emulators/mupen64plus-video-glide64mk2/Makefile index 3c87dddb7235..f905c41cc0bf 100644 --- a/emulators/mupen64plus-video-glide64mk2/Makefile +++ b/emulators/mupen64plus-video-glide64mk2/Makefile @@ -1,22 +1,20 @@ -# Created by: Jose Alonso Cardenas Marquez - PORTREVISION= 20 PKGNAMESUFFIX= -video-glide64mk2 COMMENT= Glide64mk2 video plugin for Mupen64Plus LIB_DEPENDS= libmupen64plus.so.2:emulators/mupen64plus-core \ libboost_thread.so:devel/boost-libs USES+= gl sdl USE_GL= gl USE_SDL= sdl2 MASTERDIR= ${.CURDIR}/../mupen64plus-core OPTIONS_DEFINE= # CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/${PORTNAME} LDFLAGS+= -L${LOCALBASE}/lib .include "${MASTERDIR}/Makefile" diff --git a/emulators/mupen64plus-video-rice/Makefile b/emulators/mupen64plus-video-rice/Makefile index fe7205417e69..1573fbc4568d 100644 --- a/emulators/mupen64plus-video-rice/Makefile +++ b/emulators/mupen64plus-video-rice/Makefile @@ -1,15 +1,13 @@ -# Created by: Jose Alonso Cardenas Marquez - PORTREVISION= 2 PKGNAMESUFFIX= -video-rice COMMENT= The rice graphics plugin for Mupen64plus USES= gl USE_GL= gl MASTERDIR= ${.CURDIR}/../mupen64plus-core OPTIONS_DEFINE= # .include "${MASTERDIR}/Makefile" diff --git a/emulators/mupen64plus-video-z64/Makefile b/emulators/mupen64plus-video-z64/Makefile index 3878330b0f33..25a2da22a310 100644 --- a/emulators/mupen64plus-video-z64/Makefile +++ b/emulators/mupen64plus-video-z64/Makefile @@ -1,27 +1,25 @@ -# Created by: Jose Alonso Cardenas Marquez - PORTREVISION= 3 PKGNAMESUFFIX= -video-z64 DISTFILES= ${PORTNAME}${PKGNAMESUFFIX}-src-${PORTVERSION}${EXTRACT_SUFX}:plugin COMMENT= Low-level RDP plugin for the Mupen64Plus LIB_DEPENDS= libmupen64plus.so.2:emulators/mupen64plus-core USES= gl sdl USE_GL= gl glu glew USE_SDL= sdl2 MASTERDIR= ${.CURDIR}/../mupen64plus-core OPTIONS_DEFINE= # CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/GL -I${LOCALBASE}/include/${PORTNAME} LDFLAGS+= -L${LOCALBASE}/lib DISTINFO_FILE= ${.CURDIR}/distinfo EXTRACT_AFTER_ARGS= # BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}${PKGNAMESUFFIX}/projects/unix WRKSRC= ${WRKDIR} .include "${MASTERDIR}/Makefile" diff --git a/emulators/mupen64plus/Makefile b/emulators/mupen64plus/Makefile index 375d2de16869..4e73be98887d 100644 --- a/emulators/mupen64plus/Makefile +++ b/emulators/mupen64plus/Makefile @@ -1,30 +1,28 @@ -# Created by: Jose Alonso Cardenas Marquez - PORTNAME= mupen64plus PORTVERSION= 2.5 PORTREVISION?= 0 CATEGORIES= emulators MAINTAINER?= acm@FreeBSD.org COMMENT= Fork of Mupen64 Nintendo 64 emulator with plugins (meta port) # Mupen64 Emulator core and ui-console RUN_DEPENDS+= ${LOCALBASE}/lib/libmupen64plus.so.2:emulators/mupen64plus-core RUN_DEPENDS+= mupen64plus:emulators/mupen64plus-ui-console # Audio plugins RUN_DEPENDS+= ${LOCALBASE}/lib/${PORTNAME}/mupen64plus-audio-sdl.so:emulators/mupen64plus-audio-sdl # Input plugins RUN_DEPENDS+= ${LOCALBASE}/lib/${PORTNAME}/mupen64plus-input-sdl.so:emulators/mupen64plus-input-sdl # Graphics plugins RUN_DEPENDS+= ${LOCALBASE}/lib/${PORTNAME}/mupen64plus-video-rice.so:emulators/mupen64plus-video-rice RUN_DEPENDS+= ${LOCALBASE}/lib/${PORTNAME}/mupen64plus-video-glide64mk2.so:emulators/mupen64plus-video-glide64mk2 # RSP plugins RUN_DEPENDS+= ${LOCALBASE}/lib/${PORTNAME}/mupen64plus-rsp-hle.so:emulators/mupen64plus-rsp-hle USES= metaport .include diff --git a/emulators/o2em/Makefile b/emulators/o2em/Makefile index 8a443cf1cdf0..07d66619a736 100644 --- a/emulators/o2em/Makefile +++ b/emulators/o2em/Makefile @@ -1,42 +1,40 @@ -# Created by: Gunter Wambaugh - PORTNAME= o2em PORTVERSION= 1.17 PORTREVISION= 4 CATEGORIES= emulators games MASTER_SITES= SF/${PORTNAME}/OldFiles:1 \ http://o2em.sourceforge.net/files/:2 DISTFILES= o2em117src.zip:1 \ o2mainsamp.zip:2 MAINTAINER= techgunter@yahoo.com COMMENT= Odyssey2 / Videopac console emulator LIB_DEPENDS= liballeg.so:devel/allegro WRKSRC= ${WRKDIR}/o2em117src MAKEFILE= Makefile.freebsd USES= gmake zip LDFLAGS+= -lpthread OPTIONS_DEFINE= DOCS post-extract: @${FIND} -E ${WRKDIR} -type f -iregex ".*\.(c|h|txt)" -print0 | \ ${XARGS} -0 ${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/o2em ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/src/dis48 ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME} @${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}/bios ${INSTALL_DATA} ${WRKSRC}/O2ROM.BIN ${STAGEDIR}${PREFIX}/${PORTNAME}/bios/o2rom.bin @${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}/voice ${INSTALL_DATA} ${WRKDIR}/*.WAV ${STAGEDIR}${PREFIX}/${PORTNAME}/voice/ @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/O2EM.txt ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/changelog.txt ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/license.txt ${STAGEDIR}${DOCSDIR} ${MKDIR} ${STAGEDIR}${PREFIX}/o2em/roms .include diff --git a/emulators/ods2reader/Makefile b/emulators/ods2reader/Makefile index bfcad66e5d44..716c9810c14e 100644 --- a/emulators/ods2reader/Makefile +++ b/emulators/ods2reader/Makefile @@ -1,30 +1,28 @@ -# Created by: Jeffrey H. Johnson - PORTNAME= ods2reader PORTVERSION= 19930601 PORTREVISION= 1 CATEGORIES= emulators sysutils MASTER_SITES= http://www.vsm.com.au/ftp/KITS/ \ http://vms.process.com/ftp/vms-freeware/fileserv/ DISTNAME= ODS-2-READER EXTRACT_SUFX= .ZIP MAINTAINER= ak@FreeBSD.org COMMENT= Copies files from VMS Files-11 (ODS2) file systems USES= zip NO_WRKSUBDIR= yes PLIST_FILES= bin/ods2reader post-extract: # The source is in OpenVMS' variable-length record format @${SH} ${FILESDIR}/vmsvlr2unix.sh \ ${WRKSRC}/ods-2-reader.c > ${WRKSRC}/ods-2-reader.new.c do-build: ${CC} ${CFLAGS} -o ${WRKSRC}/ods2reader ${WRKSRC}/ods-2-reader.new.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ods2reader ${STAGEDIR}${PREFIX}/bin .include diff --git a/emulators/open-vm-tools/Makefile b/emulators/open-vm-tools/Makefile index 7808a0980de0..3d626f0a84af 100644 --- a/emulators/open-vm-tools/Makefile +++ b/emulators/open-vm-tools/Makefile @@ -1,92 +1,90 @@ -# Created by: mbr@FreeBSD.org - PORTNAME= open-vm-tools PORTVERSION= 12.0.0 DISTVERSIONPREFIX= stable- PORTEPOCH= 2 CATEGORIES= emulators MAINTAINER= garga@FreeBSD.org COMMENT= Open VMware tools for FreeBSD VMware guests ${${FLAVOR}_COMMENT} LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING ONLY_FOR_ARCHS= aarch64 amd64 i386 LIB_DEPENDS= libdnet.so:net/libdnet \ libmspack.so:archivers/libmspack FLAVORS= default nox11 default_CONFLICTS_INSTALL= open-vm-tools-nox11 nox11_PKGNAMESUFFIX= -nox11 nox11_CONFLICTS_INSTALL= open-vm-tools nox11_COMMENT= (without X11) USES= autoreconf gettext-runtime gnome kmod libtool localbase \ pathfix pkgconfig USE_GITHUB= yes GH_ACCOUNT= vmware USE_GNOME= glib20 USE_LDCONFIG= yes USE_RC_SUBR= vmware-guestd vmware-kmod GNU_CONFIGURE= yes CONFIGURE_ARGS+=--disable-vgauth \ --enable-containerinfo=no \ --sysconfdir=${PREFIX}/etc \ --without-icu CONFIGURE_ENV+= SYSDIR=${SRC_BASE}/sys INSTALL_TARGET= install-strip CPPFLAGS+= -Wno-deprecated-declarations SSP_UNSAFE= kernel module does not support ssp WRKSRC_SUBDIR= open-vm-tools PORTDOCS= * OPTIONS_DEFINE= DOCS FUSE LIBNOTIFY OPENSSL X11 OPTIONS_DEFAULT=DOCS FUSE LIBNOTIFY OPENSSL X11 .if ${FLAVOR:U} == nox11 OPTIONS_EXCLUDE:= LIBNOTIFY X11 .endif OPTIONS_SUB= LIBNOTIFY_DESC= Desktop notification support DOCS_BUILD_DEPENDS= doxygen:devel/doxygen DOCS_CONFIGURE_ENABLE= docs FUSE_USES= fuse LIBNOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify OPENSSL_CONFIGURE_WITH= ssl X11_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 X11_USES= xorg X11_USE= GNOME=gdkpixbuf2,gtk30,gtkmm30 \ XORG=ice,sm,x11,xext,xi,xinerama,xorgproto,xrandr,xrender,xtst X11_CONFIGURE_WITH= gtk3 gtkmm3 x post-patch: @${REINPLACE_CMD} -e "s@%%PREFIX%%@${PREFIX}@"\ ${WRKSRC}/lib/guestApp/guestApp.c post-build: cd ${WRKSRC}/modules && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/vmware-tools/modules/drivers ${MKDIR} ${STAGEDIR}${PREFIX}/lib/vmware-tools/modules/input ${INSTALL_DATA} ${WRKSRC}/modules/freebsd/vmblock.ko \ ${STAGEDIR}${PREFIX}/lib/vmware-tools/modules/drivers/vmblock.ko ${INSTALL_DATA} ${WRKSRC}/modules/freebsd/vmmemctl.ko \ ${STAGEDIR}${PREFIX}/lib/vmware-tools/modules/drivers/vmmemctl.ko ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/tools.conf \ ${STAGEDIR}${DATADIR}/tools.conf.sample ${MKDIR} ${STAGEDIR}${PREFIX}/share/open-vm-tools/scripts/vmware/ ${MKDIR} ${STAGEDIR}${PREFIX}/share/open-vm-tools/tests/ .include diff --git a/emulators/p5-Acme-6502/Makefile b/emulators/p5-Acme-6502/Makefile index 764786c175b1..2954f26989ab 100644 --- a/emulators/p5-Acme-6502/Makefile +++ b/emulators/p5-Acme-6502/Makefile @@ -1,22 +1,20 @@ -# Created by: Steven Kreuzer - PORTNAME= Acme-6502 PORTVERSION= 0.77 PORTREVISION= 2 CATEGORIES= emulators perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= skreuzer@FreeBSD.org COMMENT= Pure Perl 65C02 simulator LICENSE= ART10 GPLv1+ LICENSE_COMB= dual BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Term-ReadKey>=2.30:devel/p5-Term-ReadKey USES= perl5 USE_PERL5= modbuild .include diff --git a/emulators/parallels-tools/Makefile b/emulators/parallels-tools/Makefile index a47ad533151b..cb81d915401b 100644 --- a/emulators/parallels-tools/Makefile +++ b/emulators/parallels-tools/Makefile @@ -1,20 +1,18 @@ -# Created by: Alexander Nedotsukov - PORTNAME= parallels-tools PORTVERSION= 0.1.2 PORTREVISION= 1 CATEGORIES= emulators MASTER_SITES= LOCAL/bland MAINTAINER= bland@FreeBSD.org COMMENT= Parallels Desktop Tools for FreeBSD LICENSE= BSD2CLAUSE ONLY_FOR_ARCHS= amd64 i386 USES= kmod tar:bzip2 uidfix PLIST_FILES= ${KMODDIR}/if_pvmnet.ko .include diff --git a/emulators/pcemu/Makefile b/emulators/pcemu/Makefile index 09ec607f0950..0f2369a04717 100644 --- a/emulators/pcemu/Makefile +++ b/emulators/pcemu/Makefile @@ -1,22 +1,20 @@ -# Created by: joerg - PORTNAME= pcemu PORTVERSION= 1.01b PORTREVISION= 6 CATEGORIES= emulators MASTER_SITES= LOCAL/joerg DISTNAME= pcemu1.01alpha MAINTAINER= joerg@FreeBSD.org COMMENT= 8086 PC emulator, by David Hedley BUILD_DEPENDS= bdftopcf:x11-fonts/bdftopcf RUN_DEPENDS= mkfontscale:x11-fonts/mkfontscale USES= dos2unix xorg fonts USE_XORG= x11 xext DOS2UNIX_FILES= programs/config.sys MAKE_ENV= FILESDIR=${FILESDIR} STAGEDIR=${STAGEDIR} FONTSDIR=${FONTSDIR} MAKE_ARGS= CC="${CC}" .include diff --git a/emulators/pcsxr/Makefile b/emulators/pcsxr/Makefile index a3b7389bf05a..430d51f2640e 100644 --- a/emulators/pcsxr/Makefile +++ b/emulators/pcsxr/Makefile @@ -1,88 +1,86 @@ -# Created by: Ganael Laplanche - PORTNAME= pcsxr PORTVERSION= 1.9.95.20180604 PORTREVISION= 5 CATEGORIES= emulators MAINTAINER= martymac@FreeBSD.org COMMENT= Playstation (PSX) emulator LICENSE= GPLv3+ ONLY_FOR_ARCHS= amd64 i386 LIB_DEPENDS= libvorbis.so:audio/libvorbis \ libcdio.so:sysutils/libcdio \ libavformat.so:multimedia/ffmpeg USES= cmake desktop-file-utils dos2unix gettext gl gnome iconv \ libarchive libtool pkgconfig sdl tar:bzip2 xorg USE_GITHUB= yes GH_ACCOUNT= martymac GH_TAGNAME= codeplex-final USE_LDCONFIG= yes USE_GNOME= cairo gdkpixbuf2 gtk30 intltool glib20 USE_XORG= ice sm x11 xv xext xxf86vm xtst USE_SDL= sdl2 USE_GL= gl WRKSRC_SUBDIR= ${PORTNAME} CFLAGS+= -I${LOCALBASE}/include/harfbuzz CMAKE_ARGS+= -DDL_LIB:STRING="" \ -DMANPREFIX:STRING="${MANPREFIX}" \ -DBUILD_OPENGL:BOOL=ON \ -DBUILD_SIO1:BOOL=ON \ -DUSE_LIBCDIO:BOOL=ON \ -DENABLE_CCDDA:BOOL=ON \ -DUSE_LIBARCHIVE:BOOL=ON DOS2UNIX_REGEX= .*\.(c|h|cpp|hpp|am) PORTDOCS= ChangeLog README # Default CDROM device to use with dfcdrom, # accessed through libcdio (using cam(4) and pass(4)) DEFAULT_DVD_DEVICE?= /dev/cd0 # XXX Gettext support is mandatory and cannot really be disabled. # The following option only enables/disables building *additional* translations OPTIONS_DEFINE= NLS DOCS OPTIONS_SUB= yes NLS_DESC= Build additional NLS translations NLS_CMAKE_ON= -DDISABLE_NLS_TRANSLATIONS:BOOL=OFF NLS_CMAKE_OFF= -DDISABLE_NLS_TRANSLATIONS:BOOL=ON .include post-patch: # Add ${PREFIX} to plugins' lookup directories @${REINPLACE_CMD} "s|%%PREFIX%%|${PREFIX}|" \ ${WRKSRC}/gui/LnxMain.c # Set default CDROM device @${REINPLACE_CMD} "s|%%DVD_DEVICE%%|${DEFAULT_DVD_DEVICE}|" \ ${WRKSRC}/plugins/dfcdrom/cdr.h # Fix PSEMU_DATA_DIR and DEF_PLUGIN_DIR @${REINPLACE_CMD} \ -e "s|games/||g" \ -e "s|psemu|${PORTNAME}|g" \ ${WRKSRC}/gui/CMakeLists.txt \ ${WRKSRC}/plugins/bladesio1/CMakeLists.txt \ ${WRKSRC}/plugins/dfcdrom/CMakeLists.txt \ ${WRKSRC}/plugins/dfinput/CMakeLists.txt \ ${WRKSRC}/plugins/dfnet/CMakeLists.txt \ ${WRKSRC}/plugins/dfsound/CMakeLists.txt \ ${WRKSRC}/plugins/dfxvideo/CMakeLists.txt \ ${WRKSRC}/plugins/nullsio1/CMakeLists.txt \ ${WRKSRC}/plugins/peopsxgl/CMakeLists.txt post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/emulators/qemu-devel/Makefile b/emulators/qemu-devel/Makefile index f600a58cc424..a65629964856 100644 --- a/emulators/qemu-devel/Makefile +++ b/emulators/qemu-devel/Makefile @@ -1,165 +1,163 @@ -# Created by: Juergen Lock - PORTNAME= qemu DISTVERSION= 6.1.0.20210928 PORTREVISION= 2 CATEGORIES= emulators PKGNAMESUFFIX= -devel DIST_SUBDIR= qemu/${PORTVERSION} MAINTAINER= bofh@FreeBSD.org COMMENT= QEMU CPU Emulator - development version LICENSE= GPLv2 ONLY_FOR_ARCHS= amd64 powerpc powerpc64 powerpc64 powerpc64le BUILD_DEPENDS= sphinx-build:textproc/py-sphinx \ ${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>0:textproc/py-sphinx_rtd_theme@${PY_FLAVOR} \ bash:shells/bash LIB_DEPENDS= libepoxy.so:graphics/libepoxy \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libnettle.so:security/nettle \ libpcre2-8.so:devel/pcre2 \ libzstd.so:archivers/zstd USES= bison compiler:c11 cpe gmake gnome iconv:wchar_t ninja perl5 \ pkgconfig python:build tar:xz xorg USE_GITLAB= yes USE_GNOME= cairo glib20 libxml2 USE_PERL5= build USE_PYTHON= distutils noflavors USE_XORG= pixman GL_COMMIT= de8ed1055c2ce18c95f597eb10df360dcb534f99 GL_TUPLE= qemu-project:keycodemapdb:d21009b1c9f94b740ea66be8e48a1d8ad8124023:keycodemapdb/ui/keycodemapdb \ qemu-project:dtc:e33ce1d6a8c7e54e3ad12cff33690b6da0aee1dc:dtc/dtc \ qemu-project:meson:5fa0fd3b473f792bd7333cf6ae6e2f4c851b6108:meson/meson \ qemu-project:berkeley-softfloat-3:b64af41c3276f97f0e181920400ee056b9c88037:berkeleysoftfloat3/tests/fp/berkeley-softfloat-3 \ qemu-project:berkeley-testfloat-3:5a59dcec19327396a011a17fd924aed4fec416b3:berkeleytestfloat3/tests/fp/berkeley-testfloat-3 #.if !defined(PKGNAMESUFFIX) || (${PKGNAMESUFFIX} != "-utils" && ${PKGNAMESUFFIX} != "-guest-agent") #.endif HAS_CONFIGURE= yes OPTIONS_SINGLE= NCURSES OPTIONS_SINGLE_NCURSES= NCURSES_DEFAULT NCURSES_BASE NCURSES_PORT OPTIONS_DEFINE= SAMBA X11 GTK3 OPENGL GNUTLS SASL JPEG PNG CURL VDE \ CDROM_DMA USBREDIR X86_TARGETS STATIC_LINK DOCS CAPSTONE OPTIONS_DEFAULT=X11 GTK3 OPENGL GNUTLS SASL JPEG PNG CDROM_DMA CURL NCURSES_DEFAULT VDE \ CAPSTONE OPTIONS_SUB= yes CAPSTONE_DESC= Disassembly framework support CDROM_DMA_DESC= IDE CDROM DMA GNUTLS_DESC= gnutls dependency (vnc encryption) JPEG_DESC= jpeg dependency (vnc lossy compression) NCURSES_DEFAULT_DESC= Depend on ncurses (ports if installed, otherwise base) NCURSES_BASE_DESC= Depend on ncurses in base NCURSES_PORT_DESC= Depend on devel/ncurses in ports PNG_DESC= png dependency (vnc compression) SAMBA_DESC= samba dependency (for -smb) SASL_DESC= cyrus-sasl dependency (vnc encryption) STATIC_LINK_DESC= Statically link the executables USBREDIR_DESC= usb device network redirection (experimental!) VDE_DESC= vde dependency (for vde networking) X86_TARGETS_DESC= Build only x86 system targets CAPSTONE_CONFIGURE_ON= --enable-capstone=system --extra-cflags=-I${LOCALBASE}/include/capstone CAPSTONE_CONFIGURE_OFF= --disable-capstone CAPSTONE_LIB_DEPENDS= libcapstone.so:devel/capstone4 CURL_CONFIGURE_OFF= --disable-curl CURL_LIB_DEPENDS= libcurl.so:ftp/curl DOCS_CONFIGURE_ENABLE= docs DOCS_USES= makeinfo GNUTLS_CONFIGURE_OFF= --disable-gnutls GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GTK3_CONFIGURE_OFF= --disable-gtk --disable-vte GTK3_LIB_DEPENDS= libxkbcommon.so:x11/libxkbcommon GTK3_USE= GNOME=gdkpixbuf2,gtk30,vte3 XORG=x11,xext GTK3_USES= gettext gl JPEG_CONFIGURE_OFF= --disable-vnc-jpeg JPEG_USES= jpeg NCURSES_DEFAULT_USES= ncurses NCURSES_BASE_USES= ncurses:base NCURSES_PORT_USES= ncurses:port OPENGL_CONFIGURE_OFF= --disable-opengl OPENGL_USE= GL=gbm,gl OPENGL_USES= gl PNG_CONFIGURE_OFF= --disable-vnc-png PNG_LIB_DEPENDS= libpng.so:graphics/png SAMBA_CONFIGURE_ON= --smbd=${LOCALBASE}/sbin/smbd SASL_CONFIGURE_OFF= --disable-vnc-sasl SAMBA_USES= samba:run # smbd SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 STATIC_LINK_CONFIGURE_ON= --static STATIC_LINK_PREVENTS= GTK3 X11 STATIC_LINK_PREVENTS_MSG= X11 ui cannot be built static USBREDIR_BUILD_DEPENDS= usbredir>=0.6:net/usbredir USBREDIR_CONFIGURE_OFF= --disable-usb-redir USBREDIR_RUN_DEPENDS= usbredir>=0.6:net/usbredir VDE_CONFIGURE_OFF= --disable-vde VDE_LIB_DEPENDS= libvdeplug.so:net/vde2 X11_CONFIGURE_ENABLE= sdl X11_USE= SDL=sdl2 XORG=x11,xext GNOME=gdkpixbuf2 X11_USES= sdl PORTDOCS= .buildinfo _static/* about/* devel/* docs genindex.html \ index.html interop/* objects.inv search.html searchindex.js \ specs/* system/* tools/* user/* WITHOUT_CPU_CFLAGS=yes #to avoid problems with register allocation CFLAGS:= ${CFLAGS:C/-fno-tree-vrp//} CONFIGURE_ARGS= --localstatedir=/var --extra-ldflags=-L\"/usr/lib\" \ --extra-ldflags=-L\"${LOCALBASE}/lib\" --enable-debug \ --prefix=${PREFIX} --cc=${CC} --enable-netmap --disable-kvm \ --disable-linux-user --disable-linux-aio --disable-xen \ --enable-debug-info --python=${PYTHON_CMD} \ --extra-cflags=-I${WRKSRC}\ -I${LOCALBASE}/include\ -DPREFIX=\\\"\"${PREFIX}\\\"\" .include .if !defined(STRIP) || ${STRIP} == "" CONFIGURE_ARGS+=--disable-strip .endif .if ${ARCH} == "amd64" MAKE_ARGS+= ARCH=x86_64 .endif .if ${ARCH} == "powerpc" CFLAGS+= -D_CALL_SYSV MAKE_ARGS+= ARCH=ppc USE_GCC= yes .endif .if ${ARCH} == "powerpc64" MAKE_ARGS+= ARCH=ppc64 .endif .if ${ARCH} == "sparc64" CONFIGURE_ARGS+= --sparc_cpu=v9 .endif PLIST_SUB+= LINUXBOOT_DMA="" post-patch-CDROM_DMA-off: @${REINPLACE_CMD} -e '/USE_DMA_CDROM/d' ${WRKSRC}/include/hw/ide/internal.h do-build: cd ${WRKSRC} && ${GMAKE} do-install: cd ${WRKSRC} && ${SETENV} DESTDIR=${STAGEDIR} ${GMAKE} install .if !target(post-install) post-install: ${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifup.sample ${STAGEDIR}${PREFIX}/etc ${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifdown.sample ${STAGEDIR}${PREFIX}/etc @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qemu-* post-install-DOCS-on: @(cd ${WRKSRC} && ${COPYTREE_SHARE} docs ${STAGEDIR}${DOCSDIR}/) .endif .include diff --git a/emulators/qemu-guest-agent/Makefile b/emulators/qemu-guest-agent/Makefile index 21b02023f317..e95bdeaaa77f 100644 --- a/emulators/qemu-guest-agent/Makefile +++ b/emulators/qemu-guest-agent/Makefile @@ -1,175 +1,173 @@ -# Created by: Kaltashkin Eugene - PORTNAME= qemu DISTVERSION= 5.0.1 CATEGORIES= emulators MASTER_SITES= https://download.qemu.org/ PKGNAMESUFFIX= -guest-agent MAINTAINER= zhecka@gmail.com COMMENT= QEMU guest-agent utilities LICENSE= GPLv2 DIST_SUBDIR= qemu/${PORTVERSION} FILESDIR= ${.CURDIR}/files HAS_CONFIGURE= yes USES= compiler:c++11-lang gmake gnome pkgconfig python:build tar:xz USE_GNOME= glib20 USE_RC_SUBR= qemu-guest-agent MAKE_ENV+= BSD_MAKE="${MAKE}" PREFIX=${PREFIX} OPTIONS_EXCLUDE=SAMBA X11 GTK3 OPENGL GNUTLS SASL JPEG PNG CURL \ CDROM_DMA PCAP USBREDIR GNS3 X86_TARGETS DOCS\ STATIC_LINK NCURSES VDE PLIST= ${.CURDIR}/pkg-plist DESCR= ${.CURDIR}/pkg-descr CONFIGURE_ARGS?=--localstatedir=/var --extra-ldflags=-L\"${LOCALBASE}/lib\" \ --mandir=${MANPREFIX}/man \ --prefix=${PREFIX} --cc=${CC} --disable-kvm \ --python=${PYTHON_CMD} \ --extra-cflags=-I${WRKSRC}\ -I${LOCALBASE}/include\ -DPREFIX=\\\"\"${PREFIX}\\\"\"\ -DBSD_GUEST_AGENT\ -DFREEBSD \ --disable-blobs \ --disable-system \ --disable-user \ --disable-linux-user \ --disable-bsd-user \ --disable-docs \ --enable-guest-agent \ --disable-guest-agent-msi \ --disable-pie \ --disable-modules \ --disable-module-upgrades \ --disable-debug-tcg \ --disable-debug-info \ --disable-sparse \ --disable-gnutls \ --disable-nettle \ --disable-gcrypt \ --disable-auth-pam \ --disable-sdl \ --disable-sdl-image \ --disable-gtk \ --disable-vte \ --disable-curses \ --disable-iconv \ --disable-vnc \ --disable-vnc-sasl \ --disable-vnc-jpeg \ --disable-vnc-png \ --disable-cocoa \ --disable-virtfs \ --disable-mpath \ --disable-xen \ --disable-xen-pci-passthrough \ --disable-brlapi \ --disable-curl \ --disable-membarrier \ --disable-fdt \ --disable-kvm \ --disable-hax \ --disable-hvf \ --disable-whpx \ --disable-rdma \ --disable-pvrdma \ --disable-vde \ --disable-netmap \ --disable-linux-aio \ --disable-linux-io-uring \ --disable-cap-ng \ --disable-attr \ --disable-vhost-net \ --disable-vhost-vsock \ --disable-vhost-scsi \ --disable-vhost-crypto \ --disable-vhost-kernel \ --disable-vhost-user \ --disable-spice \ --disable-rbd \ --disable-libiscsi \ --disable-libnfs \ --disable-smartcard \ --disable-libusb \ --disable-live-block-migration \ --disable-usb-redir \ --disable-lzo \ --disable-snappy \ --disable-bzip2 \ --disable-lzfse \ --disable-zstd \ --disable-seccomp \ --disable-coroutine-pool \ --disable-glusterfs \ --disable-tpm \ --disable-libssh \ --disable-numa \ --disable-libxml2 \ --disable-tcmalloc \ --disable-jemalloc \ --disable-avx2 \ --disable-avx512f \ --disable-replication \ --disable-opengl \ --disable-virglrenderer \ --disable-xfsctl \ --disable-qom-cast-debug \ --enable-tools \ --disable-vxhs \ --disable-bochs \ --disable-cloop \ --disable-dmg \ --disable-qcow1 \ --disable-vdi \ --disable-vvfat \ --disable-qed \ --disable-parallels \ --disable-sheepdog \ --disable-crypto-afalg \ --disable-capstone \ --disable-debug-mutex \ --disable-libpmem \ --disable-xkbcommon post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qemu-* @${RM} ${STAGEDIR}${PREFIX}/bin/qemu-nbd @${RM} ${STAGEDIR}${PREFIX}/bin/qemu-edid @${RM} ${STAGEDIR}${PREFIX}/bin/qemu-img @${RM} ${STAGEDIR}${PREFIX}/bin/qemu-io @${RMDIR} ${STAGEDIR}${DATADIR} ${MKDIR} ${STAGEDIR}${PREFIX}/qemu .include .if !defined(STRIP) || ${STRIP} == "" CONFIGURE_ARGS+=--disable-strip .endif .if ${ARCH} == "amd64" MAKE_ARGS+= ARCH=x86_64 .endif .if ${ARCH} == "powerpc" MAKE_ARGS+= ARCH=ppc .endif .if ${ARCH} == "powerpc64" MAKE_ARGS+= ARCH=ppc64 .endif .if ${ARCH} == "sparc64" CONFIGURE_ARGS+= --sparc_cpu=v9 .endif PLIST_SUB+= LINUXBOOT_DMA="" # XXX need to disable usb host code on head while it's not ported to the # new usb stack yet post-configure: @${REINPLACE_CMD} -E \ -e "s|^(HOST_USB=)bsd|\1stub|" \ ${WRKSRC}/config-host.mak .include diff --git a/emulators/qemu/Makefile b/emulators/qemu/Makefile index 44097753b44d..e33db767dff6 100644 --- a/emulators/qemu/Makefile +++ b/emulators/qemu/Makefile @@ -1,249 +1,247 @@ -# Created by: Juergen Lock - PORTNAME= qemu PORTVERSION= 7.0.0 PORTREVISION= 1 CATEGORIES= emulators MASTER_SITES= https://download.qemu.org/ DIST_SUBDIR= qemu/${PORTVERSION} MAINTAINER= bofh@FreeBSD.org COMMENT= QEMU CPU Emulator ${${FLAVOR}_COMMENT} LICENSE= GPLv2 .if ${FLAVOR:U} != tools ONLY_FOR_ARCHS= amd64 powerpc64 # We need to check if it build with other ARCHS # For i386 we have unknown type name 'vm_page_t' # ONLY_FOR_ARCHS= powerpc64le .endif BUILD_DEPENDS= bash:shells/bash .if ${FLAVOR:U} != tools LIB_DEPENDS+= libfdt.so:sysutils/dtc \ libzstd.so:archivers/zstd .endif .if (${FLAVOR:U} != nox11 && ${FLAVOR:U} != tools) LIB_DEPENDS+= libepoxy.so:graphics/libepoxy .endif FLAVORS= default nox11 tools FLAVOR?= ${FLAVORS:[1]} default_CONFLICTS_INSTALL= qemu-devel qemu-nox11 qemu-tools qemu-utils \ qemu5* qemu6* nox11_PKGNAMESUFFIX= -nox11 nox11_CONFLICTS_INSTALL= qemu qemu-devel qemu5* qemu6* nox11_COMMENT= (without X11) tools_PKGNAMESUFFIX= -tools tools_COMMENT= (tools only) tools_CONFLICTS_INSTALL= qemu qemu-devel qemu-nox11 qemu-utils qemu5* \ qemu6* tools_DESCR= ${.CURDIR}/pkg-descr-tools tools_PLIST= ${.CURDIR}/pkg-plist-tools USES= cpe gmake gnome ninja perl5 pkgconfig python:build tar:xz USE_GNOME= glib20 USE_PERL5= build .if ${FLAVOR:U} != tools USES+= iconv:wchar_t .endif .if (${FLAVOR:U} != nox11 && ${FLAVOR:U} != tools) USE_GNOME+= cairo .endif HAS_CONFIGURE= yes CONFIGURE_ARGS+= --cc=${CC} \ --disable-kvm \ --disable-linux-aio \ --disable-linux-user \ --disable-xen \ --extra-cflags=-I${WRKSRC}\ -I${LOCALBASE}/include\ -DPREFIX=\\\"\"${PREFIX}\\\"\" \ --extra-ldflags=-L${LOCALBASE}/lib \ --extra-ldflags=-L/usr/lib \ --localstatedir=/var \ --mandir=${PREFIX}/man \ --prefix=${PREFIX} \ --python=${PYTHON_CMD} .if ${FLAVOR:U} != tools CONFIGURE_ARGS+= --enable-fdt=system \ --enable-netmap .endif .if ${FLAVOR:U} == tools CONFIGURE_ARGS+= --disable-attr \ --disable-blobs \ --disable-brlapi \ --disable-bzip2 \ --disable-cap-ng \ --disable-coroutine-pool \ --disable-curses \ --disable-fdt \ --disable-gcrypt \ --disable-glusterfs \ --disable-guest-agent \ --disable-libnfs \ --disable-libusb \ --disable-lzo \ --disable-netmap \ --disable-nettle \ --disable-numa \ --disable-rbd \ --disable-rdma \ --disable-seccomp \ --disable-smartcard \ --disable-snappy \ --disable-spice \ --disable-system \ --disable-tpm \ --disable-user \ --disable-vhost-net \ --disable-virtfs \ --disable-vnc \ --enable-tools .endif CFLAGS:= ${CFLAGS:C/-fno-tree-vrp//} WITHOUT_CPU_CFLAGS= yes #to avoid problems with register allocation PORTDOCS= .buildinfo _static/* about/* dbus-dbusindex.html devel/* docs \ genindex.html index.html interop/* objects.inv search.html \ searchindex.js specs/* system/* tools/* user/* OPTIONS_DEFINE= CAPSTONE CDROM_DMA CURL DEBUG DOCS GNUTLS GTK3 \ ISCSI JPEG OPENGL PNG SAMBA SASL STATIC_LINK \ STRIP USBREDIR VDE X11 X86_TARGETS OPTIONS_DEFAULT= CDROM_DMA CURL GNUTLS GTK3 JPEG NCURSES_DEFAULT \ OPENGL PNG SASL VDE X11 OPTIONS_SINGLE= NCURSES OPTIONS_SINGLE_NCURSES= NCURSES_BASE NCURSES_DEFAULT NCURSES_PORT .if ${FLAVOR:U} == nox11 OPTIONS_EXCLUDE:= GTK3 X11 .endif .if ${FLAVOR:U} == tools OPTIONS_EXCLUDE:= CAPSTONE CDROM_DMA CURL DEBUG GNUTLS GTK3 ISCSI \ JPEG NCURSES NCURSES_BASE NCURSES_DEFAULT \ NCURSES_PORT OPENGL PNG SAMBA SASL STATIC_LINK \ USBREDIR VDE X11 X86_TARGETS .endif OPTIONS_SUB= yes CAPSTONE_DESC= Disassembly framework support CDROM_DMA_DESC= IDE CDROM DMA GNUTLS_DESC= gnutls dependency (vnc encryption) ISCSI_DESC= libiscsi dependency (iSCSI client for emulated drives) JPEG_DESC= jpeg dependency (vnc lossy compression) NCURSES_BASE_DESC= Depend on ncurses in base NCURSES_DEFAULT_DESC= Depend on ncurses (ports if installed, otherwise base) NCURSES_PORT_DESC= Depend on devel/ncurses in ports PNG_DESC= png dependency (vnc compression) SAMBA_DESC= samba dependency (for -smb) SASL_DESC= cyrus-sasl dependency (vnc encryption) STATIC_LINK_DESC= Statically link the executables USBREDIR_DESC= usb device network redirection (experimental!) VDE_DESC= vde dependency (for vde networking) X86_TARGETS_DESC= Build only x86 system targets CAPSTONE_LIB_DEPENDS= libcapstone.so:devel/capstone4 CAPSTONE_CONFIGURE_ON= --enable-capstone=system \ --extra-cflags=-I${LOCALBASE}/include/capstone CAPSTONE_CONFIGURE_OFF= --disable-capstone CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_CONFIGURE_OFF= --disable-curl DEBUG_CONFIGURE_ON= --enable-debug DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>0:textproc/py-sphinx_rtd_theme@${PY_FLAVOR} \ sphinx-build:textproc/py-sphinx@${PY_FLAVOR} DOCS_CONFIGURE_ENABLE= docs GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CONFIGURE_OFF= --disable-gnutls GTK3_LIB_DEPENDS= libxkbcommon.so:x11/libxkbcommon GTK3_USES= gettext gl GTK3_USE= GNOME=gdkpixbuf2,gtk30,vte3 \ XORG=x11,xext GTK3_CONFIGURE_OFF= --disable-gtk \ --disable-vte ISCSI_LIB_DEPENDS= libiscsi.so:net/libiscsi ISCSI_CONFIGURE_OFF= --disable-libiscsi JPEG_USES= jpeg JPEG_CONFIGURE_OFF= --disable-vnc-jpeg NCURSES_BASE_USES= ncurses:base NCURSES_DEFAULT_USES= ncurses NCURSES_PORT_USES= ncurses:port OPENGL_USES= gl OPENGL_USE= GL=gbm,gl OPENGL_CONFIGURE_OFF= --disable-opengl PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CONFIGURE_OFF= --disable-vnc-png SAMBA_USES= samba:run # smbd SAMBA_CONFIGURE_ON= --smbd=${LOCALBASE}/sbin/smbd SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 SASL_CONFIGURE_OFF= --disable-vnc-sasl STATIC_LINK_PREVENTS= GTK3 X11 STATIC_LINK_PREVENTS_MSG= X11 ui cannot be built static STATIC_LINK_CONFIGURE_ON= --static STRIP_CONFIGURE_OFF= --disable-strip USBREDIR_BUILD_DEPENDS= usbredir>=0.6:net/usbredir USBREDIR_RUN_DEPENDS= usbredir>=0.6:net/usbredir USBREDIR_CONFIGURE_OFF= --disable-usb-redir VDE_LIB_DEPENDS= libvdeplug.so:net/vde2 VDE_CONFIGURE_OFF= --disable-vde X11_USES= sdl X11_USE= GNOME=gdkpixbuf2 \ SDL=sdl2 \ XORG=x11,xext X11_CONFIGURE_ENABLE= sdl .if (empty(FLAVOR) || ${FLAVOR:U} == default || ${FLAVOR:U} == nox11) && \ (${FLAVOR:U} != tools || ${PKGNAMESUFFIX} != "-guest-agent") X86_TARGETS_USES_OFF= xorg X86_TARGETS_USE_OFF= XORG=pixman,x11 X86_TARGETS_CONFIGURE_ON= --target-list='i386-softmmu i386-bsd-user x86_64-softmmu x86_64-bsd-user' .endif .include .if (empty(FLAVOR) || ${FLAVOR:U} == default || ${FLAVOR:U} == nox11) && \ (${FLAVOR:U} != tools || ${PKGNAMESUFFIX} != "-guest-agent") .if ${ARCH} == "amd64" MAKE_ARGS+= ARCH=x86_64 .endif .if ${ARCH} == "powerpc" CFLAGS+= -D_CALL_SYSV MAKE_ARGS+= ARCH=ppc USE_GCC= yes .endif .if ${ARCH} == "powerpc64" CONFIGURE_ARGS+= --disable-bsd-user MAKE_ARGS+= ARCH=ppc64 PLIST_SUB+= BSDUSER="@comment " .else PLIST_SUB+= BSDUSER="" .endif .if ${ARCH} == "sparc64" CONFIGURE_ARGS+= --sparc_cpu=v9 .endif PLIST_SUB+= LINUXBOOT_DMA="" .endif post-patch-CDROM_DMA-off: @${REINPLACE_CMD} -e '/USE_DMA_CDROM/d' ${WRKSRC}/include/hw/ide/internal.h do-build: cd ${WRKSRC} && ${GMAKE} do-install: cd ${WRKSRC} && ${SETENV} DESTDIR=${STAGEDIR} ${GMAKE} install .if !target(post-install) post-install: .if ${FLAVOR:U} != tools ${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifup.sample ${STAGEDIR}${PREFIX}/etc ${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifdown.sample ${STAGEDIR}${PREFIX}/etc @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qemu-* .endif post-install-DOCS-on: @(cd ${WRKSRC} && ${COPYTREE_SHARE} docs ${STAGEDIR}${DOCSDIR}/) .endif .include diff --git a/emulators/qemu6/Makefile b/emulators/qemu6/Makefile index 8e461a6f046e..ae602326ff38 100644 --- a/emulators/qemu6/Makefile +++ b/emulators/qemu6/Makefile @@ -1,240 +1,238 @@ -# Created by: Juergen Lock - PORTNAME= qemu PORTVERSION= 6.2.0 CATEGORIES= emulators MASTER_SITES= https://download.qemu.org/ DIST_SUBDIR= qemu/${PORTVERSION} MAINTAINER= bofh@FreeBSD.org COMMENT= QEMU CPU Emulator ${${FLAVOR}_COMMENT} - 6.X LICENSE= GPLv2 BUILD_DEPENDS= bash:shells/bash .if ${FLAVOR:U} != tools LIB_DEPENDS+= libfdt.so:sysutils/dtc \ libzstd.so:archivers/zstd .endif .if (${FLAVOR:U} != nox11 && ${FLAVOR:U} != tools) LIB_DEPENDS+= libepoxy.so:graphics/libepoxy .endif FLAVORS= default nox11 tools FLAVOR?= ${FLAVORS:[1]} default_PKGNAMESUFFIX= 6 default_CONFLICTS_INSTALL= qemu-devel qemu-nox11 qemu-tools qemu-utils \ qemu5* nox11_PKGNAMESUFFIX= 6-nox11 nox11_CONFLICTS_INSTALL= qemu qemu-devel qemu42 qemu5* nox11_COMMENT= (without X11) tools_PKGNAMESUFFIX= 6-tools tools_COMMENT= (tools only) tools_CONFLICTS_INSTALL= qemu qemu-devel qemu-nox11 qemu-utils qemu42 \ qemu5* tools_DESCR= ${.CURDIR}/pkg-descr-tools tools_PLIST= ${.CURDIR}/pkg-plist-tools USES= cpe gmake gnome ninja perl5 pkgconfig python:build tar:xz USE_GNOME= glib20 USE_PERL5= build .if ${FLAVOR:U} != tools ONLY_FOR_ARCHS= amd64 i386 powerpc powerpc64 powerpc64 powerpc64le USES+= iconv:wchar_t .endif .if (${FLAVOR:U} != nox11 && ${FLAVOR:U} != tools) USE_GNOME+= cairo .endif HAS_CONFIGURE= yes CONFIGURE_ARGS+= --cc=${CC} \ --disable-kvm \ --disable-linux-aio \ --disable-linux-user \ --disable-xen \ --extra-cflags=-I${WRKSRC}\ -I${LOCALBASE}/include\ -DPREFIX=\\\"\"${PREFIX}\\\"\" \ --extra-ldflags=-L${LOCALBASE}/lib \ --extra-ldflags=-L/usr/lib \ --localstatedir=/var \ --mandir=${PREFIX}/man \ --prefix=${PREFIX} \ --python=${PYTHON_CMD} CFLAGS:= ${CFLAGS:C/-fno-tree-vrp//} WITHOUT_CPU_CFLAGS= yes #to avoid problems with register allocation PORTDOCS= .buildinfo _static/* about/* devel/* docs genindex.html \ index.html interop/* objects.inv search.html searchindex.js \ specs/* system/* tools/* user/* OPTIONS_DEFINE= CAPSTONE CDROM_DMA CURL DEBUG DOCS GNUTLS GTK3 \ ISCSI JPEG OPENGL PNG SAMBA SASL STATIC_LINK \ STRIP USBREDIR VDE X11 X86_TARGETS OPTIONS_DEFAULT= CDROM_DMA CURL GNUTLS GTK3 JPEG NCURSES_DEFAULT \ OPENGL PNG SASL VDE X11 OPTIONS_SINGLE= NCURSES OPTIONS_SINGLE_NCURSES= NCURSES_BASE NCURSES_DEFAULT NCURSES_PORT .if ${FLAVOR:U} == nox11 OPTIONS_EXCLUDE:= GTK3 X11 .endif .if ${FLAVOR:U} == tools OPTIONS_EXCLUDE:= CAPSTONE CDROM_DMA CURL DEBUG GNUTLS GTK3 ISCSI \ JPEG NCURSES NCURSES_BASE NCURSES_DEFAULT \ NCURSES_PORT OPENGL PNG SAMBA SASL STATIC_LINK \ USBREDIR VDE X11 X86_TARGETS .endif OPTIONS_SUB= yes CAPSTONE_DESC= Disassembly framework support CDROM_DMA_DESC= IDE CDROM DMA GNUTLS_DESC= gnutls dependency (vnc encryption) ISCSI_DESC= libiscsi dependency (iSCSI client for emulated drives) JPEG_DESC= jpeg dependency (vnc lossy compression) NCURSES_BASE_DESC= Depend on ncurses in base NCURSES_DEFAULT_DESC= Depend on ncurses (ports if installed, otherwise base) NCURSES_PORT_DESC= Depend on devel/ncurses in ports PNG_DESC= png dependency (vnc compression) SAMBA_DESC= samba dependency (for -smb) SASL_DESC= cyrus-sasl dependency (vnc encryption) STATIC_LINK_DESC= Statically link the executables USBREDIR_DESC= usb device network redirection (experimental!) VDE_DESC= vde dependency (for vde networking) X86_TARGETS_DESC= Build only x86 system targets CAPSTONE_LIB_DEPENDS= libcapstone.so:devel/capstone4 CAPSTONE_CONFIGURE_ON= --enable-capstone=system \ --extra-cflags=-I${LOCALBASE}/include/capstone CAPSTONE_CONFIGURE_OFF= --disable-capstone CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_CONFIGURE_OFF= --disable-curl DEBUG_CONFIGURE_ON= --enable-debug DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>0:textproc/py-sphinx_rtd_theme@${PY_FLAVOR} \ sphinx-build:textproc/py-sphinx@${PY_FLAVOR} DOCS_CONFIGURE_ENABLE= docs GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CONFIGURE_OFF= --disable-gnutls GTK3_LIB_DEPENDS= libxkbcommon.so:x11/libxkbcommon GTK3_USES= gettext gl GTK3_USE= GNOME=gdkpixbuf2,gtk30,vte3 \ XORG=x11,xext GTK3_CONFIGURE_OFF= --disable-gtk \ --disable-vte ISCSI_LIB_DEPENDS= libiscsi.so:net/libiscsi ISCSI_CONFIGURE_OFF= --disable-libiscsi JPEG_USES= jpeg JPEG_CONFIGURE_OFF= --disable-vnc-jpeg NCURSES_BASE_USES= ncurses:base NCURSES_DEFAULT_USES= ncurses NCURSES_PORT_USES= ncurses:port OPENGL_USES= gl OPENGL_USE= GL=gbm,gl OPENGL_CONFIGURE_OFF= --disable-opengl PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CONFIGURE_OFF= --disable-vnc-png SAMBA_USES= samba:run # smbd SAMBA_CONFIGURE_ON= --smbd=${LOCALBASE}/sbin/smbd SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 SASL_CONFIGURE_OFF= --disable-vnc-sasl STATIC_LINK_PREVENTS= GTK3 X11 STATIC_LINK_PREVENTS_MSG= X11 ui cannot be built static STATIC_LINK_CONFIGURE_ON= --static STRIP_CONFIGURE_OFF= --disable-strip USBREDIR_BUILD_DEPENDS= usbredir>=0.6:net/usbredir USBREDIR_RUN_DEPENDS= usbredir>=0.6:net/usbredir USBREDIR_CONFIGURE_OFF= --disable-usb-redir VDE_LIB_DEPENDS= libvdeplug.so:net/vde2 VDE_CONFIGURE_OFF= --disable-vde X11_USES= sdl X11_USE= GNOME=gdkpixbuf2 \ SDL=sdl2 \ XORG=x11,xext X11_CONFIGURE_ENABLE= sdl .if (empty(FLAVOR) || ${FLAVOR:U} == default || ${FLAVOR:U} == nox11) && \ (${FLAVOR:U} != tools || ${PKGNAMESUFFIX} != "-guest-agent") X86_TARGETS_USES_OFF= xorg X86_TARGETS_USE_OFF= XORG=pixman,x11 X86_TARGETS_CONFIGURE_ON= --target-list='i386-softmmu i386-bsd-user x86_64-softmmu x86_64-bsd-user' .endif .if ${FLAVOR:U} != tools CONFIGURE_ARGS+= --enable-fdt=system \ --enable-netmap .endif .if ${FLAVOR:U} == tools CONFIGURE_ARGS+= --disable-attr \ --disable-blobs \ --disable-brlapi \ --disable-bzip2 \ --disable-cap-ng \ --disable-coroutine-pool \ --disable-curses \ --disable-fdt \ --disable-gcrypt \ --disable-glusterfs \ --disable-guest-agent \ --disable-libnfs \ --disable-libusb \ --disable-lzo \ --disable-netmap \ --disable-nettle \ --disable-numa \ --disable-rbd \ --disable-rdma \ --disable-seccomp \ --disable-smartcard \ --disable-snappy \ --disable-spice \ --disable-system \ --disable-tpm \ --disable-user \ --disable-vhost-net \ --disable-virtfs \ --disable-vnc \ --enable-tools .endif .include .if (empty(FLAVOR) || ${FLAVOR:U} == default || ${FLAVOR:U} == nox11) && \ (${FLAVOR:U} != tools || ${PKGNAMESUFFIX} != "-guest-agent") .if ${ARCH} == "amd64" MAKE_ARGS+= ARCH=x86_64 .endif .if ${ARCH} == "powerpc" CFLAGS+= -D_CALL_SYSV MAKE_ARGS+= ARCH=ppc USE_GCC= yes .endif .if ${ARCH} == "powerpc64" MAKE_ARGS+= ARCH=ppc64 .endif .if ${ARCH} == "sparc64" CONFIGURE_ARGS+= --sparc_cpu=v9 .endif PLIST_SUB+= LINUXBOOT_DMA="" .endif post-patch-CDROM_DMA-off: @${REINPLACE_CMD} -e '/USE_DMA_CDROM/d' ${WRKSRC}/include/hw/ide/internal.h do-build: cd ${WRKSRC} && ${GMAKE} do-install: cd ${WRKSRC} && ${SETENV} DESTDIR=${STAGEDIR} ${GMAKE} install .if !target(post-install) post-install: .if ${FLAVOR:U} != tools ${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifup.sample ${STAGEDIR}${PREFIX}/etc ${INSTALL_SCRIPT} ${FILESDIR}/qemu-ifdown.sample ${STAGEDIR}${PREFIX}/etc @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qemu-* .endif post-install-DOCS-on: @(cd ${WRKSRC} && ${COPYTREE_SHARE} docs ${STAGEDIR}${DOCSDIR}/) .endif .include diff --git a/emulators/qmc2/Makefile b/emulators/qmc2/Makefile index 8fd13f3f19b9..e7c29198ed09 100644 --- a/emulators/qmc2/Makefile +++ b/emulators/qmc2/Makefile @@ -1,77 +1,75 @@ -# Created by: alepulver - PORTNAME= qmc2 PORTVERSION= 0.195 PORTREVISION= 4 CATEGORIES= emulators MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Qt based UNIX MAME/MESS frontend RUN_DEPENDS= mame>=0.154:emulators/mame \ mess>=0.154:emulators/mess OPTIONS_DEFINE= DOCS NO_WRKSUBDIR= yes USES= compiler:c++11-lang dos2unix gl gmake qt:5 sdl tar:bzip2 xorg USE_XORG= x11 xmu USE_GL= gl glu USE_QT= buildtools_build core declarative gui multimedia \ network opengl qmake_build \ testlib script scripttools sql svg \ webkit widgets xml xmlpatterns USE_SDL= sdl CXXFLAGS+= -I${LOCALBASE}/include/SDL/ MAKE_ARGS= QTDIR="${PREFIX}" QMAKE="${QMAKE}" \ SYSCONFDIR="${PREFIX}/etc" ARCH="${OPSYS}" \ CC_FLAGS="${CFLAGS} -DUSE_FILE32API" \ CXX_FLAGS="${CXXFLAGS} -DUSE_FILE32API" \ CC="${CC}" CXX="${CXX}" LINK="${CXX}" DESKTOP_ENTRIES="QMC2" "MAME frontend" "${DATADIR}/img/mame.png" \ "${PORTNAME}-sdlmame" "Game;Emulator;Qt;" "true" \ "QMC2 Arcade" "QMC2 Arcade Mode" "${DATADIR}/img/qmc2-arcade.png" \ "${PORTNAME}-arcade" "Game;Emulator;Qt;" "true" \ "CHDMAN GUI" "Qt CHDMAN GUI" "${DATADIR}/img/qchdman.png" \ "qchdman" "Game;Emulator;Qt;" "true" \ # This seems to be third-party, and has DOS line-endings. It also # needs to be patched because of a confusing build error: #define True 1 # is a bad idea in C++ code that *also* uses True as an identifier # in some scopes. DOS2UNIX_FILES= qmc2/lzma/7zTypes.h post-patch: @${CP} ${FILESDIR}/Makefile ${WRKSRC} @(cd ${WRKSRC}/qmc2/inst; ${SED} -e 's|DATADIR|${PREFIX}/share|' \ < qmc2.ini.template > qmc2.ini) @${REINPLACE_CMD} -e 's/bash/sh/' ${WRKSRC}/qmc2/scripts/sdl-libs.sh do-install: (cd ${WRKSRC}/qmc2 && ${INSTALL_PROGRAM} qmc2-sdlmame \ ${STAGEDIR}${PREFIX}/bin) (cd ${WRKSRC}/qmc2/arcade && ${INSTALL_PROGRAM} qmc2-arcade \ ${STAGEDIR}${PREFIX}/bin) (cd ${WRKSRC}/qmc2/tools/qchdman && ${INSTALL_PROGRAM} qchdman \ ${STAGEDIR}${PREFIX}/bin) @${MKDIR} ${STAGEDIR}${ETCDIR} (cd ${WRKSRC}/qmc2/inst && ${INSTALL_DATA} qmc2.ini \ ${STAGEDIR}${ETCDIR}) @${MKDIR} ${STAGEDIR}${DATADIR}/img @(cd ${WRKSRC}/qmc2/data/img; ${COPYTREE_SHARE} . \ ${STAGEDIR}${DATADIR}/img) @${MKDIR} ${STAGEDIR}${DATADIR}/lng (cd ${WRKSRC}/qmc2/data/lng && ${INSTALL_DATA} qmc2_*.qm \ ${STAGEDIR}${DATADIR}/lng) @${MKDIR} ${STAGEDIR}${DATADIR}/opt @(cd ${WRKSRC}/qmc2/data/opt; ${COPYTREE_SHARE} . \ ${STAGEDIR}${DATADIR}/opt) @${MKDIR} ${STAGEDIR}${DOCSDIR}/html @(cd ${WRKSRC}/qmc2/data/doc/html; ${COPYTREE_SHARE} . \ ${STAGEDIR}${DOCSDIR}/html) .include diff --git a/emulators/quasi88/Makefile b/emulators/quasi88/Makefile index fd00bfd59705..8ea244185f7f 100644 --- a/emulators/quasi88/Makefile +++ b/emulators/quasi88/Makefile @@ -1,68 +1,66 @@ -# Created by: Nishika - PORTNAME= quasi88 PORTVERSION= 0.6.4 CATEGORIES= emulators MASTER_SITES= http://www.eonet.ne.jp/~showtime/quasi88/release/ MAINTAINER= ports@FreeBSD.org COMMENT= PC-8801 emulator for X USES= gmake tar:tgz xorg USE_XORG= x11 xext MAKE_ENV= DATADIR="${DATADIR}" _CC="${CC}" _CFLAGS="${CFLAGS}" \ _CXX="${CXX}" LD="${CXX}" PROGRAM="${PORTNAME}" MAKE_ARGS= ARCH="freebsd" DESKTOP_ENTRIES="Quasi88" "" "" "quasi88" "" "" PORTDOCS= FAQ.TXT FORMAT.TXT GET-IMAGE.TXT HISTORY.TXT MANUAL.TXT \ QUASI88.TXT PORTEXAMPLES= keyconf.rc quasi88.rc PLIST_FILES= bin/quasi88 MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= DOCS EXAMPLES SDL OPTIONS_DEFAULT= SDL SDL_USES= sdl SDL_USE= sdl=sdl SDL_MAKE_ENV= SDL_VERSION=1 X11_JOYSTICK="joy_sdl" SDL_MAKE_ENV_OFF= X11_VERSION=1 X11_JOYSTICK="joy_bsd_usb" .include .if ${ARCH} == amd64 || ${ARCH} == i386 MAKE_ENV+= X11_LSB_FIRST=1 .endif post-patch: @${REINPLACE_CMD} -e \ 's|^X11_VERSION|# X11_VERSION|g ; \ s|~/quasi88|$${DATADIR}|g ; \ s|^X11_LSB|# X11_LSB|g ; \ s|^X11_JOY|# X11_JOY|g ; \ s|^SDL_|# SDL_|g ; \ s|gcc|$${_CC}|g ; \ s|-O2|$${_CFLAGS}|g ; \ s|/usr/X11R6|$${LOCALBASE}|g ; \ s|g++|$${_CXX}|g ; \ s|^CXXLIBS|# CXXLIBS|g ; \ s|^LD|# LD|g ; \ s|^PROGRAM|# PROGRAM|g' ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/quasi88 ${STAGEDIR}${PREFIX}/bin post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/document && ${INSTALL_DATA} ${PORTDOCS} \ ${STAGEDIR}${DOCSDIR}) post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTEXAMPLES} \ ${STAGEDIR}${EXAMPLESDIR}) .include diff --git a/emulators/reicast/Makefile b/emulators/reicast/Makefile index 9dff00af7f80..ea90b501f0a4 100644 --- a/emulators/reicast/Makefile +++ b/emulators/reicast/Makefile @@ -1,52 +1,50 @@ -# Created by: Timothy Beyer - PORTNAME= reicast PORTVERSION= 0.20201231 PORTREVISION= 1 CATEGORIES= emulators games MAINTAINER= beyert@cs.ucr.edu COMMENT= Multi-platform Sega Dreamcast emulator LICENSE= BSD3CLAUSE GPLv2 LGPL21 LICENSE_COMB= multi LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libao.so:audio/libao \ libasound.so:audio/alsa-lib \ libcurl.so:ftp/curl \ libevdev.so:devel/libevdev \ libpulse.so:audio/pulseaudio \ libudev.so:devel/libudev-devd USES= cmake compiler gl xorg .include USE_GCC= yes USE_LDCONFIG= yes CMAKE_ARGS= -DOPENGL_EGL_INCLUDE_DIR:PATH=${LOCALBASE}/include/EGL \ -DOPENGL_GLX_INCLUDE_DIR:PATH=${LOCALBASE}/include/GL \ -DOPENGL_INCLUDE_DIR:PATH=${LOCALBASE}/include/GL \ -DOPENGL_opengl_LIBRARY:PATH=${LOCALBASE}/lib/libGL.so .if ${ARCH} == i386 USE_BINUTILS= yes CXXFLAGS+= -DSIMPLELINK .endif USE_GITHUB= yes GH_TUPLE= reicast:reicast-emulator:0bd6ea3 \ yuikns:intrin:ae63327:intrin/libswirl/deps/intrin USE_XORG= ice sm x11 xext USE_GL= egl gbm gl PLIST_FILES= bin/reicast do-install: ${INSTALL} ${WRKDIR}/.build/${PORTNAME} \ ${STAGEDIR}/${PREFIX}/bin/${PORTNAME}; @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include diff --git a/emulators/rtc/Makefile b/emulators/rtc/Makefile index 468b710310bd..19226b456aa2 100644 --- a/emulators/rtc/Makefile +++ b/emulators/rtc/Makefile @@ -1,29 +1,27 @@ -# Created by: Akinori MUSHA aka knu - PORTNAME= rtc PORTVERSION= 2020.07.07.1 CATEGORIES= emulators linux MASTER_SITES= # none DISTFILES= # none MAINTAINER= jamie@catflap.org COMMENT= Kernel module which provides /dev/rtc device support LICENSE= BSD2CLAUSE USES= kmod uidfix WRKSRC= ${WRKDIR}/files MAKE_ARGS= KMODDIR="${KMODDIR}" do-extract: @${MKDIR} ${WRKSRC} @cd ${FILESDIR} && ${CP} Makefile *.[ch] ${WRKSRC}/ post-install: ${INSTALL_DATA} ${WRKSRC}/rtc.h ${STAGEDIR}${PREFIX}/include ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/test.c ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/emulators/rubygem-fission/Makefile b/emulators/rubygem-fission/Makefile index 5609241025ce..9525ef60a369 100644 --- a/emulators/rubygem-fission/Makefile +++ b/emulators/rubygem-fission/Makefile @@ -1,24 +1,22 @@ -# Created by: Sunpoet Po-Chuan Hsieh - PORTNAME= fission PORTVERSION= 0.5.0 PORTREVISION= 1 CATEGORIES= emulators rubygems MASTER_SITES= RG MAINTAINER= sunpoet@FreeBSD.org COMMENT= Utility to manage VMware Fusion VMs from the command line LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= rubygem-CFPropertyList>=2.2:devel/rubygem-CFPropertyList USES= gem USE_RUBY= yes NO_ARCH= yes PLIST_FILES= bin/fission .include diff --git a/emulators/simh/Makefile b/emulators/simh/Makefile index 83f965a56866..11201a107afa 100644 --- a/emulators/simh/Makefile +++ b/emulators/simh/Makefile @@ -1,69 +1,67 @@ -# Created by: jraynard - PORTNAME= simh PORTVERSION= 3.9.0 PORTREVISION= 5 CATEGORIES= emulators MASTER_SITES= http://simh.trailing-edge.com/sources/:src \ http://www.ml1.org.uk/distfiles/:pdf \ http://www.ancientgeek.org.uk/distfiles/:pdf DISTNAME= ${PORTNAME}v${PORTVERSION:R:S/.//}-${PORTVERSION:E} DISTFILES= ${PORTNAME}v${PORTVERSION:R:S/.//}-${PORTVERSION:E}.zip:src \ ${PORTNAME}_docpdf.zip:pdf MAINTAINER= bob@eager.cx COMMENT= Emulates classic DEC, HP, GRI, IBM, Altair, SDS, Honeywell, and others LICENSE= MIT NO_WRKSUBDIR= yes USES= gmake dos2unix zip DOS2UNIX_GLOB= *.c *.h *.txt *.mak *.ini makefile CFLAGS+= -Wno-format-extra-args -Wno-comment MAKE_ENV= GCC="${CC}" CFLAGS_O="${CFLAGS}" USE_NETWORK=1 MAKEFILE= makefile CONFLICTS_INSTALL= simh-hp2100 SUB_FILES= pkg-message simh.1 READMES= 0readme_${PORTVERSION:R:S/.//}.txt 0readme_ethernet.txt PORTDOCS= ${READMES} pdf/* OPTIONS_DEFINE= DOCS .include .if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == armv6 || ${ARCH} == armv7 || ${ARCH} == i386 CFLAGS+= -Wno-logical-op-parentheses -Wno-bitwise-op-parentheses -Wno-shift-negative-value .endif pre-patch: @${MKDIR} ${WRKSRC}/BIN post-patch: @${REINPLACE_CMD} -e \ '/shell ldconfig/s|^|#| ; \ /-O2/s| = | ?= |' ${WRKSRC}/makefile @${REINPLACE_CMD} -e \ 's|%%DATADIR%%|${DATADIR}|' ${WRKSRC}/VAX/vax_sysdev.c post-build: # eclipse, gri and nova conflict with other ports, prefix with simh- @${MV} ${WRKSRC}/BIN/eclipse ${WRKSRC}/BIN/simh-eclipse @${MV} ${WRKSRC}/BIN/gri ${WRKSRC}/BIN/simh-gri @${MV} ${WRKSRC}/BIN/nova ${WRKSRC}/BIN/simh-nova do-install: ${INSTALL_PROGRAM} ${WRKSRC}/BIN/* ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/VAX/ka655x.bin ${STAGEDIR}${DATADIR} ${INSTALL_MAN} ${WRKDIR}/simh.1 ${STAGEDIR}${MANPREFIX}/man/man1 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/pdf (cd ${WRKSRC} && ${INSTALL_DATA} ${READMES} ${STAGEDIR}${DOCSDIR}) (cd ${WRKSRC} && ${COPYTREE_SHARE} pdf ${STAGEDIR}${DOCSDIR}) .include diff --git a/emulators/skyeye/Makefile b/emulators/skyeye/Makefile index 4a1b566115bd..ec6d25a04fbc 100644 --- a/emulators/skyeye/Makefile +++ b/emulators/skyeye/Makefile @@ -1,24 +1,22 @@ -# Created by: Ruan Wei (iamayan@gmail.com) - PORTNAME= skyeye PORTVERSION= 1.2.5 PORTREVISION= 7 DISTVERSIONSUFFIX= _REL CATEGORIES= emulators MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Environment simulates typical ARM-base embedded computer systems LICENSE= GPLv2 USE_CSTD= gnu89 USE_BINUTILS= yes USE_GCC= yes GNU_CONFIGURE= yes CONFIGURE_ENV= ac_cv_func_working_mktime=yes CFLAGS+= -fcommon PLIST_FILES= bin/skyeye .include diff --git a/emulators/snes9x-gtk/Makefile b/emulators/snes9x-gtk/Makefile index bcbbcb5bb1b4..75c80265780d 100644 --- a/emulators/snes9x-gtk/Makefile +++ b/emulators/snes9x-gtk/Makefile @@ -1,92 +1,90 @@ -# Created by: okeeblow - PORTNAME= snes9x PORTVERSION= 1.54.1 PORTREVISION= 8 CATEGORIES= emulators PKGNAMESUFFIX= -gtk MAINTAINER= ports@FreeBSD.org COMMENT= Super Nintendo Entertainment System (SNES) Emulator # Commercial users must seek permission from copyright holders. LICENSE= Snes9x LICENSE_NAME= Snes9x License LICENSE_FILE= ${WRKSRC}/../docs/snes9x-license.txt LICENSE_PERMS= dist-mirror pkg-mirror auto-accept LIB_DEPENDS= libpng.so:graphics/png USE_GITHUB= yes GH_ACCOUNT= snes9xgit USES= autoreconf:2.69 compiler:c11 desktop-file-utils gettext gmake \ gnome localbase perl5 pkgconfig sdl tar:bzip2 xorg USE_GNOME= cairo gdkpixbuf2 gtk20 intltool libxml2 USE_SDL= sdl2 USE_XORG= x11 xext GNU_CONFIGURE= yes LDFLAGS+= -Wl,--as-needed PATCH_WRKSRC= ${WRKSRC}/.. WRKSRC_SUBDIR= gtk OPTIONS_DEFINE= DEBUG JMA NETPLAY OPTIONS_GROUP= SOUND VIDEO OPTIONS_GROUP_SOUND= ALSA PORTAUDIO PULSEAUDIO OPTIONS_GROUP_VIDEO= OPENGL XRANDR XVIDEO OPTIONS_DEFAULT= JMA NETPLAY XVIDEO XRANDR DEBUG_CONFIGURE_WITH= debug JMA_DESC= JMA archive decompression support JMA_CONFIGURE_WITH= jma-decomp NETPLAY_DESC= Network support NETPLAY_CONFIGURE_WITH= netplay OPENGL_CONFIGURE_WITH= opengl OPENGL_USES= gl OPENGL_USE= GL=gl,glu XRANDR_CONFIGURE_WITH= xrandr XRANDR_USE= XORG=xrandr XVIDEO_CONFIGURE_WITH= xv XVIDEO_USE= XORG=xv ALSA_CONFIGURE_WITH= alsa ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_USES= compiler:c++11-lang PORTAUDIO_CONFIGURE_WITH= portaudio PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio PULSEAUDIO_CONFIGURE_WITH= pulseaudio PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PLIST_FILES= bin/snes9x-gtk \ share/pixmaps/snes9x.svg \ share/applications/snes9x.desktop .include .if exists(/usr/lib/libusbhid.a) CONFIGURE_ARGS+= --with-joystick .else CONFIGURE_ARGS+= --without-joystick .endif post-patch: @${REINPLACE_CMD} -e 's|sdl|sdl2|g' -e 's|-ldl||g' \ ${WRKSRC}/configure.ac do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}${PKGNAMESUFFIX} \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX} ${INSTALL_DATA} ${WRKSRC}/data/snes9x.svg \ ${STAGEDIR}${PREFIX}/share/pixmaps ${INSTALL_DATA} ${WRKSRC}/data/snes9x.desktop \ ${STAGEDIR}${PREFIX}/share/applications .include diff --git a/emulators/spim/Makefile b/emulators/spim/Makefile index fb45797a54ed..8e35f48f673b 100644 --- a/emulators/spim/Makefile +++ b/emulators/spim/Makefile @@ -1,50 +1,48 @@ -# Created by: David O'Brien (obrien@cs.ucdavis.edu) - PORTNAME= spim PORTVERSION= 8.0 CATEGORIES= emulators MASTER_SITES= http://pages.cs.wisc.edu/~larus/SPIM/ MAINTAINER= ports@FreeBSD.org COMMENT= MIPS32 Simulator LICENSE= BSD3CLAUSE BUILD_WRKSRC= ${WRKSRC}/${PORTNAME} INSTALL_WRKSRC= ${WRKSRC}/${PORTNAME} ALL_TARGET= ${PORTNAME} PORTDOCS= cycle.ps.gz spim.ps.gz SPIM.html PLIST_FILES= bin/spim %%DATADIR%%/exceptions.s \ man/man1/spim.1.gz OPTIONS_DEFINE= GUI DOCS OPTIONS_DEFAULT=GUI GUI_USE= XORG=x11,xaw GUI_USES= imake:env xorg GUI_PLIST_FILES=bin/xspim man/man1/xspim.1.gz post-build-GUI-on: @(cd ${WRKSRC}/xspim && ${SETENV} ${MAKE_ENV} ${XMKMF} ${XMKMF_ARGS} && \ ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE}) do-install: ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/spim ${STAGEDIR}${PREFIX}/bin/spim ${INSTALL_MAN} ${WRKSRC}/Documentation/spim.man ${STAGEDIR}${MANPREFIX}/man/man1/spim.1 @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/CPU/exceptions.s ${STAGEDIR}${DATADIR}/exceptions.s do-install-GUI-on: ${INSTALL_PROGRAM} ${WRKSRC}/xspim/xspim ${STAGEDIR}${PREFIX}/bin/xspim ${INSTALL_MAN} ${WRKSRC}/Documentation/xspim.man ${STAGEDIR}${MANPREFIX}/man/man1/xspim.1 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/Documentation/TeX/cycle.ps ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/Documentation/TeX/spim.ps ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/Documentation/SPIM.html ${STAGEDIR}${DOCSDIR} ${GZIP_CMD} ${STAGEDIR}${DOCSDIR}/cycle.ps ${STAGEDIR}${DOCSDIR}/spim.ps .include diff --git a/emulators/stella/Makefile b/emulators/stella/Makefile index a5c58899aa48..0d7fa7029535 100644 --- a/emulators/stella/Makefile +++ b/emulators/stella/Makefile @@ -1,34 +1,32 @@ -# Created by: Jacques Vidrine - PORTNAME= stella PORTVERSION= 6.7 CATEGORIES= emulators MAINTAINER= acm@FreeBSD.org COMMENT= Multi-platform Atari 2600 VCS emulator LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/License.txt LIB_DEPENDS= libpng.so:graphics/png USES= compiler:c++11-lib gmake localbase:ldflags sdl tar:xz USE_SDL= sdl2 USE_GITHUB= yes GH_ACCOUNT= stella-emu HAS_CONFIGURE= yes CONFLICTS_INSTALL= rubygem-stella OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${WRKSRC}/stella ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/src/emucore/stella.pro ${STAGEDIR}${DATADIR} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} @cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} .include diff --git a/emulators/stonx/Makefile b/emulators/stonx/Makefile index 7679dc13e0b8..5ea415c83443 100644 --- a/emulators/stonx/Makefile +++ b/emulators/stonx/Makefile @@ -1,73 +1,71 @@ -# Created by: Tobias Reifenberger - PORTNAME= stonx PORTVERSION= 0.6.7e.6 PORTREVISION= 3 CATEGORIES= emulators MASTER_SITES= SF/stonx/stonx/0.6.7.6 DISTNAME= STonX-0.6.7.6 MAINTAINER= dinoex@FreeBSD.org COMMENT= AtariST emulator LICENSE= GPLv2+ ROM LICENSE_COMB= multi LICENSE_NAME_ROM= Atari ROM LICENSE_TEXT_ROM= Contains ROM (C) by Atari LICENSE_PERMS_ROM= auto-accept BUILD_DEPENDS= bdftopcf:x11-fonts/bdftopcf \ gccmakedep:devel/gccmakedep \ mkfontscale:x11-fonts/mkfontscale \ ${LOCALBASE}/share/fonts/misc/10x20-ISO8859-1.pcf.gz:x11-fonts/font-misc-misc TOSIMG?= tos.img USES= fonts xorg FONTNAME= misc USE_XORG= x11 sm ice xext xorgproto HAS_CONFIGURE= yes CONFIGURE_ARGS= --x-includes=${LOCALBASE}/include \ --x-libraries=${LOCALBASE}/lib ALL_TARGET= all fnttobdf tosfonts fonts BINDIR= ${PREFIX}/bin DATA= atari/bench1.pas atari/bench1.prg ETCFILES= keysyms-alternative keysyms-german keysyms-spanish DOCS= ../COPYING AUTHORS DEBUGGING INSTALL README RELEASE_NOTES \ TOS-VERSIONS FONTS= System0-iso.pcf System0.pcf System1-iso.pcf System1.pcf \ System2-iso.pcf System2.pcf OPTIONS_DEFINE= DOCS EXAMPLES .include pre-build: ${CP} ${DISTDIR}/${TOSIMG} ${WRKSRC}/tos.img post-install: .for f in ${ETCFILES} ${INSTALL_DATA} ${WRKSRC}/etc/$f ${STAGEDIR}${ETCDIR}/ .endfor @${ECHO_MSG} "===> Installing fonts" ${MKDIR} ${STAGEDIR}${FONTSDIR} .for f in ${FONTS} ${INSTALL_DATA} ${WRKSRC}/data/$f ${STAGEDIR}${FONTSDIR}/ ${GZIP_CMD} ${STAGEDIR}${FONTSDIR}/$f .endfor post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/docs/,} ${STAGEDIR}${DOCSDIR}/ post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${DATA:S,^,${WRKSRC}/,} ${STAGEDIR}${EXAMPLESDIR}/ .if !exists(${DISTDIR}/${TOSIMG}) IGNORE= please get a ROM dump from your AtariST and save it as\ "${TOSIMG}" in "${DISTDIR}" manually, and then make again .endif .include diff --git a/emulators/teo/Makefile b/emulators/teo/Makefile index 18a22c2060d3..1e75de8e275b 100644 --- a/emulators/teo/Makefile +++ b/emulators/teo/Makefile @@ -1,38 +1,36 @@ -# Created by: Thomas Bernard - PORTNAME= teo PORTVERSION= 1.8.4 DISTVERSIONSUFFIX= -src CATEGORIES= emulators MASTER_SITES= SF/teoemulator/linux/${PORTVERSION} MAINTAINER= nanard@free.fr COMMENT= Thomson TO8 emulator LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/licence-en.txt LIB_DEPENDS= libasound.so:audio/alsa-lib \ libpng.so:graphics/png USES= gmake gnome pkgconfig xorg USE_GNOME= cairo gdkpixbuf2 gtk30 USE_XORG= x11 xext ALL_TARGET= default WRKSRC= ${WRKDIR}/teo post-patch: @${ECHO_CMD} "MAKEFILE_INC = makefile.lnx" > ${WRKSRC}/Makefile @${ECHO_CMD} "include makefile.all" >> ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's|"system/|"${DATADIR}/|' \ ${WRKSRC}/src/hardware.c ${WRKSRC}/src/linux/udebug/udtoolb.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/teo ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR}/rom ${INSTALL_DATA} ${WRKSRC}/system/rom/* ${STAGEDIR}${DATADIR}/rom @${MKDIR} ${STAGEDIR}${DATADIR}/icons ${INSTALL_DATA} ${WRKSRC}/system/icons/* ${STAGEDIR}${DATADIR}/icons .include diff --git a/emulators/tiemu3/Makefile b/emulators/tiemu3/Makefile index b05c3b39c9a7..4f61b6dabd1b 100644 --- a/emulators/tiemu3/Makefile +++ b/emulators/tiemu3/Makefile @@ -1,45 +1,43 @@ -# Created by: Naram Qashat - PORTNAME= tiemu3 PORTVERSION= 3.03 PORTREVISION= 12 CATEGORIES= emulators MASTER_SITES= SF/gtktiemu/tiemu-linux/TIEmu%20${DISTVERSION} DISTNAME= tiemu-${DISTVERSION} EXTRACT_SUFX= -nogdb.tar.gz MAINTAINER= cyberbotx@cyberbotx.com COMMENT= TI89(ti)/92(+)/V200 hand-helds emulator LICENSE= GPLv2 LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libticables2.so:comms/libticables2 \ libticalcs2.so:comms/libticalcs2 \ libticonv.so:converters/libticonv \ libtifiles2.so:devel/libtifiles2 USES= gmake gnome groff libtool localbase pkgconfig sdl USE_GNOME= cairo gdkpixbuf2 gtk20 libglade2 USE_SDL= sdl GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-gdb --without-kde LDFLAGS+= -Wl,-E OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls post-patch: .SILENT ${REINPLACE_CMD} -E 's,(install-data-am:).*$$,\1,' ${WRKSRC}/Makefile.in ${REINPLACE_CMD} -e 's,defined(__LINUX__),& || defined(__BSD__),' \ ${WRKSRC}/src/gui/calc/pckeys.h ${WRKSRC}/src/misc/paths.h ${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||g' \ ${WRKSRC}/configure .include diff --git a/emulators/tilem/Makefile b/emulators/tilem/Makefile index 851158dfb0fb..c7c4acda44cf 100644 --- a/emulators/tilem/Makefile +++ b/emulators/tilem/Makefile @@ -1,34 +1,32 @@ -# Created by: Alexey Dokuchaev - PORTNAME= tilem PORTVERSION= 2.0 PORTREVISION= 4 CATEGORIES= emulators MASTER_SITES= SF MAINTAINER= danfe@FreeBSD.org COMMENT= Texas Instruments Z80 series calculator emulator LICENSE= GPLv3 LIB_DEPENDS= libticalcs2.so:comms/libticalcs2 USES= desktop-file-utils gnome pkgconfig shared-mime-info tar:bzip2 GNU_CONFIGURE= yes CONFIGURE_ENV= OPT_CFLAGS=" " # Inhibit -O3, our default CFLAGS are upheld USE_GNOME= gtk20 LIBS+= -lm PORTDOCS= CHANGELOG KEYS NEWS README THANKS TODO OPTIONS_DEFINE= DOCS # Unbreak parallel builds (-jX) post-patch: @${REINPLACE_CMD} -E 's,cd (.+) && (\$$\(MAKE\)),\2 -C \1,' \ ${WRKSRC}/Makefile.in post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include diff --git a/emulators/tme/Makefile b/emulators/tme/Makefile index 03f5cec7ff44..f50c65c5d91d 100644 --- a/emulators/tme/Makefile +++ b/emulators/tme/Makefile @@ -1,48 +1,46 @@ -# Created by: trasz - PORTNAME= tme PORTVERSION= 0.8 PORTREVISION= 6 CATEGORIES= emulators MASTER_SITES= http://people.csail.mit.edu/fredette/tme/ MAINTAINER= ports@FreeBSD.org COMMENT= Emulator for Sun 2/120, 3/150, and SPARCstation 2 machines LICENSE= BSD4CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libltdl.so:devel/libltdl USES= autoreconf compiler gettext gmake gnome iconv libtool perl5 \ pkgconfig USE_GNOME= gdkpixbuf2 gtk20 USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-static --disable-warnings CONFIGURE_TARGET=${ARCH:S/amd64/x86_64/}-portbld-${OPSYS:tl}${OSREL} MAKE_JOBS_UNSAFE=yes INSTALL_TARGET= install-strip CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= EXAMPLES .include .if ${COMPILER_TYPE} == clang CFLAGS+= -fbracket-depth=1024 .endif post-patch: @${RM} -r ${WRKSRC}/libltdl @${REINPLACE_CMD} 's/LTDL_SHLIBPATH_VAR/LT_MODULE_PATH_VAR/' \ ${WRKSRC}/libtme/Makefile.am ${WRKSRC}/libtme/module.c @${REINPLACE_CMD} -e '/^#ifdef/s|\*/||' \ ${WRKSRC}/libtme/misc.c @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \ ${WRKSRC}/libtme/module.c .include diff --git a/emulators/tnylpo/Makefile b/emulators/tnylpo/Makefile index 49d1eca54293..2f4a99656989 100644 --- a/emulators/tnylpo/Makefile +++ b/emulators/tnylpo/Makefile @@ -1,30 +1,28 @@ -# Created by: Joerg Wunsch - PORTNAME= tnylpo DISTVERSION= 1.1.3 CATEGORIES= emulators MASTER_SITES= https://gitlab.com/gbrein/${PORTNAME}/-/archive/${DISTVERSION}/ MAINTAINER= joerg@FreeBSD.org COMMENT= CP/M emulator LICENSE= BSD3CLAUSE USES= tar:bzip2 gmake MAKEFILE= makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/tnylpo ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/tnylpo-convert ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/tnylpo.1 \ ${STAGEDIR}${MANPREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/tnylpo-convert.1 \ ${STAGEDIR}${MANPREFIX}/man/man1 ${MKDIR} ${STAGEDIR}${PREFIX}/share/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/mine/mine.com \ ${STAGEDIR}${PREFIX}/share/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/mine/README.md \ ${STAGEDIR}${PREFIX}/share/${PORTNAME} .include diff --git a/emulators/tpm-emulator/Makefile b/emulators/tpm-emulator/Makefile index 7fb25f14e45d..dd684da32851 100644 --- a/emulators/tpm-emulator/Makefile +++ b/emulators/tpm-emulator/Makefile @@ -1,33 +1,31 @@ -# Created by: Sebastian Schuetz - PORTNAME= tpm-emulator PORTVERSION= 0.7.4 PORTREVISION= 2 CATEGORIES= emulators security MASTER_SITES= SF/${PORTNAME}.berlios DISTNAME= ${PORTNAME:S,-,_,}-${PORTVERSION} MAINTAINER= hrs@FreeBSD.org COMMENT= Trusted Platform Module (TPM) emulator LICENSE= GPLv2 LIB_DEPENDS= libgmp.so:math/gmp USES= cmake USE_RC_SUBR= tpmd CONFIGURE_ENV= PREFIX="${PREFIX}" CMAKE_ARGS= -DTPM_INCLUDE_DIRS:STRING="${LOCALBASE}/include" \ -DTDDL_LIBRARY_DIRS:STRING="${LOCALBASE}/lib/tddl_emu" \ -DTPM_LIBRARY_DIRS:STRING="${LOCALBASE}/lib" USE_LDCONFIG= yes USERS= _tss GROUPS= _tss SUB_LIST= USERS="${USERS}" GROUPS="${GROUPS}" PLIST_SUB= USERS="${USERS}" GROUPS="${GROUPS}" post-install: @${MKDIR} ${STAGEDIR}/var/run/tpm @${MKDIR} ${STAGEDIR}${PREFIX}/var/db/tpm .include diff --git a/emulators/tuxnes/Makefile b/emulators/tuxnes/Makefile index 933abeac9b8c..9fc5ebd474dd 100644 --- a/emulators/tuxnes/Makefile +++ b/emulators/tuxnes/Makefile @@ -1,45 +1,43 @@ -# Created by: Jeroen Ruigrok van der Werven - PORTNAME= tuxnes PORTVERSION= 0.75 PORTREVISION= 6 CATEGORIES= emulators MASTER_SITES= SF/${PORTNAME}/TuxNES/TuxNES%20v${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Nintendo Entertainment System 8-bit emulator LICENSE= GPLv2 ONLY_FOR_ARCHS= i386 ONLY_FOR_ARCHS_REASON= uses i386 assembly code USES= compiler gmake xorg USE_XORG= x11 ice sm xext xpm USE_BINUTILS= yes GNU_CONFIGURE= yes PLIST_FILES= bin/romfixer bin/tuxnes share/pixmaps/tuxnes.xpm DESKTOP_ENTRIES="TuxNES" "" "${PREFIX}/share/pixmaps/tuxnes.xpm" \ "${PORTNAME}" "" "" .include .if ${COMPILER_TYPE} == "clang" CPPFLAGS+= -no-integrated-as .endif .if ${ARCH} == "i386" # Build tool "compdata" segfaults when linked with lld LLD_UNSAFE= yes .endif post-patch: @${REINPLACE_CMD} -e \ 's|^CFLAGS=|#CFLAGS=|' ${WRKSRC}/configure post-install: (cd ${WRKSRC} && ${INSTALL_DATA} tuxnes.xpm \ ${STAGEDIR}${PREFIX}/share/pixmaps) .include diff --git a/emulators/uae/Makefile b/emulators/uae/Makefile index 69de69fa13a7..b19e787811ad 100644 --- a/emulators/uae/Makefile +++ b/emulators/uae/Makefile @@ -1,59 +1,57 @@ -# Created by: Simon Dick - PORTNAME= uae PORTVERSION= 0.8.29 PORTREVISION= 3 CATEGORIES= emulators MASTER_SITES= LOCAL/grembo MAINTAINER= simond@irrelevant.org COMMENT= Commodore Amiga emulator LICENSE= GPLv2 CONFLICTS= e-uae USES= gmake gnome pkgconfig tar:bzip2 GNU_CONFIGURE= yes USE_GNOME= gtk20 OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|build68kc|build68k|' \ ${WRKSRC}/src/Makefile.in @${REINPLACE_CMD} -e 's|struct socketbase {|extern &|' \ ${WRKSRC}/src/include/bsdsocket.h @${LN} -sf ../md-ppc/support.c ${WRKSRC}/src/md-ppc-gcc/support.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/uae ${WRKSRC}/readdisk \ ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR}/amiga/devs/AHI @${MKDIR} ${STAGEDIR}${DATADIR}/amiga/devs/AudioModes ${INSTALL_DATA} ${WRKSRC}/amiga/mousehack ${STAGEDIR}${DATADIR}/amiga ${INSTALL_DATA} ${WRKSRC}/amiga/timehack ${STAGEDIR}${DATADIR}/amiga ${INSTALL_DATA} ${WRKSRC}/amiga/transdisk ${STAGEDIR}${DATADIR}/amiga ${INSTALL_DATA} ${WRKSRC}/amiga/transrom ${STAGEDIR}${DATADIR}/amiga ${INSTALL_DATA} ${WRKSRC}/amiga/uae-control ${STAGEDIR}${DATADIR}/amiga ${INSTALL_DATA} ${WRKSRC}/amiga/uae-control.info \ ${STAGEDIR}${DATADIR}/amiga ${INSTALL_DATA} ${WRKSRC}/amiga/uae_rcli ${STAGEDIR}${DATADIR}/amiga ${INSTALL_DATA} ${WRKSRC}/amiga/uaectrl ${STAGEDIR}${DATADIR}/amiga ${INSTALL_DATA} ${WRKSRC}/amiga/devs/AHI/uae.audio \ ${STAGEDIR}${DATADIR}/amiga/devs/AHI ${INSTALL_DATA} ${WRKSRC}/amiga/devs/AudioModes/UAE \ ${STAGEDIR}${DATADIR}/amiga/devs/AudioModes do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/COMPATIBILITY ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/CREDITS ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/FAQ ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/NEWS ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/README ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/README.PROGRAMMERS ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/unix/README \ ${STAGEDIR}${DOCSDIR}/README.unix .include diff --git a/emulators/vba/Makefile b/emulators/vba/Makefile index e930571227a1..eefc282b5bc0 100644 --- a/emulators/vba/Makefile +++ b/emulators/vba/Makefile @@ -1,69 +1,67 @@ -# Created by: Alexander Best - PORTNAME= vba PORTVERSION= 1.7.2 PORTREVISION= 13 CATEGORIES= emulators MASTER_SITES= SF/${PORTNAME}/VisualBoyAdvance/${PORTVERSION} DISTNAME= VisualBoyAdvance-src-${PORTVERSION} MAINTAINER= arundel@h3c.de COMMENT= Open source Gameboy Advance emulator LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= nasm:devel/nasm LIB_DEPENDS= libpng.so:graphics/png BROKEN_powerpc= Runaway cc1plus process BROKEN_sparc64= Runaway cc1plus process USES= gettext gmake sdl GNU_CONFIGURE= yes USE_SDL= sdl CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -lintl WRKSRC= ${WRKDIR}/VisualBoyAdvance-${PORTVERSION} SUB_FILES= pkg-message DATA_FILES= ${WRKSRC}/src/VisualBoyAdvance.cfg PROG_FILES= ${WRKSRC}/src/sdl/VisualBoyAdvance PORTDOCS= AUTHORS NEWS README ChangeLog OPTIONS_DEFINE= DOCS GTK2 PROFILING OPTIONS_SUB= yes PROFILING_DESC= Enable profiling GTK2_CONFIGURE_ON= --enable-gtk=2.4 GTK2_LIB_DEPENDS= libglademm-2.4.so:devel/libglademm24 GTK2_USES= pkgconfig PROFILING_CONFIGURE_ENABLE= profiling .include .if ${PORT_OPTIONS:MGTK2} PROG_FILES+= ${WRKSRC}/src/gtk/gvba GTK2_DATA_FILES= ${WRKSRC}/src/gtk/vba.glade .endif post-patch: @${REINPLACE_CMD} -e '/for(int i = 0; i < 16; i++/s| i|&_|g' \ ${WRKSRC}/src/sdl/debugger.cpp do-install: ${INSTALL_PROGRAM} ${PROG_FILES} ${STAGEDIR}${PREFIX}/bin ${SED} -e 's|filter=0|filter=1|' ${DATA_FILES} > ${DATA_FILES}-default ${INSTALL_DATA} ${DATA_FILES}-default ${STAGEDIR}${PREFIX}/bin do-install-GTK2-on: @${MKDIR} ${STAGEDIR}${PREFIX}/share/VisualBoyAdvance ${INSTALL_DATA} ${GTK2_DATA_FILES} ${STAGEDIR}${PREFIX}/share/VisualBoyAdvance do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/emulators/vboxtool/Makefile b/emulators/vboxtool/Makefile index 0df680105ea8..0e753f13e09a 100644 --- a/emulators/vboxtool/Makefile +++ b/emulators/vboxtool/Makefile @@ -1,39 +1,37 @@ -# Created by: pjm - PORTNAME= vboxtool PORTVERSION= 0.5 PORTREVISION= 4 CATEGORIES= emulators MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Provides effective control of VirtualBox machines LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING.txt RUN_DEPENDS= VBoxManage:emulators/virtualbox-ose\ bash:shells/bash NO_WRKSUBDIR= yes NO_BUILD= yes USES= zip GROUPS= vboxusers SAMPLESDIR= ${PREFIX}/share/${PORTNAME} post-patch: @${REINPLACE_CMD} -e 's|!/bin/bash|!/usr/bin/env bash|' \ -e 's|/etc/|${PREFIX}&|g' \ ${WRKSRC}/script/vboxtool \ ${WRKSRC}/script/vboxtoolinit do-install: @${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${FILESDIR}/vboxtool.conf ${STAGEDIR}${ETCDIR}/vboxtool.conf.sample ${INSTALL_DATA} ${FILESDIR}/machines.conf ${STAGEDIR}${ETCDIR}/machines.conf.sample ${INSTALL_SCRIPT} -m 0750 ${WRKSRC}/script/vboxtool ${STAGEDIR}${PREFIX}/bin/vboxtool ${INSTALL_SCRIPT} -m 0750 ${WRKSRC}/script/vboxtoolinit ${STAGEDIR}${PREFIX}/etc/rc.d/vboxtoolinit .include diff --git a/emulators/vgb-bin/Makefile b/emulators/vgb-bin/Makefile index c6d4732a06cf..9d4ad17e556f 100644 --- a/emulators/vgb-bin/Makefile +++ b/emulators/vgb-bin/Makefile @@ -1,42 +1,40 @@ -# Created by: Mario S F Ferreira et al. - PORTNAME= vgb PORTVERSION= 3.0 PORTREVISION= 5 PORTEPOCH= 1 CATEGORIES= emulators MASTER_SITES= http://fms.komkon.org/VGB/ PKGNAMESUFFIX= -bin DISTNAME= VGB${PORTVERSION:S/.//}-FreeBSD-80x86-bin EXTRACT_SUFX= .tar.Z MAINTAINER= ports@FreeBSD.org COMMENT= Nintendo GameBoy(tm) emulator (closed binary version of vgb) ONLY_FOR_ARCHS= i386 ONLY_FOR_ARCHS_REASON= required i386 dependencies LIB_DEPENDS= libc.so.5:misc/compat5x IA32_BINARY_PORT= yes NO_BUILD= no NO_WRKSUBDIR= no USES= xorg USE_XORG= x11 xext PLIST_FILES= bin/vgb PORTDATA= CART.GB PORTDOCS= VGB.html OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${WRKSRC}/vgb ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/CART.GB ${STAGEDIR}${DATADIR} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/VGB.html ${STAGEDIR}${DOCSDIR} .include diff --git a/emulators/vgba-bin/Makefile b/emulators/vgba-bin/Makefile index e1092e905682..ff23ec8ded32 100644 --- a/emulators/vgba-bin/Makefile +++ b/emulators/vgba-bin/Makefile @@ -1,37 +1,35 @@ -# Created by: Mario S F Ferreira et al. - PORTNAME= vgba PORTVERSION= 3.0 PORTREVISION= 4 CATEGORIES= emulators MASTER_SITES= http://fms.komkon.org/VGBA/ PKGNAMESUFFIX= -bin DISTNAME= VGBA${PORTVERSION:S/.//}-FreeBSD-80x86-bin EXTRACT_SUFX= .tar.Z MAINTAINER= ports@FreeBSD.org COMMENT= Emulator of Nintendo GameBoy Advance(TM) LIB_DEPENDS= libc.so.5:misc/compat5x \ libm.so.2:misc/compat4x ONLY_FOR_ARCHS= i386 NO_BUILD= no NO_WRKSUBDIR= no USES= xorg USE_XORG= x11 xext PLIST_FILES= bin/vgba PORTDOCS= VGBA.html OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${WRKSRC}/vgba ${STAGEDIR}${PREFIX}/bin ldd ${WRKSRC}/vgba do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/VGBA.html ${STAGEDIR}${DOCSDIR} .include diff --git a/emulators/vice/Makefile b/emulators/vice/Makefile index 675a556a3c6d..9c29c1d071e2 100644 --- a/emulators/vice/Makefile +++ b/emulators/vice/Makefile @@ -1,101 +1,99 @@ -# Created by: dchapes@ddm.on.ca - PORTNAME= vice PORTVERSION= 3.6.1 PORTREVISION= 1 CATEGORIES= emulators MASTER_SITES= SF/vice-emu/releases MAINTAINER= dinoex@FreeBSD.org COMMENT= Emulator for Commodore C64, C128, VIC20, PET, and CBM-II LICENSE= GPLv2 ROM LICENSE_COMB= multi LICENSE_NAME_ROM= Commodore ROMs LICENSE_TEXT_ROM= ROMs are copyrighted by Commodore Business Machines LICENSE_PERMS_ROM= auto-accept BUILD_DEPENDS= xa65:devel/xa65 \ xdg-open:devel/xdg-utils LIB_DEPENDS= libpng.so:graphics/png \ libgif.so:graphics/giflib \ libportaudio.so:audio/portaudio \ libmp3lame.so:audio/lame \ libogg.so:audio/libogg \ libvorbis.so:audio/libvorbis \ libavcodec.so:multimedia/ffmpeg \ libFLAC.so:audio/flac \ libpci.so:devel/libpci \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libpcre2-8.so:devel/pcre2 \ libgnutls.so:security/gnutls \ libharfbuzz.so:print/harfbuzz USES= compiler:c++11-lang pkgconfig perl5 localbase:ldflags \ gmake iconv:wchar_t jpeg readline gettext xorg USE_XORG= xpm ice sm xext xv xt x11 xmu xxf86vm USE_XORG+= xrender xinerama xi xrandr xcursor xcomposite xdamage xfixes HAS_CONFIGURE= yes MAKE_ENV+= XDG_DATA_DIRS=${STAGEDIR}${PREFIX}/share CFLAGS+= -fcommon CONFIGURE_ARGS+= --enable-ipv6 \ --enable-external-ffmpeg \ --enable-x64 \ --disable-realdevice \ --disable-pdf-docs \ --localedir="${LOCALBASE}/share/locale" \ --disable-dependency-tracking \ DOS2UNIX=true OPTIONS_DEFINE= SDLSOUND ALSA PULSEAUDIO DOCS OPTIONS_SINGLE= GUI OPTIONS_SINGLE_GUI= GTK3UI SDLUI2 OPTIONS_DEFAULT?= GTK3UI SDLSOUND ALSA NO_OPTIONS_SORT=yes OPTIONS_SUB= yes GTK3UI_DESC= use GTK3 user interface SDLUI2_DESC= use SDL2 user interface SDLSOUND_DESC= build with SDL2 sound system support GTK3UI_USES= desktop-file-utils GTK3UI_CONFIGURE_ENABLE= native-gtk3ui desktop-files GTK3UI_BUILD_DEPENDS= bash:shells/bash SDLUI2_USES= sdl SDLUI2_USE= SDL=sdl2 SDL=image2 SDLUI2_CONFIGURE_ENABLE= sdlui2 SDLSOUND_USES= sdl SDLSOUND_USE= SDL=sdl2 SDLSOUND_CONFIGURE_ON= --with-sdlsound ALSA_CONFIGURE_OFF= --without-alsa ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib PULSEAUDIO_CONFIGURE_OFF= --without-pulse PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio .include .if !defined(BUILDING_INDEX) __pmlinks1!= ${ECHO_CMD} '${LMLINKS:S/ / /}' | ${AWK} \ '{ if (NF % 2 != 0) { print "broken"; exit; } \ for (i=1; i<=NF; i++) { \ if ( i % 2 == 0) { print " " $$i " ;"; } \ else { printf "${LN} -s " $$i " "; } \ } }' .endif .if ${PORT_OPTIONS:MGTK3UI} USES+= gnome gl USE_GNOME+= gtk30 vte3 cairo gdkpixbuf2 pango USE_GL+= glu gl glew .endif pre-configure: .if ! ${PORT_OPTIONS:MDOCS} ${REINPLACE_CMD} -e 's| doc||' ${WRKSRC}/Makefile.in .endif # workaround for xdg-desktop-menu pre-install-GTK3UI-on: ${MKDIR} ${STAGEDIR}/${PREFIX}/share/desktop-directories .include diff --git a/emulators/visualboyadvance-m/Makefile b/emulators/visualboyadvance-m/Makefile index 524132e5cacf..3ee3e6bd8fba 100644 --- a/emulators/visualboyadvance-m/Makefile +++ b/emulators/visualboyadvance-m/Makefile @@ -1,105 +1,103 @@ -# Created by: Nicole Reid - PORTNAME= visualboyadvance-m PORTVERSION= 2.0.0b2 PORTREVISION= 11 CATEGORIES= emulators MAINTAINER= ports@FreeBSD.org COMMENT= Game Boy Advance emulator with GTK frontend LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/doc/gpl.txt LIB_DEPENDS= libpng.so:graphics/png USES= cmake:insource,noninja dos2unix gl gnome \ pkgconfig sdl xorg DOS2UNIX_REGEX= .*\.(c|cpp|h|ypp) USE_XORG= x11 xext USE_GL= gl glu USE_SDL= sdl CMAKE_ARGS= -DVERSION:STRING="${PORTVERSION}" \ -DSYSCONFDIR:STRING="${PREFIX}/etc" \ -DENABLE_WX:BOOL=no USE_GITHUB= yes GH_TAGNAME= VBA-M_Beta_2 OPTIONS_DEFINE= NLS FFMPEG LINK LIRC DEBUGGER OPTIONS_MULTI= INTERFACE OPTIONS_MULTI_INTERFACE= GVBAM SDL OPTIONS_DEFINE_i386= ASMCORE ASMSCALERS OPTIONS_DEFAULT= DEBUGGER SDL OPTIONS_SUB= yes GVBAM_DESC= Enable GTK interface SDL_DESC= Enable SDL interface FFMPEG_DESC= Enable FFmpeg A/V recording LINK_DESC= Enable GBA linking functionality LIRC_DESC= Enable LIRC infrared support DEBUGGER_DESC= Enable the debugger ASMCORE_DESC= Enable x86 ASM CPU cores (i386 only) ASMSCALERS_DESC= Enable x86 ASM graphic filters (i386 only) ASMCORE_BUILD_DEPENDS= as:devel/binutils ASMCORE_CMAKE_BOOL= ENABLE_ASM_CORE ASMSCALERS_BUILD_DEPENDS= nasm:devel/nasm ASMSCALERS_CMAKE_BOOL= ENABLE_ASM_SCALERS GVBAM_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgdkglext-x11-1.0.so:x11-toolkits/gtkglext \ libgdkglextmm-x11-1.2.so:x11-toolkits/gtkglextmm GVBAM_USES= desktop-file-utils GVBAM_USE= GNOME=gtkmm24,pangox-compat GVBAM_CMAKE_BOOL= ENABLE_GTK SDL_IMPLIES= DEBUGGER SDL_CMAKE_BOOL= ENABLE_SDL DEBUGGER_CMAKE_BOOL= ENABLE_DEBUGGER FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg FFMPEG_CMAKE_BOOL= ENABLE_FFMPEG NLS_USES= gettext NLS_CMAKE_BOOL= ENABLE_NLS LINK_CMAKE_BOOL= ENABLE_LINK LINK_LIB_DEPENDS= libsfml-system.so:devel/sfml LIRC_LIB_DEPENDS= liblirc_client.so:comms/lirc LIRC_RUN_DEPENDS= lircd:comms/lirc LIRC_CMAKE_BOOL= ENABLE_LIRC .include .if ${ARCH} != amd64 && ${ARCH} != i386 USES+= compiler:gcc-c++11-lib .else USES+= compiler:c++11-lang .endif post-patch: @${REINPLACE_CMD} -e '/SET.*LIRC_CLIENT_LIBRARY/ s|lirc_client|${LOCALBASE}/lib/lib&.so|; \ s|share/man|man|' ${WRKSRC}/CMakeLists.txt maint-gen-distfile: @if [ -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \ ${ECHO_CMD} "ERROR: the distfile already exists."; \ ${FALSE}; \ fi svn export -r${SVN_REV} \ https://svn.code.sf.net/p/vbam/code/trunk/ ${DISTNAME} ${TAR} jcf ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${DISTNAME} ${RM} -r ${DISTNAME} post-install-SDL-on: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/vbam post-install-GVBAM-on: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/gvbam .include diff --git a/emulators/vmips/Makefile b/emulators/vmips/Makefile index 2f8ceeb50fa1..8269e1078d7f 100644 --- a/emulators/vmips/Makefile +++ b/emulators/vmips/Makefile @@ -1,21 +1,19 @@ -# Created by: Brian Gaeke - PORTNAME= vmips PORTVERSION= 1.5.1 PORTREVISION= 1 CATEGORIES= emulators MASTER_SITES= SF \ http://www.dgate.org/vmips/releases/${DISTNAME}/ MAINTAINER= brg@dgate.org COMMENT= MIPS R3000 simulator LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= gmake GNU_CONFIGURE= yes INFO= vmips .include diff --git a/emulators/vmsbackup/Makefile b/emulators/vmsbackup/Makefile index 26f8abb707cc..360a737abce9 100644 --- a/emulators/vmsbackup/Makefile +++ b/emulators/vmsbackup/Makefile @@ -1,25 +1,23 @@ -# Created by: Jonathan M. Bresler (jmb) - PORTNAME= vmsbackup PORTVERSION= 4.1.1 CATEGORIES= emulators sysutils MASTER_SITES= LOCAL/erwin DISTNAME= VMSBACKUP4-1-1 EXTRACT_SUFX= .ZIP MAINTAINER= ports@FreeBSD.org COMMENT= Reads VMS BACKUP tapes USES= zip ALL_TARGET= vmsbackup NO_WRKSUBDIR= yes PLIST_FILES= bin/vmsbackup man/man1/vmsbackup.1.gz post-patch: @${REINPLACE_CMD} -e 's#"getopt.h"##' ${WRKSRC}/getoptmain.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/vmsbackup ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/vmsbackup.1 ${STAGEDIR}${PREFIX}/man/man1 .include diff --git a/emulators/vxtools/Makefile b/emulators/vxtools/Makefile index eef6633c8cb5..3cc1cd4ce6ac 100644 --- a/emulators/vxtools/Makefile +++ b/emulators/vxtools/Makefile @@ -1,23 +1,21 @@ -# Created by: Martin Hinner - PORTNAME= vxtools PORTVERSION= 0.2 PORTREVISION= 1 CATEGORIES= emulators MASTER_SITES= ftp://ftp.penguin.cz/pub/users/mhi/vxfs/ MAINTAINER= mhi@penguin.cz COMMENT= Command-line utilities for reading Veritas Filesystem (VxFS) USES= tar:bzip2 gmake GNU_CONFIGURE= yes do-install: .for f in vxls vxmount vxumount vxcat vxidump vxcd vxpwd prtvtoc ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin .endfor ${INSTALL_MAN} ${WRKSRC}/prtvtoc.8 ${STAGEDIR}${MANPREFIX}/man/man8 ${INSTALL_MAN} ${WRKSRC}/vxmount.1 ${STAGEDIR}${MANPREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/vxumount.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include diff --git a/emulators/wine-devel/Makefile b/emulators/wine-devel/Makefile index 013e77ddb9f3..7fd01396a324 100644 --- a/emulators/wine-devel/Makefile +++ b/emulators/wine-devel/Makefile @@ -1,198 +1,196 @@ -# Created by: Gerald Pfeifer - PORTNAME= wine DISTVERSION= 7.12 PORTEPOCH= 1 CATEGORIES= emulators MASTER_SITES= SF/${PORTNAME}/Source \ http://mirrors.ibiblio.org/wine/source/7.x/ PKGNAMESUFFIX= -devel DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= damjan.jov@gmail.com COMMENT= Microsoft Windows compatibility environment LICENSE= LGPL21 LGPL3 LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= amd64 i386 BUILD_DEPENDS= ${LOCALBASE}/bin/flex:textproc/flex llvm${_LLVM_VERSION}>=0:devel/llvm${_LLVM_VERSION} USES= bison cpe desktop-file-utils gmake localbase \ pkgconfig sdl shebangfix tar:xz USE_GCC= yes USE_SDL= sdl2 CPE_VENDOR= winehq CONFLICTS_INSTALL= wine GNU_CONFIGURE= yes CONFIGURE_ARGS+=--verbose \ --disable-kerberos \ --disable-tests \ --without-capi \ --without-coreaudio \ --without-dbus \ --without-gettext --without-gettextpo \ --without-gphoto \ --without-gssapi \ --without-gstreamer \ --without-inotify \ --without-krb5 \ --with-mingw CROSSCC="clang" CROSSCFLAGS="-isystem ${FILESDIR}/clang" \ --without-netapi \ --without-opencl \ --without-osmesa \ --with-pcap \ --with-pthread \ --without-pulse \ --without-sane \ --with-sdl \ --without-udev \ --without-unwind \ --without-usb CONFIGURE_ENV= CPPBIN="${CPP}" FLEX="${LOCALBASE}/bin/flex" WINELIBDIR= ${PREFIX}/lib .if !defined(USE_LDCONFIG32) USE_LDCONFIG= ${WINELIBDIR} ${WINELIBDIR}/wine .endif SHEBANG_FILES= tools/make_requests tools/winemaker/winemaker \ tools/winedump/function_grep.pl BINARY_ALIAS+= clang=${LOCALBASE}/bin/clang${_LLVM_VERSION} \ lld-link=${LOCALBASE}/bin/lld-link${_LLVM_VERSION} SUB_FILES= pkg-message PORTDATA= wine.inf OPTIONS_DEFINE= CUPS DOCS DOSBOX GNUTLS LDAP OPENAL STAGING V4L WINEMAKER X11 GECKO MONO OPTIONS_DEFAULT=GNUTLS OPENAL OSS X11 OPTIONS_RADIO= AUDIO OPTIONS_RADIO_AUDIO= ALSA OSS OPTIONS_SUB= yes DOSBOX_DESC= Use DOSBox to run MS-DOS programs STAGING_DESC= Include Wine Staging patchset (experimental&unsupported) WINEMAKER_DESC= Fully support winemaker (requires Perl) GECKO_DESC= Bundle Gecko MSI package for Wine MONO_DESC= Bundle Mono MSI package for Wine ALSA_CONFIGURE_ON= --with-alsa --without-oss ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib CUPS_CONFIGURE_WITH= cups CUPS_LIB_DEPENDS= libcups.so:print/cups DOSBOX_RUN_DEPENDS= dosbox:emulators/dosbox GECKO_RUN_DEPENDS= wine-gecko-devel>0:emulators/wine-gecko-devel GNUTLS_CONFIGURE_WITH= gnutls GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls LDAP_CONFIGURE_WITH= ldap LDAP_USE= OPENLDAP=yes MONO_RUN_DEPENDS= wine-mono-devel>0:emulators/wine-mono-devel OPENAL_CONFIGURE_WITH= openal OPENAL_USES= openal OSS_CONFIGURE_ON= --without-alsa --with-oss STAGING_MASTER_SITES= https://github.com/wine-staging/wine-staging/archive/:staging STAGING_DIST= v${DISTVERSION}.tar.gz STAGING_DISTFILES= ${STAGING_DIST}:staging STAGING_EXTRACT_DEPENDS= bash:shells/bash \ git:devel/git \ autoconf>0:devel/autoconf \ gawk:lang/gawk STAGING_LIB_DEPENDS= libtxc_dxtn.so:graphics/s2tc V4L_CONFIGURE_WITH= v4l2 V4L_BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l WINEMAKER_RUN_DEPENDS= p5-XML-LibXML>0:textproc/p5-XML-LibXML X11_CONFIGURE_WITH= x fontconfig freetype opengl xinerama xinput2 xrandr xrender X11_USES= gl xorg X11_USE= GL=glu XORG=x11,xext,xcomposite,xcursor,xi,xinerama,xrandr,xrender X11_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libvulkan.so:graphics/vulkan-loader .include .if (${LLVM_DEFAULT} == 90 || ${LLVM_DEFAULT} == 10 || ${LLVM_DEFAULT} == 11) _LLVM_VERSION= 12 .else _LLVM_VERSION= ${LLVM_DEFAULT} .endif .if ${ARCH} == amd64 # Wine is composed of three parts: # - wine (aka this port on FreeBSD/i386) is the 32-bit component # and runs 32-bit programs. # - wine64 (aka this part of this port on FreeBSD/amd64) is the # 64-bit component and runs 64-bit programs. # - wow64 (aka this port built on FreeBSD/i386) is a part of the # 64-bit component [wine64] that runs 32-bit programs on FreeBSD/amd64. # --libdir is required since Wine defaults to "${PREFIX}/lib64" on amd64. CONFIGURE_ARGS+= --enable-win64 --libdir=${PREFIX}/lib PLIST_SUB+= WINE32="@comment " WINE64="" WINEARCH="x86_64" # Wine assumes a WoW64 package is available, which is not the case on # FreeBSD yet. post-patch: ${REINPLACE_CMD} '/Exec/s|wine|wine64|g' ${WRKSRC}/loader/wine.desktop .else PLIST_SUB+= WINE32="" WINE64="@comment " WINEARCH="i386" .endif post-extract-STAGING-on: fix-shebang @${LN} -s ${WRKDIR}/${PORTNAME}-staging-${DISTVERSION}/patches ${WRKSRC}/patches post-patch-STAGING-on: cd ${WRKSRC} && ${PATCH} -p0 < ${PATCHDIR}/extra-gitapply cd ${WRKSRC} && bash ./patches/patchinstall.sh --backend=patch DESTDIR=${WRKSRC} --all pre-build: cd ${WRKSRC} && ${MAKE_CMD} depend post-install: .if ${ARCH} == i386 ${MV} ${STAGEDIR}${PREFIX}/bin/wineserver ${STAGEDIR}${PREFIX}/bin/wineserver32 ${MV} ${STAGEDIR}${PREFIX}/bin/wine ${STAGEDIR}${PREFIX}/bin/wine.bin -${ELFCTL} -e +noaslr ${STAGEDIR}${PREFIX}/bin/wine.bin ${INSTALL_SCRIPT} ${FILESDIR}/wine.sh ${STAGEDIR}${PREFIX}/bin/wine .else ${MV} ${STAGEDIR}${PREFIX}/bin/wine64 ${STAGEDIR}${PREFIX}/bin/wine64.bin -${ELFCTL} -e +noaslr ${STAGEDIR}${PREFIX}/bin/wine64.bin ${INSTALL_SCRIPT} ${FILESDIR}/wine.sh ${STAGEDIR}${PREFIX}/bin/wine64 ${INSTALL_SCRIPT} ${FILESDIR}/wine-wow64.sh ${STAGEDIR}${PREFIX}/bin/wine ${INSTALL_SCRIPT} ${FILESDIR}/pkg32.sh ${STAGEDIR}${DATADIR}/pkg32.sh .endif @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in README ANNOUNCE AUTHORS ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor ${INSTALL_DATA} ${WRKSRC}/programs/winedbg/README ${STAGEDIR}${DOCSDIR}/README.winedbg ${INSTALL_DATA} ${WRKSRC}/tools/winedump/README ${STAGEDIR}${DOCSDIR}/README.winedump check-wine-devel-vs-staging: @${GREP} %%STAGING%% pkg-plist | while read f; do \ f=`echo $$f | ${SED} -e 's:%%STAGING%%::' -e "s:%%DATADIR%%:${DATADIR}:"`; \ if [ -f "$$STAGEDIR/$$PREFIX/$$f" ] || [ -f "$$STAGEDIR/$$f" ]; then \ ${PRINTF} "%s no longer contingent on %%STAGING%%?\n" "$$f"; \ fi \ done .include diff --git a/emulators/wine-gecko-devel/Makefile b/emulators/wine-gecko-devel/Makefile index df080a745920..7a57c1bc8084 100644 --- a/emulators/wine-gecko-devel/Makefile +++ b/emulators/wine-gecko-devel/Makefile @@ -1,30 +1,28 @@ -# Created by: David Naylor - PORTNAME= wine-gecko DISTVERSION= 2.47.2 CATEGORIES= emulators MASTER_SITES= http://dl.winehq.org/wine/wine-gecko/${DISTVERSION}/ PKGNAMESUFFIX= -devel DISTNAME= wine-gecko-${DISTVERSION}-x86 EXTRACT_SUFX= .msi EXTRACT_ONLY= MAINTAINER= damjan.jov@gmail.com COMMENT= Gecko Layout Engine for Wine development branch (HTML support) LICENSE= MPL20 GPLv2 GPLv3 LGPL21 LGPL3 LICENSE_COMB= multi CONFLICTS_INSTALL= wine-gecko NO_BUILD= yes PLIST_SUB+= GECKO_VERSION="${DISTVERSION}" DATADIR= ${PREFIX}/share/wine PLIST_FILES= ${DATADIR}/gecko/${DISTNAME}.msi do-install: @${MKDIR} ${STAGEDIR}${DATADIR}/gecko ${INSTALL_DATA} ${DISTDIR}/${DISTNAME}.msi \ ${STAGEDIR}${DATADIR}/gecko .include diff --git a/emulators/wine-gecko/Makefile b/emulators/wine-gecko/Makefile index 7db513dd645f..6bd4052efe36 100644 --- a/emulators/wine-gecko/Makefile +++ b/emulators/wine-gecko/Makefile @@ -1,31 +1,29 @@ -# Created by: David Naylor - PORTNAME= wine-gecko DISTVERSION= 2.47.2 CATEGORIES= emulators MASTER_SITES= http://dl.winehq.org/wine/wine-gecko/${DISTVERSION}/ DISTNAME= wine-gecko-${DISTVERSION}-x86 EXTRACT_SUFX= .msi EXTRACT_ONLY= MAINTAINER= gerald@FreeBSD.org COMMENT= Gecko Layout Engine for Wine (HTML support) LICENSE= MPL20 GPLv2 GPLv3 LGPL21 LGPL3 LICENSE_COMB= multi PORTSCOUT= ignore:1 # for newer versions see emulators/wine-gecko-devel CONFLICTS_INSTALL= wine-gecko-devel NO_BUILD= yes PLIST_SUB+= GECKO_VERSION="${DISTVERSION}" DATADIR= ${PREFIX}/share/wine PLIST_FILES= ${DATADIR}/gecko/${DISTNAME}.msi do-install: @${MKDIR} ${STAGEDIR}${DATADIR}/gecko ${INSTALL_DATA} ${DISTDIR}/${DISTNAME}.msi \ ${STAGEDIR}${DATADIR}/gecko .include diff --git a/emulators/wine-mono-devel/Makefile b/emulators/wine-mono-devel/Makefile index db0c2edcbd96..cd0bce78ac65 100644 --- a/emulators/wine-mono-devel/Makefile +++ b/emulators/wine-mono-devel/Makefile @@ -1,30 +1,28 @@ -# Created by: David Naylor - PORTNAME= wine-mono DISTVERSION= 7.3.0 DISTVERSIONSUFFIX=-x86 CATEGORIES= emulators MASTER_SITES= http://dl.winehq.org/wine/wine-mono/${DISTVERSION}/ PKGNAMESUFFIX= -devel EXTRACT_SUFX= .msi EXTRACT_ONLY= MAINTAINER= damjan.jov@gmail.com COMMENT= Mono .NET implementation for Wine development branch LICENSE= MIT GPLv2 LGPL20 LICENSE_COMB= multi CONFLICTS_INSTALL= wine-mono NO_BUILD= yes PLIST_SUB+= MONO_VERSION="${DISTVERSION}" DATADIR= ${PREFIX}/share/wine PLIST_FILES= ${DATADIR}/mono/${DISTNAME}.msi do-install: @${MKDIR} ${STAGEDIR}${DATADIR}/mono ${INSTALL_DATA} ${DISTDIR}/${DISTNAME}.msi \ ${STAGEDIR}${DATADIR}/mono .include diff --git a/emulators/wine-mono/Makefile b/emulators/wine-mono/Makefile index aace8c29ee98..724670ab6f44 100644 --- a/emulators/wine-mono/Makefile +++ b/emulators/wine-mono/Makefile @@ -1,31 +1,29 @@ -# Created by: David Naylor - PORTNAME= wine-mono DISTVERSION= 5.1.1 DISTVERSIONSUFFIX=-x86 CATEGORIES= emulators MASTER_SITES= http://dl.winehq.org/wine/wine-mono/${DISTVERSION}/ EXTRACT_SUFX= .msi EXTRACT_ONLY= MAINTAINER= gerald@FreeBSD.org COMMENT= Mono .NET implementation for Wine LICENSE= MIT GPLv2 LGPL20 LICENSE_COMB= multi PORTSCOUT= ignore:1 # for newer versions see emulators/wine-mono-devel CONFLICTS_INSTALL= wine-mono-devel NO_BUILD= yes PLIST_SUB+= MONO_VERSION="${DISTVERSION}" DATADIR= ${PREFIX}/share/wine PLIST_FILES= ${DATADIR}/mono/${DISTNAME}.msi do-install: @${MKDIR} ${STAGEDIR}${DATADIR}/mono ${INSTALL_DATA} ${DISTDIR}/${DISTNAME}.msi \ ${STAGEDIR}${DATADIR}/mono .include diff --git a/emulators/wine/Makefile b/emulators/wine/Makefile index 7c8929e25563..ca3084b3c4a9 100644 --- a/emulators/wine/Makefile +++ b/emulators/wine/Makefile @@ -1,180 +1,178 @@ -# Created by: Gerald Pfeifer - PORTNAME= wine DISTVERSION= 6.0.4 PORTEPOCH= 1 CATEGORIES= emulators MASTER_SITES= SF/${PORTNAME}/Source \ http://mirrors.ibiblio.org/wine/source/6.0/ MAINTAINER= gerald@FreeBSD.org COMMENT= Microsoft Windows compatibility environment LICENSE= LGPL21 LGPL3 LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= amd64 i386 BUILD_DEPENDS= ${LOCALBASE}/bin/flex:textproc/flex LIB_DEPENDS= libFAudio.so:audio/faudio \ libxml2.so:textproc/libxml2 USES= bison cpe desktop-file-utils gmake localbase \ pkgconfig sdl shebangfix tar:xz USE_GCC= yes USE_SDL= sdl2 CPE_VENDOR= winehq CONFLICTS_INSTALL= wine-devel GNU_CONFIGURE= yes CONFIGURE_ARGS+=--verbose \ --disable-kerberos \ --disable-tests \ --without-capi \ --without-coreaudio \ --without-dbus \ --without-gettext --without-gettextpo \ --without-gphoto \ --without-gsm \ --without-gssapi \ --without-gstreamer \ --without-hal \ --without-inotify \ --without-krb5 \ --without-mingw \ --without-netapi \ --without-opencl \ --without-osmesa \ --with-pcap \ --with-pthread \ --without-pulse \ --without-quicktime \ --without-sane \ --with-sdl \ --without-tiff \ --without-udev \ --without-unwind \ --without-usb CONFIGURE_ENV= CPPBIN="${CPP}" FLEX="${LOCALBASE}/bin/flex" WINELIBDIR= ${PREFIX}/lib .if !defined(USE_LDCONFIG32) USE_LDCONFIG= ${WINELIBDIR} ${WINELIBDIR}/wine .endif SHEBANG_FILES= tools/make_requests tools/winemaker/winemaker \ tools/winedump/function_grep.pl SUB_FILES= pkg-message PORTDATA= wine.inf OPTIONS_DEFINE= CUPS DOCS DOSBOX GNUTLS LDAP LIBXSLT MPG123 OPENAL V4L WINEMAKER X11 GECKO MONO OPTIONS_DEFAULT=GNUTLS OPENAL OSS X11 OPTIONS_RADIO= AUDIO OPTIONS_RADIO_AUDIO= ALSA OSS OPTIONS_SUB= yes DOSBOX_DESC= Use DOSBox to run MS-DOS programs LIBXSLT_DESC= Use libxslt (only used by msxml3.dll) WINEMAKER_DESC= Fully support winemaker (requires Perl) GECKO_DESC= Bundle Gecko MSI package for Wine MONO_DESC= Bundle Mono MSI package for Wine PORTSCOUT= limit:^6\.0 ALSA_CONFIGURE_ON= --with-alsa --without-oss ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib CUPS_CONFIGURE_WITH= cups CUPS_LIB_DEPENDS= libcups.so:print/cups DOSBOX_RUN_DEPENDS= dosbox:emulators/dosbox GECKO_RUN_DEPENDS= wine-gecko>0:emulators/wine-gecko GNUTLS_CONFIGURE_WITH= gnutls GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls LDAP_CONFIGURE_WITH= ldap LDAP_USE= OPENLDAP=yes LIBXSLT_CONFIGURE_WITH= xslt LIBXSLT_LIB_DEPENDS= libxslt.so:textproc/libxslt MONO_RUN_DEPENDS= wine-mono>0:emulators/wine-mono MPG123_CONFIGURE_WITH= mpg123 MPG123_LIB_DEPENDS= libmpg123.so:audio/mpg123 OPENAL_CONFIGURE_WITH= openal OPENAL_USES= openal OSS_CONFIGURE_ON= --without-alsa --with-oss V4L_CONFIGURE_WITH= v4l2 V4L_BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l WINEMAKER_RUN_DEPENDS= p5-XML-LibXML>0:textproc/p5-XML-LibXML X11_CONFIGURE_WITH= x cms fontconfig freetype jpeg opengl png vkd3d xinerama xinput2 xrandr xrender X11_USES= gl jpeg xorg X11_USE= GL=glu XORG=x11,xext,xcomposite,xcursor,xi,xinerama,xrandr,xrender X11_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ liblcms2.so:graphics/lcms2 \ libpng.so:graphics/png \ libvulkan.so:graphics/vulkan-loader \ libvkd3d.so:graphics/vkd3d .include .if ${ARCH} == amd64 # Wine is composed of three parts: # - wine (aka this port on FreeBSD/i386) is the 32-bit component # and runs 32-bit programs. # - wine64 (aka this part of this port on FreeBSD/amd64) is the # 64-bit component and runs 64-bit programs. # - wow64 (aka this port built on FreeBSD/i386) is a part of the # 64-bit component [wine64] that runs 32-bit programs on FreeBSD/amd64. # --libdir is required since Wine defaults to "${PREFIX}/lib64" on amd64. CONFIGURE_ARGS+= --enable-win64 --libdir=${PREFIX}/lib PLIST_SUB+= WINE32="@comment " WINE64="" # Wine assumes a WoW64 package is available, which is not the case on # FreeBSD yet. post-patch: ${REINPLACE_CMD} '/Exec/s|wine|wine64|g' ${WRKSRC}/loader/wine.desktop .else PLIST_SUB+= WINE32="" WINE64="@comment " .endif pre-build: cd ${WRKSRC} && ${MAKE_CMD} depend post-install: .if ${ARCH} == i386 ${MV} ${STAGEDIR}${PREFIX}/bin/wineserver ${STAGEDIR}${PREFIX}/bin/wineserver32 ${MV} ${STAGEDIR}${PREFIX}/bin/wine ${STAGEDIR}${PREFIX}/bin/wine.bin ${INSTALL_SCRIPT} ${FILESDIR}/wine.sh ${STAGEDIR}${PREFIX}/bin/wine .else ${MV} ${STAGEDIR}${PREFIX}/bin/wine64 ${STAGEDIR}${PREFIX}/bin/wine64.bin ${INSTALL_SCRIPT} ${FILESDIR}/wine.sh ${STAGEDIR}${PREFIX}/bin/wine64 ${INSTALL_SCRIPT} ${FILESDIR}/wine-wow64.sh ${STAGEDIR}${PREFIX}/bin/wine ${INSTALL_SCRIPT} ${FILESDIR}/pkg32.sh ${STAGEDIR}${DATADIR}/pkg32.sh .endif @${MV} -f ${STAGEDIR}${WINELIBDIR}/libwine.so.1.0 \ ${STAGEDIR}${WINELIBDIR}/libwine.so.1 @${LN} -sf libwine.so.1 ${STAGEDIR}/${WINELIBDIR}/libwine.so @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in README ANNOUNCE AUTHORS ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor ${INSTALL_DATA} ${WRKSRC}/programs/winedbg/README ${STAGEDIR}${DOCSDIR}/README.winedbg ${INSTALL_DATA} ${WRKSRC}/tools/winedump/README ${STAGEDIR}${DOCSDIR}/README.winedump .include diff --git a/emulators/x48/Makefile b/emulators/x48/Makefile index 122d353a7b2c..96432116814e 100644 --- a/emulators/x48/Makefile +++ b/emulators/x48/Makefile @@ -1,57 +1,55 @@ -# Created by: Eric L. Hernes - PORTNAME= x48 PORTVERSION= 0.6.4 PORTREVISION= 1 CATEGORIES= emulators math MASTER_SITES= SF/${PORTNAME}.berlios DISTFILES= ${DISTNAME}${EXTRACT_SUFX} gxrom-r.bz2 sxrom-j.bz2 DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= danfe@FreeBSD.org COMMENT= HP48 SX/GX graphic calculator emulator LICENSE= GPLv3 RUN_DEPENDS= ${LOCALBASE}/share/fonts/misc/7x14B-ISO8859-1.pcf.gz:x11-fonts/font-misc-misc \ ${LOCALBASE}/share/fonts/75dpi/helvR12-ISO8859-1.pcf.gz:x11-fonts/font-adobe-75dpi GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -lutil USES= autoreconf gmake pkgconfig tar:bzip2 xorg USE_XORG= x11 xext xt NO_WRKSUBDIR= yes PORTDOCS= ChangeLog README OPTIONS_DEFINE= DOCS post-extract: .SILENT # Extract official HP ROM images for GX/SX ${CP} ${_DISTDIR}/gxrom-r.bz2 ${WRKSRC} && ${BZIP2_CMD} \ -d ${WRKSRC}/gxrom-r.bz2 ${CP} ${_DISTDIR}/sxrom-j.bz2 ${WRKSRC} && ${BZIP2_CMD} \ -d ${WRKSRC}/sxrom-j.bz2 post-patch: # Enable serial communication and prefer GX Revision R ROM by default @${REINPLACE_CMD} -e '/useSerial/s+False+True+ ; s+ttyS+cuau+ ; \ s+rom\.dump+${DATADIR}/gxrom-r+' ${WRKSRC}/src/X48.ad.h # Force correct type per what comment says @${REINPLACE_CMD} -e '/timer1/s+char+signed &+' ${WRKSRC}/src/hp48.h # Fix the build against Clang (lots of warnings remain) @${REINPLACE_CMD} -e '1531s+char \*+void+' ${WRKSRC}/src/debugger.c @${REINPLACE_CMD} -e '698s+^+static +' ${WRKSRC}/src/emulate.c do-install: .for p in x48 dump2rom checkrom mkcard ${INSTALL_PROGRAM} ${WRKSRC}/src/${p} ${STAGEDIR}${PREFIX}/bin .endfor @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/??rom-? ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S+^+${WRKSRC}/+} ${STAGEDIR}${DOCSDIR} .include diff --git a/emulators/x49gp/Makefile b/emulators/x49gp/Makefile index 767dc8917e4e..2cff5b957a4b 100644 --- a/emulators/x49gp/Makefile +++ b/emulators/x49gp/Makefile @@ -1,99 +1,97 @@ -# Created by: Shaun Amott - # Note: sdcard64.tar.gz contains just an empty 64MB FAT-16 disk image PORTNAME= x49gp PORTVERSION= 20100425 PORTREVISION= 7 CATEGORIES= emulators math MASTER_SITES= LOCAL/shaun DISTFILES= ${DISTNAME}${EXTRACT_SUFX} sdcard64.tar.gz EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= shaun@FreeBSD.org COMMENT= HP 49g+/50g graphics calculator emulator BROKEN_i386= does not build on i386 (error: frame pointer required, but reserved) BROKEN_powerpc64= fails to build: qemu/qemu-git/arm-softmmu/i386-dis.o: No such file or directory NOT_FOR_ARCHS= aarch64 armv6 armv7 NOT_FOR_ARCHS_REASON= unsupported CPU = unknown WRKSRC= ${WRKDIR}/x49gp/x49gp-code USES= gmake gnome pkgconfig xorg USE_GCC= yes USE_XORG= x11 USE_GNOME= gtk20 OPTIONS_SINGLE= FIRMWARE OPTIONS_SINGLE_FIRMWARE=FIRMWARE_215 FIRMWARE_209 #OPTIONS_SINGLE_FIRMWARE=FIRMWARE_215H3 FIRMWARE_215 FIRMWARE_209 #FIRMWARE_215H3_DESC= Calculator ROM firmware version 2.15 plus HPGCC3 FIRMWARE_215_DESC= Calculator ROM firmware version 2.15 FIRMWARE_209_DESC= Calculator ROM firmware version 2.09 OPTIONS_DEFINE= GRAYSCALE GRAYSCALE_DESC= Apply patch for grayscale support OPTIONS_DEFAULT=FIRMWARE_215 GRAYSCALE SUB_FILES= hp50g.sh .if defined(WITH_DEBUG) MAKE_ENV+= DEBUGB=1 .endif .include MAKE_ARGS+=CC="${CC}" .if ${PORT_OPTIONS:MGRAYSCALE} EXTRA_PATCHES+= ${FILESDIR}/grayscale.diff .endif .if ${PORT_OPTIONS:MFIRMWARE_215H3} || ${PORT_OPTIONS:MFIRMWARE_215} MAKE_ARGS+=FIRMWARE=4950_215.bin DISTFILES+=hp4950v215.zip EXTRACT_ONLY+=hp4950v215.zip .else MAKE_ARGS+=FIRMWARE=4950_92.bin .endif #.if ${PORT_OPTIONS:MFIRMWARE_215H3} #DISTFILES+=rom215_hpgcc3_R004.tar.gz #EXTRACT_ONLY+=rom215_hpgcc3_R004.tar.gz #.endif post-patch: .if ${PORT_OPTIONS:MFIRMWARE_215H3} || ${PORT_OPTIONS:MFIRMWARE_215} @${CP} ${WRKDIR}/hp4950v215/*.lib ${WRKSRC}/ @${CP} ${WRKDIR}/hp4950v215/*.bin ${WRKSRC}/ @${CP} ${WRKDIR}/hp4950v215/*.scp ${WRKSRC}/ .endif #.if ${PORT_OPTIONS:MFIRMWARE_215H3} # @${CP} ${WRKDIR}/rom215_hpgcc3_R004/hpgccrom.bin ${WRKSRC}/4950_215.bin #.endif do-configure: cd ${WRKSRC}/qemu/qemu-git && ./configure-small --extra-cflags=-DX49GP --cc="${CC}" do-build: cd ${WRKSRC} && ${SETENV} -u MAKELEVEL -u MAKEFLAGS ${MAKE_CMD} ${MAKE_ARGS} do-install: @${MKDIR} ${STAGEDIR}${DATADIR} .for f in flash-50g hp50g.png hp50g-hack.png hp49g+.png flash-49g+ sram s3c2410-sram ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DATADIR}/ .endfor ${INSTALL_DATA} ${FILESDIR}/config-hp50g ${STAGEDIR}${DATADIR}/ ${INSTALL_DATA} ${FILESDIR}/config-hp49g+ ${STAGEDIR}${DATADIR}/ ${INSTALL_PROGRAM} ${WRKSRC}/x49gp ${STAGEDIR}${PREFIX}/bin/x49gp-bin ${INSTALL_SCRIPT} ${WRKDIR}/hp50g.sh ${STAGEDIR}${PREFIX}/bin/hp50g ${RM} ${STAGEDIR}${PREFIX}/bin/hp49g+ ${LN} ${STAGEDIR}${PREFIX}/bin/hp50g ${STAGEDIR}${PREFIX}/bin/hp49g+ ${INSTALL_DATA} ${DISTDIR}/sdcard64.tar.gz ${STAGEDIR}${DATADIR}/ .include diff --git a/emulators/xbraitenberg/Makefile b/emulators/xbraitenberg/Makefile index fe4ca705b8aa..d0ffbade0e23 100644 --- a/emulators/xbraitenberg/Makefile +++ b/emulators/xbraitenberg/Makefile @@ -1,24 +1,22 @@ -# Created by: krion - PORTNAME= xbraitenberg PORTVERSION= 0.9 PORTREVISION= 2 CATEGORIES= emulators MASTER_SITES= http://www.lcdf.org/~eddietwo/xbraitenberg/ MAINTAINER= ports@FreeBSD.org COMMENT= Braitenberg vehicle simulator with pseudo-physics USES= xorg USE_CXXSTD= c++98 USE_XORG= x11 ice sm xext GNU_CONFIGURE= yes CONFIGURE_ENV= ac_cv_fpermissive=no PLIST_FILES= bin/xbraitenberg post-patch: @${REINPLACE_CMD} -e \ '/operator bool() const/d' ${WRKSRC}/operator.hh .include diff --git a/emulators/xcpc/Makefile b/emulators/xcpc/Makefile index a3b0202de42f..208ffe8cc08d 100644 --- a/emulators/xcpc/Makefile +++ b/emulators/xcpc/Makefile @@ -1,58 +1,56 @@ -# Created by: joerg - PORTNAME= xcpc PORTVERSION= 20070122 PORTREVISION= 15 CATEGORIES= emulators MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= pixel@hugbox.org COMMENT= Portable Amstrad 464&/664/6128 emulator HAS_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS+=--prefix=${PREFIX} USE_XORG= ice USE_GNOME= glib20 USES= gettext gnome iconv pkgconfig xorg LIB_DEPENDS+= libpcre.so:devel/pcre \ libdsk.so:emulators/libdsk OPTIONS_DEFINE= MOTIF ATHENA XSHM DEBUG OPTIONS_DEFAULT= MOTIF XSHM MOTIF_DESC= With Motif widget set ATHENA_DESC= With Athen widget set XSHM_DESC= With XShm support .include .if ${PORT_OPTIONS:MDEBUG} CONFIGURE_ARGS+=--enable-debug .else CONFIGURE_ARGS+=--disable-debug .endif .if ${PORT_OPTIONS:MXSHM} CONFIGURE_ARGS+=--enable-xshm .else CONFIGURE_ARGS+=--disable-xshm .endif .if ${PORT_OPTIONS:MMOTIF} USES+= motif CONFIGURE_ARGS+=--with-motif1 .else CONFIGURE_ARGS+=--without-motif1 .endif .if ${PORT_OPTIONS:MATHENA} LIB_DEPENDS+= libXaw.so:x11-toolkits/libXaw CONFIGURE_ARGS+=--with-athena .else CONFIGURE_ARGS+=--without-athena .endif .include diff --git a/emulators/xhomer/Makefile b/emulators/xhomer/Makefile index e6d2f0e1ec88..2eb309ba208e 100644 --- a/emulators/xhomer/Makefile +++ b/emulators/xhomer/Makefile @@ -1,40 +1,38 @@ -# Created by: trasz - PORTNAME= xhomer DISTVERSION= 9-16-06 PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= emulators MASTER_SITES= http://xhomer.isani.org/xhomer/ MAINTAINER= ports@FreeBSD.org COMMENT= Emulator for the DEC Pro 350 computer USES= gmake tar:tgz xorg USE_XORG= xt sm ice xext x11 ALL_TARGET= clean xhomer INSTALL_TARGET= # empty CFLAGS+= -Wall -ffloat-store SUB_FILES= pkg-message PLIST_FILES= bin/xhomer PORTDOCS= README LICENSE SIMH PORTEXAMPLES= xhomer.cfg MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= DOCS EXAMPLES post-install: ${INSTALL_PROGRAM} ${WRKSRC}/xhomer ${STAGEDIR}${PREFIX}/bin post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/xhomer.cfg ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/emulators/xsystem35/Makefile b/emulators/xsystem35/Makefile index 97bfb6400812..7058d7b6fd55 100644 --- a/emulators/xsystem35/Makefile +++ b/emulators/xsystem35/Makefile @@ -1,67 +1,65 @@ -# Created by: Seiichirou Hiraoka - PORTNAME= xsystem35 DISTVERSION= 1.7.3-pre5 PORTREVISION= 4 CATEGORIES= emulators games MASTER_SITES= DEBIAN DISTFILES= ${DISTNAME:S/-/_/}.orig${EXTRACT_SUFX} MAINTAINER= jbeich@FreeBSD.org COMMENT= AliceSoft System 3.5/3.6/3.8/3.9 on X Window System LICENSE= GPLv2+ LIB_DEPENDS= libvorbisfile.so:audio/libvorbis \ libltdl.so:devel/libltdl \ libfreetype.so:print/freetype2 OPTIONS_DEFINE= DOCS EXAMPLES OPTIONS_DEFINE_i386= MMX OPTIONS_DEFAULT_i386= ${MACHINE_CPU:tu:MMMX} MMX_BUILD_DEPENDS=nasm:devel/nasm MMX_CONFIGURE_ENABLE=mmx EXTRACT_AFTER_ARGS=--exclude libltdl USES= gettext gmake gnome jpeg libtool localbase pkgconfig \ shebangfix xorg USE_GNOME= gtk20 SHEBANG_FILES= contrib/instgame USE_XORG= x11 xext xxf86vm GNU_CONFIGURE= yes CONFIGURE_ENV= X_LIBS="-lX11" CONFIGURE_ARGS= \ --with-cachesize=20 \ --with-glib-prefix=${NONEXISTENT} \ --with-gtk-prefix=${NONEXISTENT} \ --disable-static \ --enable-audio=oss \ --with-default-output=oss \ --enable-midi=seq,extp,raw \ --enable-cdrom=bsd,mp3 INSTALL_TARGET= install-strip SUB_FILES= pkg-message DOCSDIR= ${PREFIX}/share/doc/ja/${PORTNAME} post-patch: @${CP} ${WRKSRC}/INSTALL ${WRKSRC}/doc/INSTALL @${REINPLACE_CMD} -e '/-lxpg4/d' \ -e '/INCLTDL=/d; /LTDLINCL=/d' \ -e '/LIBLTDL=/s/=.*/="-lltdl"/' \ ${WRKSRC}/configure @${REINPLACE_CMD} '/^SUBDIRS/s/ libltdl//' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} 's|__COUNTER__|__COUNTER_H__|' ${WRKSRC}/src/counter.h post-install: ${INSTALL_SCRIPT} ${WRKSRC}/contrib/instgame ${STAGEDIR}${PREFIX}/bin (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) (cd ${WRKSRC}/contrib && ${COPYTREE_SHARE} \ "*.*" ${STAGEDIR}${EXAMPLESDIR}) ${INSTALL_DATA} ${WRKSRC}/patch/pastel.diff \ ${WRKSRC}/src/xsys35rc.sample \ ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/emulators/xzx/Makefile b/emulators/xzx/Makefile index fab8e572e044..71f817c78dd6 100644 --- a/emulators/xzx/Makefile +++ b/emulators/xzx/Makefile @@ -1,40 +1,38 @@ -# Created by: Sheldon Hearn - PORTNAME= xzx PORTVERSION= 4.6 PORTREVISION= 5 CATEGORIES= emulators MASTER_SITES= http://wos.meulie.net/pub/sinclair/emulators/unix/ \ http://fossies.org/linux/misc/old/ DISTNAME= ${PORTNAME}-pro-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= ZX Spectrum (48K/128K/+3) Emulator for X11 # Converted from RESTRICTED LICENSE= xzx LICENSE_NAME= xzx LICENSE_TEXT= Redistribution forbidden by license LICENSE_PERMS= auto-accept USES= imake:env motif xorg USE_XORG= x11 ice sm xext xpm xt xxf86vm GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-oss DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-pro OPTIONS_DEFINE= DOCS pre-configure: @${REINPLACE_CMD} 's,(pkglibdir),(datadir)/doc/@PACKAGE@,' ${WRKSRC}/doc/Makefile.in # Prevent configure from trying to run auto* since it's not needed and will # error if auto* < 2.54 post-configure: @${REINPLACE_CMD} 's@autoheader@${TRUE}@g' ${WRKSRC}/Makefile @${REINPLACE_CMD} 's@autoconf@${TRUE}@g' ${WRKSRC}/Makefile @${ECHO_CMD} "${TRUE}" > ${WRKSRC}/missing .include diff --git a/emulators/zsnes/Makefile b/emulators/zsnes/Makefile index caff0933b493..1697f6fb0243 100644 --- a/emulators/zsnes/Makefile +++ b/emulators/zsnes/Makefile @@ -1,63 +1,61 @@ -# Created by: Stijn Hoop - PORTNAME= zsnes PORTVERSION= 1.51 PORTREVISION= 12 PORTEPOCH= 1 CATEGORIES= emulators MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/ZSNES%20v${PORTVERSION} DISTNAME= zsnes${PORTVERSION:S/.//}src MAINTAINER= cyberbotx@cyberbotx.com COMMENT= Intel x86 only Super Nintendo Entertainment System (SNES) Emulator LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/../docs/license.txt ONLY_FOR_ARCHS= i386 ONLY_FOR_ARCHS_REASON= non-portable, for a portable emulator see emulators/snes9x BUILD_DEPENDS= nasm:devel/nasm LIB_DEPENDS= libpng.so:graphics/png USES= gmake localbase sdl tar:bzip2 USE_SDL= sdl GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-cpucheck WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION:S/./_/}/src PLIST_FILES= bin/zsnes man/man1/zsnes.1.gz NO_OPTIONS_SORT=yes OPTIONS_DEFINE= X11 OPENGL DEBUGGER JMA AO OPTIONS_DEFAULT=X11 JMA DEBUGGER_DESC= ZSNES Debugger JMA_DESC= JMA support DEBUGGER_CONFIGURE_ENABLE= debugger JMA_CONFIGURE_ENABLE= jma X11_CONFIGURE_WITH= x OPENGL_CONFIGURE_ENABLE= opengl AO_LIB_DEPENDS= libao.so:audio/libao AO_CONFIGURE_ENABLE= libao post-patch: @${REINPLACE_CMD} -e \ 's|@CXX@ @CFLAGS@ -o|@CXX@ @CXXFLAGS@ @CPPFLAGS@ -o|g ; \ s|@CC@ @CFLAGS@ -o|@CC@ @CFLAGS@ @CPPFLAGS@ -o|g' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -i "" -e \ 's|-O3||g' ${WRKSRC}/${CONFIGURE_SCRIPT} @${REINPLACE_CMD} -e 's|size_t argc|int argc|g' \ ${WRKSRC}/parsegen.cpp ${WRKSRC}/tools/depbuild.cpp \ ${WRKSRC}/tools/extraext.cpp ${WRKSRC}/tools/macroll.cpp \ ${WRKSRC}/tools/minwhite.cpp ${WRKSRC}/tools/nreplace.cpp \ ${WRKSRC}/tools/varrep.cpp do-install: ${INSTALL_PROGRAM} ${WRKSRC}/zsnes ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/linux/zsnes.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include