Index: head/editors/calligra/Makefile =================================================================== --- head/editors/calligra/Makefile (revision 516801) +++ head/editors/calligra/Makefile (revision 516802) @@ -1,72 +1,73 @@ # $FreeBSD$ PORTNAME= calligra DISTVERSION= 3.1.0 PORTREVISION= 28 CATEGORIES= editors kde MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION} DIST_SUBDIR= KDE/${PORTNAME} MAINTAINER= kde@FreeBSD.org COMMENT= KDE office suite LIB_DEPENDS= libImath.so:graphics/ilmbase \ libKPropertyCore3.so:x11-toolkits/kproperty \ libKReport3.so:textproc/kreport \ libboost_thread.so:devel/boost-libs \ libetonyek-0.1.so:graphics/libetonyek01 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgsl.so:math/gsl \ liblcms2.so:graphics/lcms2 \ libKGantt.so:graphics/kdiagram \ libodfgen-0.1.so:textproc/libodfgen01 \ libopenjpeg.so:graphics/openjpeg15 \ libpng.so:graphics/png \ libpoppler-qt5.so:graphics/poppler-qt5 \ libpoppler.so:graphics/poppler \ libqca-qt5.so:devel/qca \ librevenge-0.0.so:textproc/librevenge \ libtiff.so:graphics/tiff \ libvisio-0.1.so:textproc/libvisio01 \ libwpd-0.10.so:textproc/libwpd010 \ libwpg-0.3.so:graphics/libwpg03 \ libwps-0.4.so:textproc/libwps BUILD_DEPENDS= pstoedit:graphics/pstoedit RUN_DEPENDS= pstoedit:graphics/pstoedit USES= cmake cpe compiler:c++11-lib desktop-file-utils eigen:3 \ - gettext iconv:translit jpeg kde:5 localbase:ldflags perl5 pkgconfig \ + gettext iconv:translit jpeg kde:5 localbase:ldflags perl5 \ + pkgconfig xorg qt:5 shared-mime-info sqlite tar:xz USE_KDE= akonadicontacts activities archive auth bookmarks codecs completion \ config configwidgets contacts coreaddons crash dbusaddons doctools ecm \ emoticons guiaddons holidays i18n iconthemes init itemmodels itemviews \ jobwidgets js kcmutils kdelibs4support khtml kio \ kross notifications notifyconfig parts service solid sonnet \ texteditor textwidgets threadweaver unitconversion wallet \ widgetsaddons windowsystem xmlgui \ calendarcore okular USE_QT= buildtools_build core dbus declarative gui network opengl \ phonon4 printsupport qmake_build \ script sql svg testlib webkit widgets x11extras xml USE_XORG= ice sm x11 xext USE_LDCONFIG= yes OPTIONS_DEFINE= OPENEXR OPTIONS_DEFAULT= OPENEXR OPENEXR_LIB_DEPENDS= libIlmImf.so:graphics/openexr OPENEXR_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_OpenEXR CMAKE_ARGS= -DCMAKE_INCLUDE_PATH:STRING="${QT_INCDIR} ${LOCALBASE}/include" \ -DPRODUCTSET:STRING="DESKTOP" # Requested by upstream, to not include unfinished modules CMAKE_ON= RELEASE_BUILD # Performance increase according to README.PACKAGERS CMAKE_ARGS+= -DCMAKE_CXX_FLAGS="-DKDE_NO_DEBUG_OUTPUT" PLIST_SUB+= SHLIB_VER=16.0.0 .include Index: head/editors/calligraplan/Makefile =================================================================== --- head/editors/calligraplan/Makefile (revision 516801) +++ head/editors/calligraplan/Makefile (revision 516802) @@ -1,29 +1,29 @@ # $FreeBSD$ PORTNAME= calligraplan DISTVERSION= 3.1.0 PORTREVISION= 5 CATEGORIES= editors kde MASTER_SITES= KDE/stable/calligra/${PORTVERSION} DIST_SUBDIR= KDE/${PORTNAME} MAINTAINER= kde@FreeBSD.org COMMENT= KDE Calligra project management application LIB_DEPENDS= libKChart.so:graphics/kdiagram USES= cmake cpe compiler:c++11-lib desktop-file-utils kde:5 \ - qt:5 tar:xz + qt:5 tar:xz xorg USE_KDE= activities akonadi archive auth bookmarks codecs completion config \ configwidgets coreaddons dbusaddons ecm guiaddons holidays i18n \ iconthemes itemmodels itemviews jobwidgets js khtml kio \ notifications parts service solid sonnet textwidgets wallet \ widgetsaddons windowsystem xmlgui \ akonadicontacts calendarcore contacts USE_QT= core dbus gui network printsupport widgets x11extras xml \ buildtools_build qmake_build USE_XORG= ice sm x11 xext PLIST_SUB+= SHLIB_VER=16.0.0 .include Index: head/editors/cooledit/Makefile =================================================================== --- head/editors/cooledit/Makefile (revision 516801) +++ head/editors/cooledit/Makefile (revision 516802) @@ -1,34 +1,34 @@ # Created by: brett@peloton.physics.montana.edu # $FreeBSD$ PORTNAME= cooledit DISTVERSION= 3.17.28 PORTREVISION= 3 CATEGORIES= editors MASTER_SITES= SUNSITE/apps/editors/X/cooledit MAINTAINER= ports@FreeBSD.org COMMENT= Suite of utilities, including a GUI editor LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -USES= gettext gmake libtool python # gettext is linked to despite .mo files having been deleted +USES= gettext gmake libtool python xorg # gettext is linked to despite .mo files having been deleted GNU_CONFIGURE= yes USE_XORG= x11 xt USE_LDCONFIG= yes USE_GCC= any INSTALL_TARGET= install-strip CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -lpthread -L${LOCALBASE}/lib CFLAGS+= -DHAVE_MBRTOWC OPTIONS_DEFINE= NEXT_LOOK NEXT_LOOK_DESC= Enable NeXT look NEXT_LOOK_CONFIGURE_ENABLE= NeXT-look post-patch: @${REINPLACE_CMD} -e 's|po pixmap man|po man|g' ${WRKSRC}/Makefile.in .include Index: head/editors/cudatext/Makefile =================================================================== --- head/editors/cudatext/Makefile (revision 516801) +++ head/editors/cudatext/Makefile (revision 516802) @@ -1,67 +1,67 @@ # $FreeBSD$ PORTNAME= cudatext PORTVERSION= 1.84.2 PORTREVISION= 1 CATEGORIES= editors PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX} MAINTAINER= acm@FreeBSD.org COMMENT= Cross-platform text editor, written in Lazarus LICENSE= MPL20 -USES= desktop-file-utils dos2unix fpc lazarus:flavors +USES= desktop-file-utils dos2unix fpc lazarus:flavors xorg USE_FPC= chm fcl-base fcl-image fcl-json fcl-stl fcl-xml pasjpeg rtl-objpas x11 USE_XORG= x11 USE_GITHUB= yes GH_ACCOUNT= Alexey-T GH_PROJECT= CudaText GH_TUPLE= Alexey-T:Python-for-Lazarus:586eec1:python4lazarus/python4lazarus \ Alexey-T:ATFlatControls:34fd9d3:atflatcontrols/atflatcontrols \ Alexey-T:ATSynEdit:3ff9ac0:atsynedit/atsynedit \ Alexey-T:Emmet-Pascal:0defe41:emmet/emmet \ Alexey-T:EControl_v1:3a20fbb:econtrol/econtrol \ Alexey-T:ATSynEdit_Ex_v1:6355c6f:atsyneditex/atsyneditex \ Alexey-T:ATSynEdit_Cmp:2e7ac8f:atsyneditcmp/atsyneditcmp \ Alexey-T:ATBinHex-Lazarus:cad0408:atbinhex/atbinhex \ Alexey-T:UniqueInstance:753f823:uniqueinstance/uniqueinstance DOS2UNIX_FILES= app/settings_default/default.json setup/debfiles/cudatext.desktop LAZARUS_PROJECT_FILES= atflatcontrols/atflatcontrols/atflatcontrols_package.lpk LAZARUS_PROJECT_FILES+= python4lazarus/python4lazarus/python4lazarus_package.lpk LAZARUS_PROJECT_FILES+= atsynedit/atsynedit/atsynedit_package.lpk LAZARUS_PROJECT_FILES+= emmet/emmet/emmet_package.lpk LAZARUS_PROJECT_FILES+= econtrol/econtrol/econtrol_package.lpk LAZARUS_PROJECT_FILES+= atsyneditex/atsynedit_ex/atsynedit_ex_package.lpk LAZARUS_PROJECT_FILES+= atsyneditcmp/atsynedit_cmp/atsynedit_cmp_package.lpk LAZARUS_PROJECT_FILES+= atbinhex/atbinhex/atbinhex_package.lpk LAZARUS_PROJECT_FILES+= uniqueinstance/uniqueinstance/uniqueinstance_package.lpk LAZARUS_PROJECT_FILES+= app/cudatext.lpi LAZBUILD_ARGS= -d gtk2_CONFLICTS_INSTALL= ${PORTNAME}-qt5 qt5_CONFLICTS_INSTALL= ${PORTNAME}-gtk2 USE_FPC_gtk2= cairo USE_GNOME_gtk2= cairo USE_FPC+= ${USE_FPC_${FLAVOR}} USE_GNOME+= ${USE_GNOME_${FLAVOR}} post-patch: ${REINPLACE_CMD} 's|-512||g' ${WRKSRC}/setup/debfiles/${PORTNAME}.desktop ${REINPLACE_CMD} 's|%%DATADIR%%|${DATADIR}|g' ${WRKSRC}/app/proc_globdata.pas ${REINPLACE_CMD} 's|TEncoding.UTF8|True|g' ${WRKSRC}/app/formmain_py_pluginwork.inc ${REINPLACE_CMD} '636d' ${WRKSRC}/app/proc_miscutils.pas do-install: ${INSTALL_PROGRAM} ${WRKSRC}/app/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/setup/debfiles/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications/${PORTNAME}.desktop @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/512x512/apps ${INSTALL_DATA} ${WRKSRC}/setup/debfiles/${PORTNAME}-512.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/512x512/apps/${PORTNAME}.png @${MKDIR} ${STAGEDIR}${DATADIR} cd ${WRKSRC}/app && ${COPYTREE_SHARE} "data py readme settings_default" ${STAGEDIR}${DATADIR} .include Index: head/editors/featherpad/Makefile =================================================================== --- head/editors/featherpad/Makefile (revision 516801) +++ head/editors/featherpad/Makefile (revision 516802) @@ -1,26 +1,26 @@ # Created by: Olivier Duchateau # $FreeBSD$ PORTNAME= featherpad PORTVERSION= 0.10.0 PORTREVISION= 1 DISTVERSIONPREFIX= V CATEGORIES= editors MAINTAINER= jsm@FreeBSD.org COMMENT= Lightweight Qt5 plain-text editor LICENSE= GPLv3 -USES= compiler:c++11-lang desktop-file-utils pkgconfig qmake:outsource qt:5 gl +USES= compiler:c++11-lang desktop-file-utils pkgconfig qmake:outsource qt:5 gl xorg USE_GITHUB= yes GH_ACCOUNT= tsujan GH_PROJECT= FeatherPad USE_QT= buildtools_build core gui printsupport network \ svg widgets x11extras linguisttools USE_XORG= x11 USE_GL= gl .include Index: head/editors/fte/Makefile =================================================================== --- head/editors/fte/Makefile (revision 516801) +++ head/editors/fte/Makefile (revision 516802) @@ -1,48 +1,48 @@ # Created by: gelf # $FreeBSD$ PORTNAME= fte PORTVERSION= 20110708 CATEGORIES= editors MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} DISTFILES= ${DISTNAME}-src${EXTRACT_SUFX} \ ${DISTNAME}-common${EXTRACT_SUFX} DIST_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= Full-featured text editor for X11 LICENSE= ART10 GPLv2 LICENSE_COMB= dual WRKSRC= ${WRKDIR}/fte -USES= perl5 zip +USES= perl5 zip xorg USE_PERL5= build USE_XORG= x11 xpm CFLAGS+= -DHAVE_STRLCAT -DHAVE_STRLCPY MAKE_ENV= INSTALL_NONROOT=1 OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e \ 's|^PREFIX=|PREFIX?=|' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e \ 's|\([[:space:]]\)\($$BINDIR\)|\1$$DESTDIR\2|g ; \ s|\([[:space:]]\)\($$LIBDIR\)|\1$$DESTDIR\2|g ; \ s|\([[:space:]]\)\($$CONFIGDIR\)|\1$$DESTDIR\2|g ; \ s|\([[:space:]]\)\($$LOCALCONFIGDIR\)|\1$$DESTDIR\2|g ; \ /fterc/s|^|#|' ${WRKSRC}/install post-install: .for i in cfte xfte @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${i} .endfor post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .include Index: head/editors/gedit/Makefile =================================================================== --- head/editors/gedit/Makefile (revision 516801) +++ head/editors/gedit/Makefile (revision 516802) @@ -1,62 +1,62 @@ # Created by: Joe Marcus Clarke # $FreeBSD$ PORTNAME= gedit PORTVERSION= 3.28.1 PORTREVISION= 2 CATEGORIES= editors gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Small but powerful text editor for GNOME 3 Desktop Environment LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= iso-codes>=0:misc/iso-codes \ vala:lang/vala \ gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \ itstool:textproc/itstool LIB_DEPENDS= libenchant.so:textproc/enchant \ libpeas-gtk-1.0.so:devel/libpeas \ libgspell-1.so:textproc/gspell \ libsoup-2.4.so:devel/libsoup RUN_DEPENDS= iso-codes>=0:misc/iso-codes \ gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \ ${PYTHON_PKGNAMEPREFIX}libpeas>=0:devel/py-libpeas@${PY_FLAVOR} PORTSCOUT= limitw:1,even USES= compiler:c11 desktop-file-utils gettext gmake gnome libtool \ - localbase pathfix pkgconfig python:3.4+ shebangfix tar:xz + localbase pathfix pkgconfig python:3.4+ shebangfix tar:xz xorg USE_CSTD= c11 USE_GNOME= cairo gdkpixbuf2 gtksourceview3 intlhack introspection \ libxml2 pygobject3 SHEBANG_FILES= plugins/externaltools/data/send-to-fpaste.tool.in USE_XORG= sm x11 GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-updater \ --enable-python \ --enable-spell CPPFLAGS+= -Wno-error=format-nonliteral CFLAGS+= -Wno-error=format-nonliteral LDFLAGS+= -L${LOCALBASE}/lib USE_LDCONFIG= yes PLIST_SUB= VERSION="3.14" INSTALL_TARGET= install-strip GLIB_SCHEMAS= org.gnome.gedit.enums.xml \ org.gnome.gedit.plugins.externaltools.gschema.xml \ org.gnome.gedit.gschema.xml \ org.gnome.gedit.plugins.filebrowser.enums.xml \ org.gnome.gedit.plugins.filebrowser.gschema.xml \ org.gnome.gedit.plugins.pythonconsole.gschema.xml \ org.gnome.gedit.plugins.time.enums.xml \ org.gnome.gedit.plugins.time.gschema.xml post-patch: @${REINPLACE_CMD} -e 's|=python|=${PYTHON_CMD}|g' \ ${WRKSRC}/py-compile .include Index: head/editors/jedit/Makefile =================================================================== --- head/editors/jedit/Makefile (revision 516801) +++ head/editors/jedit/Makefile (revision 516802) @@ -1,57 +1,57 @@ # Created by: Maxim Sobolev # $FreeBSD$ PORTNAME= jedit PORTVERSION= 5.5.0 PORTEPOCH= 1 CATEGORIES= editors java MASTER_SITES= SF DISTNAME= ${PORTNAME}${PORTVERSION}install EXTRACT_SUFX= .jar MAINTAINER= danilo@FreeBSD.org COMMENT= Powerful programmer's text editor written in Java LICENSE= GPLv2 OPTIONS_DEFINE= MACROS DOCS MACROS_DESC= Install default set of macros (highly recommended) OPTIONS_DEFAULT= MACROS OPTIONS_SUB= yes -USES= cpe +USES= cpe xorg USE_JAVA= yes JAVA_VERSION= 1.6+ USE_XORG= x11 NO_BUILD= yes DATADIR= ${JAVASHAREDIR}/${PORTNAME} DOCSDIR= ${DATADIR}/doc PORTDOCS= * SUB_FILES= jedit.sh DESKTOP_ENTRIES="jEdit" "${COMMENT}" "${PORTNAME}" \ "${PORTNAME}" "Development;" false post-extract: @(cd ${WRKDIR}/installer ; ${TAR} -xjf jedit-api.tar.bz2 ;\ ${TAR} -xjf jedit-macros.tar.bz2 ; \ ${TAR} -xjf jedit-program.tar.bz2) do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKDIR}/installer/${PORTNAME}.jar ${STAGEDIR}${DATADIR}/ .for dir in doc jars keymaps modes properties startup (cd ${WRKDIR}/installer ; ${COPYTREE_SHARE} ${dir} ${STAGEDIR}${DATADIR}/) .endfor (cd ${WRKDIR}/installer ; ${TAR} --exclude 'modes' --exclude 'keymaps' \ -chf - macros | ${TAR} -xf - -C ${STAGEDIR}${DATADIR}/) ${INSTALL_SCRIPT} ${WRKDIR}/jedit.sh ${STAGEDIR}${PREFIX}/bin/jedit ${INSTALL_DATA} ${STAGEDIR}${DATADIR}/doc/jedit.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png ${INSTALL_MAN} ${WRKDIR}/jedit.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 .include Index: head/editors/lazarus/Makefile =================================================================== --- head/editors/lazarus/Makefile (revision 516801) +++ head/editors/lazarus/Makefile (revision 516802) @@ -1,178 +1,178 @@ # $FreeBSD$ PORTNAME= lazarus PORTVERSION= 2.0.4 PKGNAMESUFFIX?= -gtk2 PORTREVISION?= 1 CATEGORIES= editors devel MASTER_SITES= SF/${PORTNAME}/Lazarus%20Zip%20_%20GZip/Lazarus%20${PORTVERSION} \ LOCAL/acm/freepascal DIST_SUBDIR= freepascal MAINTAINER?= acm@FreeBSD.org COMMENT?= Portable Delphi-like IDE for the FreePascal compiler (GTK2) CONFLICTS?= ${PORTNAME}-qt5-* BUILD_DEPENDS?= ${LOCALBASE}/bin/as:devel/binutils \ fpcres:lang/fpc-utils RUN_DEPENDS?= ${LOCALBASE}/bin/as:devel/binutils \ fpcres:lang/fpc-utils \ ${LOCALBASE}/share/fpc-source-${FPC_DEFAULT}/Makefile.fpc:lang/fpc-source ONLY_FOR_ARCHS= i386 amd64 -USES= desktop-file-utils fpc gettext gmake iconv shared-mime-info +USES= desktop-file-utils fpc gettext gmake iconv shared-mime-info xorg USE_FPC?= chm cairo dblib fcl-base fcl-db fcl-fpcunit fcl-image fcl-json fcl-net \ fcl-registry fcl-res fcl-web fcl-xml fppkg gtk2 ibase iconvenc mysql \ numlib odbc opengl openssl oracle pasjpeg postgres regexpr rtl-extra \ sqlite x11 USE_XORG= x11 OPT?= "-Sgic " MAKE_ENV= OPT=${OPT} PLIST= ${WRKDIR}/pkg-plist WRKSRC?= ${WRKDIR}/${PORTNAME} DATADIR?= ${PREFIX}/share/${PORTNAME}-${PORTVERSION} OPTIONS_DEFINE= GDB GDB_DESC= Install a newest version of gdb OPTIONS_DEFAULT= GTK2 GDB .include LAZARUS_ARCH= ${ARCH:S,amd64,x86_64,} BUILDNAME= ${LAZARUS_ARCH}-${OPSYS:tl} LCL_PLATFORM?= gtk2 MAN1S= lazarus-ide.1 lazbuild.1 startlazarus.1 SUB_FILES= pkg-message SUB_LIST+= PORTSDIR="${PORTSDIR}" .if ${PORT_OPTIONS:MGDB} RUN_DEPENDS+= ${LOCALBASE}/bin/gdb:devel/gdb .endif .if ${PKGNAMESUFFIX} == "-gtk2" USES+= gnome USE_GNOME= cairo gtk20 gdkpixbuf2 .endif post-extract: @${MKDIR} ${WRKDIR}/man1 @${MV} ${WRKSRC}/install/man/man1/lazarus-ide.1 ${WRKDIR}/man1/ @${MV} ${WRKSRC}/install/man/man1/lazbuild.1 ${WRKDIR}/man1/ @${MV} ${WRKSRC}/install/man/man1/startlazarus.1 ${WRKDIR}/man1/ @${MV} ${WRKSRC}/examples ${WRKDIR}/examples @${MV} ${WRKSRC}/docs ${WRKDIR}/docs post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' -e 's|%%DATADIR%%|${DATADIR}|g' ${WRKSRC}/${MAKEFILE} @${REINPLACE_CMD} -e 's|startlazarus|${PORTNAME}|g' ${WRKSRC}/install/${PORTNAME}.desktop do-build: @cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} bigide LCL_PLATFORM=${LCL_PLATFORM} @cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} tools LCL_PLATFORM=${LCL_PLATFORM} post-build: @cd ${WRKSRC} && \ ${RM} -R COPYING* README* debian localize.bat test *.orig *.bak startlazarus.app \ ide/Makefile*.orig ide/Makefile*.bak pre-install: @${ECHO} "#!/bin/sh" > ${WRKDIR}/lazarus-wrapper @${ECHO} "cd ${DATADIR} || exit 1 " >> ${WRKDIR}/lazarus-wrapper @${ECHO} "exec ./startlazarus" >> ${WRKDIR}/lazarus-wrapper @${RM} ${PLIST} @${RM} -r ${WRKSRC}/components/chmhelp/lhelp/lhelp.app/Contents/MacOS \ ${WRKSRC}/lazarus.app/Contents/MacOS \ ${WRKSRC}/lazarus.app/Contents/Resources/startlazarus.app/Contents/MacOS . for FILE in bin/lazarus bin/lazbuild @${ECHO_CMD} ${FILE} >> ${PLIST} . endfor . for m in ${MAN1S} @${ECHO_CMD} man/man1/${m}.gz >> ${PLIST} . endfor @${ECHO_CMD} "%%DATADIR%%/docs" >> ${PLIST} @cd ${WRKDIR}/docs && \ ${FIND} * -type f | ${SORT} | ${SED} -e 's|^|%%DOCSDIR%%/|' >> ${PLIST} @${ECHO_CMD} "%%DATADIR%%/examples" >> ${PLIST} @cd ${WRKDIR}/examples && \ ${FIND} * -type f | ${SORT} | ${SED} -e 's|^|%%EXAMPLESDIR%%/|' >> ${PLIST} && \ ${FIND} * -type d -empty | ${SORT} | ${SED} -e 's|^|@dir %%EXAMPLESDIR%%/|' >> ${PLIST} @cd ${WRKSRC} && \ ${FIND} * -type f | ${SORT} | ${SED} -e 's|^|%%DATADIR%%/|' >> ${PLIST} && \ ${FIND} * -type d -empty | ${SORT} | ${SED} -e 's|^|@dir %%DATADIR%%/|' >> ${PLIST} @${ECHO_CMD} "share/applications/lazarus.desktop" >> ${PLIST} . for RESO in 128 16 256 32 48 64 @${ECHO_CMD} share/icons/hicolor/${RESO}x${RESO}/apps/lazarus.png >> ${PLIST} . endfor @cd ${WRKSRC}/images/mimetypes && \ ${FIND} * -type f -name "*.png" | ${SORT} | ${SED} -e 's|^|share/icons/hicolor/48x48/mimetypes/|' >> ${PLIST} @${ECHO_CMD} "share/icons/hicolor/scalable/apps/lazarus.svg" >> ${PLIST} @${ECHO_CMD} "share/mime/packages/lazarus.xml" >> ${PLIST} do-install: .for DIRE in components converter debugger designer doceditor ide images install languages lazarus.app lcl \ packager tools units @${MKDIR} ${STAGEDIR}${DATADIR}/${DIRE} @cd ${WRKSRC}/${DIRE} && \ ${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${DATADIR}/${DIRE}/{}" \; && \ ${FIND} * -type f -exec ${INSTALL_DATA} {} "${STAGEDIR}${DATADIR}/${DIRE}/{}" \; .endfor @${CHMOD} +x ${STAGEDIR}${DATADIR}/tools/svn2revisioninc ${STAGEDIR}${DATADIR}/tools/lazres ${STAGEDIR}${DATADIR}/tools/lrstolfm \ ${STAGEDIR}${DATADIR}/tools/updatepofiles .for FILE in lazarus startlazarus lazbuild ${INSTALL_PROGRAM} ${WRKSRC}/${FILE} ${STAGEDIR}${DATADIR} .endfor @cd ${WRKDIR}/docs && \ ${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${DOCSDIR}/{}" \; && \ ${FIND} * -type f -exec ${INSTALL_DATA} {} "${STAGEDIR}${DOCSDIR}/{}" \; @${LN} -s ${DOCSDIR} ${STAGEDIR}${DATADIR}/docs @cd ${WRKDIR}/examples && \ ${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${EXAMPLESDIR}/{}" \; && \ ${FIND} * -type f -exec ${INSTALL_DATA} {} "${STAGEDIR}${EXAMPLESDIR}/{}" \; @${LN} -s ${EXAMPLESDIR} ${STAGEDIR}${DATADIR}/examples .for RESO in 128 16 256 32 48 64 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${RESO}x${RESO}/apps ${INSTALL_DATA} ${WRKSRC}/images/icons/${PORTNAME}${RESO}x${RESO}.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/${RESO}x${RESO}/apps/${PORTNAME}.png .endfor @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/mimetypes @cd ${WRKSRC}/images/mimetypes && \ ${FIND} * -type f -name "*.png" -exec ${INSTALL_DATA} {} ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/mimetypes/{} \; @${INSTALL_DATA} ${WRKSRC}/install/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications/${PORTNAME}.desktop @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps @${INSTALL_DATA} ${WRKSRC}/images/icons/${PORTNAME}.svg ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/${PORTNAME}.svg @${MKDIR} ${STAGEDIR}${PREFIX}/share/mime/packages @${INSTALL_DATA} ${WRKSRC}/install/${PORTNAME}-mime.xml ${STAGEDIR}${PREFIX}/share/mime/packages/${PORTNAME}.xml ${INSTALL_SCRIPT} ${WRKSRC}/localize.sh ${STAGEDIR}${DATADIR} ${INSTALL_SCRIPT} ${WRKDIR}/lazarus-wrapper ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/Makefile* ${WRKSRC}/fpmake* ${STAGEDIR}${DATADIR} .for FILE in ${MAN1S} ${INSTALL_MAN} ${WRKDIR}/man1/${FILE} ${STAGEDIR}${MAN1PREFIX}/man/man1 .endfor ${LN} -s ${DATADIR}/lazbuild ${STAGEDIR}${PREFIX}/bin/lazbuild .include Index: head/editors/madedit/Makefile =================================================================== --- head/editors/madedit/Makefile (revision 516801) +++ head/editors/madedit/Makefile (revision 516802) @@ -1,25 +1,25 @@ # Created by: Xin LI # $FreeBSD$ PORTNAME= madedit PORTVERSION= 0.2.9 PORTREVISION= 23 CATEGORIES= editors MASTER_SITES= SF/${PORTNAME}/MadEdit/MadEdit-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Open-source and cross-platform text/hex editor LICENSE= GPLv2 LIB_DEPENDS= libboost_regex.so:devel/boost-libs -USES= gettext pkgconfig dos2unix desktop-file-utils +USES= gettext pkgconfig dos2unix desktop-file-utils xorg USE_WX= 2.8 USE_XORG= x11 GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-wx-config=${WX_CONFIG} LIBS+= -L${LOCALBASE}/lib -lX11 .include Index: head/editors/picpas/Makefile =================================================================== --- head/editors/picpas/Makefile (revision 516801) +++ head/editors/picpas/Makefile (revision 516802) @@ -1,51 +1,51 @@ # $FreeBSD$ PORTNAME= picpas PORTVERSION= 0.8.8 DISTVERSIONPREFIX= v PORTREVISION= 4 CATEGORIES= editors PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX} MAINTAINER= acm@FreeBSD.org COMMENT= Multi-platform Pascal for Microchip PIC16F microcontrollers LICENSE= GPLv2 gtk2_CONFLICTS_INSTALL= ${PORTNAME}-qt5 qt5_CONFLICTS_INSTALL= ${PORTNAME}-gtk2 -USES= dos2unix fpc lazarus:flavors +USES= dos2unix fpc lazarus:flavors xorg USE_FPC= chm fcl-base fcl-image fcl-json fcl-registry fcl-xml pasjpeg regexpr \ rtl-objpas x11 USE_XORG= x11 DOS2UNIX_REGEX= .*\.([txt]|pas|lpi|txt|lfm) USE_GITHUB= yes GH_ACCOUNT= t-edson GH_PROJECT= PicPas GH_TAGNAME= cc5d415 GH_TUPLE= t-edson:MiConfig:a4a988a:miconfig/miconfig \ t-edson:MisUtils:742eff3:misutils/misutils \ t-edson:PicUtils:5f89bdf:picutils/picutils \ t-edson:SynFacilUtils:2909899:syncfacilutils/syncfacilutils \ t-edson:UtilsGrilla:07744b9:utilsgrilla/utilsgrilla \ t-edson:ogEditGraf:328a207:ogeditgraf/ogeeditgraf \ t-edson:t-Xpres:6665922:txpres/txpres USE_FPC_gtk2= cairo USE_GNOME_gtk2= cairo USE_FPC+= ${USE_FPC_${FLAVOR}} USE_GNOME+= ${USE_GNOME_${FLAVOR}} LAZARUS_PROJECT_FILES= Source/PicPas.lpi LAZBUILD_ARGS= -d post-patch: ${REINPLACE_CMD} 's|%%DATADIR%%|${DATADIR}|g' ${WRKSRC}/Source/Globales.pas do-install: ${INSTALL_PROGRAM} ${WRKSRC}/PicPas-freebsd ${STAGEDIR}${PREFIX}/bin/${PORTNAME} @${MKDIR} ${STAGEDIR}${DATADIR} cd ${WRKSRC} && ${COPYTREE_SHARE} "devices10 devices16 devices17 syntax samples temp themes units" ${STAGEDIR}${DATADIR} .include Index: head/editors/pluma/Makefile =================================================================== --- head/editors/pluma/Makefile (revision 516801) +++ head/editors/pluma/Makefile (revision 516802) @@ -1,44 +1,44 @@ # Created by: Joe Marcus Clarke # $FreeBSD$ PORTNAME= pluma PORTVERSION= 1.22.1 PORTREVISION= 1 CATEGORIES= editors mate MASTER_SITES= MATE DIST_SUBDIR= mate MAINTAINER= gnome@FreeBSD.org COMMENT= Small but powerful text editor for MATE Desktop Environment LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= itstool:textproc/itstool \ ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:misc/iso-codes LIB_DEPENDS= libenchant.so:textproc/enchant \ libpeas-gtk-1.0.so:devel/libpeas RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:misc/iso-codes PORTSCOUT= limitw:1,even -USES= compiler:c11 desktop-file-utils gmake libtool localbase \ - pathfix pkgconfig python:3.3+ shebangfix tar:xz +USES= compiler:c11 desktop-file-utils gmake gnome libtool localbase \ + pathfix pkgconfig python:3.3+ shebangfix tar:xz xorg USE_XORG= ice sm x11 USE_GNOME= cairo gdkpixbuf2 gnomeprefix gtk30 gtksourceview3 \ gvfs intltool introspection libxml2 USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip SHEBANG_FILES= ${WRKSRC}/plugins/externaltools/data/search-recursive.tool.in \ ${WRKSRC}/plugins/externaltools/data/switch-c.tool.in GLIB_SCHEMAS= org.mate.pluma.gschema.xml \ org.mate.pluma.plugins.filebrowser.gschema.xml \ org.mate.pluma.plugins.spell.gschema.xml \ org.mate.pluma.plugins.time.gschema.xml OPTIONS_DEFINE= DOCS .include Index: head/editors/ted/Makefile =================================================================== --- head/editors/ted/Makefile (revision 516801) +++ head/editors/ted/Makefile (revision 516802) @@ -1,85 +1,86 @@ # Created by: Kris Kennaway # $FreeBSD$ PORTNAME= ted PORTVERSION= 2.23 PORTREVISION= 5 CATEGORIES= editors MASTER_SITES= ftp://ftp.nluug.nl/pub/editors/ted/ \ http://fossies.org/linux/misc/ EXTRACT_SUFX= .src.tar.gz MAINTAINER= ports@FreeBSD.org COMMENT= X11 based RTF editor LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/gpl.txt LIB_DEPENDS= libpcre.so:devel/pcre \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libpaper.so:print/libpaper RUN_DEPENDS= gsfonts>0:print/gsfonts WRKSRC= ${WRKDIR}/Ted-${PORTVERSION} +USES= ghostscript:x11,run iconv pkgconfig xorg USE_XORG= xext xft -USES= ghostscript:x11,run iconv pkgconfig GNU_CONFIGURE= yes MAKE_ENV= DEF_AFMDIR="-DAFMDIR=\"\\\"${AFMDIR}/\\\"\"" \ DEF_INDDIR="-DINDDIR=\"\\\"${INDDIR}/\\\"\"" \ DEF_DOCUMENT_DIR="-DDOCUMENT_DIR=\"\\\"${DOCSDIR}/\\\"\"" \ DEF_PSSCRIPT_DIR="-DPSSCRIPT_DIR=\"\\\"${DATADIR}/\\\"\"" ALL_TARGET= compile.shared CONFIGURE_ARGS= --datadir=${PREFIX}/share \ ac_iconv_includes=${LOCALBASE}/include DATADIR= ${PREFIX}/share/Ted DOCSDIR= ${PREFIX}/share/doc/Ted AFMDIR= ${DATADIR}/afm INDDIR= ${DATADIR}/dfa OPTIONS_DEFINE= GTK2 DOCS GTK2_DESC= Use GTK2 instead of MOTIF +GTK2_USES= gnome GTK2_USE= GNOME=gtk20 GTK2_CONFIGURE_ON= --with-GTK GTK2_CPPFLAGS= `pkg-config --cflags gtk+-2.0 | ${SED} -e 's|-I|-isystem |g'` GTK2_USES_OFF= motif GTK2_CONFIGURE_OFF= --with-MOTIF .include post-extract: @cd ${WRKSRC}/tedPackage && ${TAR} xf TedDatadir.tar @${INSTALL_SCRIPT} ${FILESDIR}/configure ${WRKSRC} post-patch: @${FIND} ${WRKSRC} -name "configure" -print0 | ${XARGS} -0 \ ${REINPLACE_CMD} -e \ 's|/usr/X11R6|${LOCALBASE}|g ; \ s|/usr/local|${LOCALBASE}|g ; \ /paper.h/s|/usr/include|${LOCALBASE}/include|g ; \ /paper.h/s|/usr/lib|${LOCALBASE}/lib|g' .if ! empty(ICONV_LIB) @${REINPLACE_CMD} 's|/iconv\.so|/libiconv.so|' \ ${WRKSRC}/Ted/configure ${WRKSRC}/textEncoding/configure .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/Ted/Ted ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/tedPackage/examples/rtf2*.sh ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_MAN} ${WRKSRC}/tedPackage/doc/Ted.1 ${STAGEDIR}${MANPREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/tedPackage/doc/rtf2*.1 ${STAGEDIR}${MANPREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/tedPackage/ps/*.ps ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}${AFMDIR} ${INSTALL_DATA} ${WRKSRC}/tedPackage/afm/*.afm ${STAGEDIR}${AFMDIR} @${MKDIR} ${STAGEDIR}${INDDIR} ${INSTALL_DATA} ${WRKSRC}/tedPackage/dfa/*.dfa ${STAGEDIR}${INDDIR} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/tedPackage/TedDocument-en_US.rtf ${STAGEDIR}${DOCSDIR} .include Index: head/editors/texmacs/Makefile =================================================================== --- head/editors/texmacs/Makefile (revision 516801) +++ head/editors/texmacs/Makefile (revision 516802) @@ -1,91 +1,91 @@ # Created by: Geoffrey Mainland # $FreeBSD$ PORTNAME= texmacs PORTVERSION= 1.99.4 PORTREVISION= 4 CATEGORIES= editors print MASTER_SITES= http://www.texmacs.org/Download/ftp/tmftp/source/ DISTNAME= TeXmacs-${PORTVERSION}-src MAINTAINER= ports@FreeBSD.org COMMENT= WYSIWYG scientific text editor LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libltdl.so:devel/libltdl \ libguile.so:lang/guile \ libgmp.so:math/gmp RUN_DEPENDS= fig2dev:print/transfig BROKEN_armv6= fails to compile: call to min is ambiguous BROKEN_armv7= fails to compile: call to min is ambiguous USES= cpe desktop-file-utils gmake iconv localbase pkgconfig python \ - shared-mime-info shebangfix + shared-mime-info shebangfix xorg USE_TEX= tex:run dvipsk:run USE_XORG= xext GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-optimize="${CXXFLAGS}" --disable-qt MAKE_ARGS= CP="${CP} -R -f" ALL_TARGET= ${PORTNAME:tu} SHEBANG_FILES= plugins/asymptote/bin/* plugins/dratex/bin/* \ plugins/eukleides/bin/* plugins/feynmf/bin/* \ plugins/mupad/bin/* plugins/texgraph/bin/* \ plugins/xypic/bin/* \ plugins/python/bin/tm_python plugins/sage/bin/tm_sage \ plugins/mathematica/bin/realpath.py DATADIR= ${PREFIX}/share/TeXmacs OPTIONS_DEFINE= ASPELL FREETYPE GHOSTSCRIPT IMLIB2 PDF SQLITE OPTIONS_DEFAULT=ASPELL FREETYPE GHOSTSCRIPT IMLIB2 PDF SQLITE OPTIONS_SUB= yes ASPELL_RUN_DEPENDS= aspell:textproc/aspell FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FREETYPE_CONFIGURE_ENABLE= freetype FREETYPE_CONFIGURE_ENV_OFF= FREETYPE_CFLAGS=" " FREETYPE_LDFLAGS=" " \ ac_cv_header_ft2build_h=no GHOSTSCRIPT_USES= ghostscript:x11 GHOSTSCRIPT_CONFIGURE_ON= --with-gs=yes GHOSTSCRIPT_CONFIGURE_OFF= --with-gs=no IMLIB2_LIB_DEPENDS= libImlib2.so:graphics/imlib2 IMLIB2_CONFIGURE_WITH= imlib2 PDF_CONFIGURE_ENABLE= pdf-renderer PDF_LDFLAGS= -lz PDF_IMPLIES= FREETYPE GHOSTSCRIPT SQLITE_USES= sqlite SQLITE_CONFIGURE_ON= --with-sqlite3 post-patch: @${REINPLACE_CMD} -e \ '/SVNREV\//s|^|#| ; \ s|LIBS="-liconv"|LIBS="-liconv $$LIBS"| ; \ s|/-liconv}|}| ; \ s|"-Wl,-rpath,"|""| ; \ s|\[\[ |[ |g ; \ s| \]\]| ]|g ; \ s|== no|= no| ; \ s|$${QT_PLUGINS_LIST/,/ }|${QT_PLUGINS_LIST}|' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e \ '/require/s|"python"|"${PYTHON_CMD:T}"|' \ ${WRKSRC}/plugins/python/progs/init-python.scm @${REINPLACE_CMD} -e \ 's|int tab=.*)|int tab)|' \ ${WRKSRC}/src/Kernel/Types/tree.hpp @${REINPLACE_CMD} -e \ 's|int dpi=.*)|int dpi)|' \ ${WRKSRC}/src/Typeset/boxes.hpp post-install: @${FIND} ${STAGEDIR}${DATADIR} -name "._*" -delete @${FIND} ${STAGEDIR}${DATADIR} -name "*.bak" -delete .for f in realpath texmacs.bin tm_axiom tm_graphviz tm_maple_5 tm_r tm_shell ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/TeXmacs/bin/${f} .endfor .include Index: head/editors/texstudio/Makefile =================================================================== --- head/editors/texstudio/Makefile (revision 516801) +++ head/editors/texstudio/Makefile (revision 516802) @@ -1,45 +1,45 @@ # $FreeBSD$ PORTNAME= texstudio DISTVERSION= 2.12.16 PORTREVISION= 6 CATEGORIES= editors MAINTAINER= rigoletto@FreeBSD.org COMMENT= Integrated writing environment for LaTeX documents LICENSE= GPLv2 BROKEN_armv6= fails to compile: error: no member named mc_eip in __mcontext LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell \ libpoppler.so:graphics/poppler \ libpoppler-qt5.so:graphics/poppler-qt5 \ libquazip5.so:archivers/quazip USES= compiler:c++11-lang desktop-file-utils dos2unix \ - ghostscript:run gl pkgconfig qmake qt:5 + ghostscript:run gl pkgconfig qmake qt:5 xorg USE_QT = core gui network script svg widgets xml \ printsupport concurrent uitools buildtools_build QMAKE_ARGS= QUAZIP_INCLUDE="${LOCALBASE}/include/quazip5" \ QUAZIP_LIB="-lquazip5" QTVER_SUFFIX= 5 USE_XORG= x11 USE_GL= gl USE_TEX= latex dvipsk USE_GITHUB= yes GH_ACCOUNT= ${PORTNAME}-org DOS2UNIX_FILES= ${PORTNAME}.pro QMAKE_ARGS+= USE_SYSTEM_HUNSPELL=true USE_SYSTEM_QUAZIP=true post-patch: @${REINPLACE_CMD} -e 's,^\(utilities.path =\).*,\1 ${DATADIR},' \ -e 's,/usr/include,${LOCALBASE}/include,g' \ -e 's,/usr/lib,${LOCALBASE}/lib,g' \ -e '/appdata.path/s,\/usr,${PREFIX},' \ ${WRKSRC}/${PORTNAME}.pro .include Index: head/editors/vigor/Makefile =================================================================== --- head/editors/vigor/Makefile (revision 516801) +++ head/editors/vigor/Makefile (revision 516802) @@ -1,33 +1,33 @@ # Created by: Bill Fumerola # $FreeBSD$ PORTNAME= vigor PORTVERSION= 0.016 PORTREVISION= 4 CATEGORIES= editors tcl tk MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Vi clone inspired by the userfriendly comic strip LICENSE= BSD4CLAUSE LICENSE_FILE= ${WRKSRC}/../LICENSE WRKSRC= ${WRKDIR}/${DISTNAME}/build -USES= ncurses tk +USES= ncurses tk xorg USE_XORG= x11 GNU_CONFIGURE= yes CONFIGURE_ARGS+=--exec-prefix=${STAGEDIR}${PREFIX} CPPFLAGS+= -I${TCL_INCLUDEDIR} -I${TK_INCLUDEDIR} LDFLAGS+= -L${LOCALBASE}/lib post-patch: ${REINPLACE_CMD} -e 's|tcl80|tcl${TCL_SHLIB_VER}|; \ s|-lcurses|-lncurses|; \ s|tk80|tk${TK_SHLIB_VER}|; \ s|^grantpt|XXXgrantpt|;' \ ${WRKSRC}/configure .include Index: head/editors/xcoral/Makefile =================================================================== --- head/editors/xcoral/Makefile (revision 516801) +++ head/editors/xcoral/Makefile (revision 516802) @@ -1,39 +1,39 @@ # Created by: erich@rrnet.com # $FreeBSD$ PORTNAME= xcoral PORTVERSION= 3.47 PORTREVISION= 4 CATEGORIES= editors MASTER_SITES= http://xcoral.free.fr/ PATCH_SITES= http://aldan.algebra.com/~mi/port-stuff/ PATCHFILES= xcoral-alpheus-and-peneus-2019.patch.bz2 MAINTAINER= mi@aldan.algebra.com COMMENT= Multiwindow mouse-based text editor for X LICENSE= GPLv2 +USES= bison compiler:c11 xorg USE_XORG= x11 -USES= bison compiler:c11 GNU_CONFIGURE= yes CONFIGURE_ARGS= --libdir=${PREFIX}/share LIBS+= -lgnuregex PLIST_SUB= VERSION="${PORTVERSION}" OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's| regex\.[co] | |g ; \ s| -g | |g' ${WRKSRC}/Makefile.in do-install: ${INSTALL_PROGRAM} ${WRKSRC}/xcoral ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/SmacLib/* ${STAGEDIR}${DATADIR} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/Doc/* ${STAGEDIR}${DOCSDIR} .include Index: head/editors/xvile/Makefile =================================================================== --- head/editors/xvile/Makefile (revision 516801) +++ head/editors/xvile/Makefile (revision 516802) @@ -1,91 +1,91 @@ # Created by: pgf # $FreeBSD$ PORTNAME= vile PORTVERSION= 9.8t CATEGORIES= editors MASTER_SITES= ftp://dickey.his.com/vile/current/ \ ftp://ftp.invisible-island.net/vile/current/ \ https://invisible-mirror.net/archives/vile/current/ PKGNAMEPREFIX= x PATCH_SITES= ${MASTER_SITES:S,vile/current/,vile/patches/,g} PATCHFILES= # none MAINTAINER= dickey@invisible-island.net COMMENT= VI Like Emacs -- X11 version LICENSE= GPLv2 BUILD_DEPENDS= reflex:textproc/reflex -USES= pkgconfig shebangfix tar:tgz +USES= pkgconfig shebangfix tar:tgz xorg SHEBANG_FILES= macros/lxvile macros/lxvile-fonts perl/vileget USE_XORG= x11 xext xpm xt GNU_CONFIGURE= yes CONFIGURE_ENV= cf_cv_crypt_works=yes CONFIGURE_ARGS= --disable-imake \ --disable-desktop \ --enable-fontset \ --with-icon-theme \ --with-xpm \ --with-icondir=${PREFIX}/share/icons \ --with-pixmapdir=${PREFIX}/share/pixmaps MAKEFILE= makefile INSTALL_TARGET= install install-doc install-html CONFLICTS_INSTALL= vile-[0-9]* OPTIONS_DEFINE= DOCS FILTERS ICONV PERL OPTIONS_RADIO= MENUS OPTIONS_RADIO_MENUS= MOTIF XAW XAW3D OPTIONS_DEFAULT= ICONV OPTIONS_SUB= yes FILTERS_DESC= Loadable filters FILTERS_CONFIGURE_WITH= loadable-filters ICONV_USES= iconv ICONV_CONFIGURE_ON= --with-iconv ${ICONV_CONFIGURE_ARG} ICONV_CONFIGURE_OFF= --without-iconv --without-locale MENUS_DESC= Support for menus MOTIF_USES= motif MOTIF_CONFIGURE_ON= --enable-colored-menus \ --with-screen=motif PERL_USES= perl5 PERL_CONFIGURE_WITH= perl XAW_DESC= X Athena Widgets XAW_USE= XORG=xaw XAW_CONFIGURE_ON= --with-screen=athena XAW3D_DESC= X Athena Widgets with 3D effect XAW3D_LIB_DEPENDS= libXaw3d.so:x11-toolkits/Xaw3d XAW3D_CONFIGURE_ON= --enable-colored-menus \ --with-Xaw3d \ --with-screen=xaw3d .include .if ${PORT_OPTIONS:MFILTERS} PLIST_SUB+= SO_EXT=".so" .else PLIST_SUB+= SO_EXT="" .endif .if empty(PORT_OPTIONS:MMOTIF) && empty(PORT_OPTIONS:MXAW) && empty(PORT_OPTIONS:MXAW3D) CONFIGURE_ARGS+= --with-screen=x11 .endif post-patch: @${REINPLACE_CMD} -e \ 's|$$(datadir)/doc|@datadir@/doc/vile| ; \ s|$$(datadir)/html|$$(docdir)/html| ; \ s|\($$(DOCDIR)\) \($$(MANDIR)\)|\1 $$(HTMLDIR) \2|' \ ${WRKSRC}/makefile.in @${REINPLACE_CMD} -e \ '/^Categories/s|Application;||' \ ${WRKSRC}/macros/*.desktop post-install: (cd ${WRKSRC}/macros && ${INSTALL_DATA} *.desktop \ ${STAGEDIR}${PREFIX}/share/applications) .include Index: head/editors/yudit/Makefile =================================================================== --- head/editors/yudit/Makefile (revision 516801) +++ head/editors/yudit/Makefile (revision 516802) @@ -1,29 +1,29 @@ # Created by: rch@richard.eu.org # $FreeBSD$ PORTNAME= yudit PORTVERSION= 2.9.6 CATEGORIES= editors converters print MASTER_SITES= http://yudit.org/download/ \ SUNSITE/apps/editors/X MAINTAINER= danilo@FreeBSD.org COMMENT= Multi-lingual Unicode text editor with TTF support CONFLICTS= netatalk-[0-9]* +USES= gmake xorg USE_XORG= x11 -USES= gmake GNU_CONFIGURE= yes MAKE_JOBS_UNSAFE= yes PORTDATA= * DESKTOP_ENTRIES="Yudit" "${COMMENT}" "${PREFIX}/share/pixmaps/yudit.xpm" \ "yudit" "Office;" false post-install: ${INSTALL_DATA} ${WRKSRC}/icons/SS_Yudit_XPM.xpm \ ${STAGEDIR}${PREFIX}/share/pixmaps/yudit.xpm .include Index: head/emulators/adamem/Makefile =================================================================== --- head/emulators/adamem/Makefile (revision 516801) +++ head/emulators/adamem/Makefile (revision 516802) @@ -1,42 +1,43 @@ # Created by: Jeremy Karlson # $FreeBSD$ 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= ADAMEm is a 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 Index: head/emulators/almostti/Makefile =================================================================== --- head/emulators/almostti/Makefile (revision 516801) +++ head/emulators/almostti/Makefile (revision 516802) @@ -1,36 +1,36 @@ # Created by: Alexey Dokuchaev # $FreeBSD$ 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 +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 Index: head/emulators/atari800/Makefile =================================================================== --- head/emulators/atari800/Makefile (revision 516801) +++ head/emulators/atari800/Makefile (revision 516802) @@ -1,93 +1,94 @@ # Created by: Joel Sutton # $FreeBSD$ 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 BUILD_DEPENDS= ${UNZIP_CMD}:archivers/unzip LIB_DEPENDS= libpng.so:graphics/png RESTRICTED= xf25 contains copyright ROMs and cannot be distributed. WRKSRC= ${WRKDIR}/${DISTNAME}/src USES= 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 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 Index: head/emulators/bochs/Makefile =================================================================== --- head/emulators/bochs/Makefile (revision 516801) +++ head/emulators/bochs/Makefile (revision 516802) @@ -1,297 +1,297 @@ # Created by: alex # $FreeBSD$ PORTNAME= bochs PORTVERSION= 2.6.9 PORTREVISION= 5 PORTEPOCH= 2 CATEGORIES= emulators MASTER_SITES= SF MAINTAINER= mmokhi@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= gmake libtool:keepla pkgconfig +USES= 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 SUB_FILES= pkg-message CFLAGS+= -fomit-frame-pointer 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 PNIC PLUGINS USB USB_OHCI USB_XHCI \ RAW_SERIAL READLINE REPEAT_SPEED \ SB16 SHOW_IPS SMP STATS SVM TRACE_LINK \ 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 IODEBUG GDB_STUB \ 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_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 IODEBUG GDB_STUB \ 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 SDL1_DESC= Simple Direct Media Layer 1 support SDL1_USE= SDL=sdl SDL1_CONFIGURE_WITH= sdl SDL1_PREVENTS= SDL2 SDL2_DESC= Simple Direct Media Layer 2 support 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} -e \ 's|/usr/local/share/bochs|${DATADIR}|; \ s|/usr/local/share/doc/bochs|${DOCSDIR}|' \ ${WRKSRC}/doc/docbook/user/user.dbk ${WRKSRC}/doc/man/*.[15] @${REINPLACE_CMD} -e 's|> ${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 Index: head/emulators/cingb/Makefile =================================================================== --- head/emulators/cingb/Makefile (revision 516801) +++ head/emulators/cingb/Makefile (revision 516802) @@ -1,78 +1,78 @@ # Created by: Yukihiro Nakai # $FreeBSD$ PORTNAME= cingb DISTVERSIONPREFIX= v DISTVERSION= 0.32 CATEGORIES= emulators MAINTAINER= 0mp@FreeBSD.org COMMENT= Yet another Nintendo Game Boy emulator LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING -USES= tar:bzip2 +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" 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 Index: head/emulators/dgen-sdl/Makefile =================================================================== --- head/emulators/dgen-sdl/Makefile (revision 516801) +++ head/emulators/dgen-sdl/Makefile (revision 516802) @@ -1,38 +1,38 @@ # Created by: Maxim Sobolev # $FreeBSD$ PORTNAME= dgen-sdl PORTVERSION= 1.33 PORTREVISION= 4 CATEGORIES= emulators MASTER_SITES= SF/dgen/dgen/${PORTVERSION} MAINTAINER= ak@FreeBSD.org COMMENT= Wonderful Sega Genesis/MegaDrive emulator USE_SDL= sdl -USE_GL= yes -USES= gmake libarchive +USE_GL= glu +USES= gl gmake libarchive 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 Index: head/emulators/dtcyber/Makefile =================================================================== --- head/emulators/dtcyber/Makefile (revision 516801) +++ head/emulators/dtcyber/Makefile (revision 516802) @@ -1,37 +1,37 @@ # Created by: trasz # $FreeBSD$ PORTNAME= dtcyber PORTVERSION= 2.0b1 PORTREVISION= 2 CATEGORIES= emulators MASTER_SITES= http://members.iinet.net.au/~tom-hunter/ \ LOCAL/trasz DISTNAME= dtcyber20b1 MAINTAINER= ports@FreeBSD.org COMMENT= Desktop CYBER Emulator -USES= dos2unix zip +USES= dos2unix zip xorg USE_XORG= x11 NO_WRKSUBDIR= yes INSTALL_TARGET= MAKEFILE= Makefile.x11 CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib SUB_FILES= pkg-message PLIST_FILES= bin/dtcyber %%EXAMPLESDIR%%/cyber.ini %%EXAMPLESDIR%%/cos.tap BROKEN_aarch64= Fails to compile: error: Unable to determine size of basic data types BROKEN_armv6= Fails to compile: error: Unable to determine size of basic data types BROKEN_armv7= Fails to compile: error: Unable to determine size of basic data types BROKEN_mips64= Fails to compile: error: Unable to determine size of basic data types do-install: ${INSTALL_PROGRAM} ${WRKSRC}/dtcyber ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/cyber.ini ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/Os/cos.tap ${STAGEDIR}${EXAMPLESDIR} .include Index: head/emulators/fceux/Makefile =================================================================== --- head/emulators/fceux/Makefile (revision 516801) +++ head/emulators/fceux/Makefile (revision 516802) @@ -1,88 +1,91 @@ # Created by: HIYAMA Takeshi # $FreeBSD$ PORTNAME= fceux PORTVERSION= 2.2.3 PORTREVISION= 8 CATEGORIES= emulators MASTER_SITES= SF/fceultra/Source%20Code/${PORTVERSION}%20src/ DISTNAME= ${PORTNAME}-${PORTVERSION}.src MAINTAINER= ports@FreeBSD.org COMMENT= Portable NES/Famicom emulator based on Bero's original FCE LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= zenity:x11/zenity WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -USES= compiler:c++0x desktop-file-utils dos2unix localbase:ldflags pkgconfig scons +USES= compiler:c++0x desktop-file-utils dos2unix localbase:ldflags pkgconfig scons xorg USE_SDL= sdl USE_XORG= x11 CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} CXXFLAGS_clang= -Wno-c++11-narrowing OPTIONS_DEFINE= CREATE_AVI DEBUG DOCS FRAMESKIP LOGO LUA OPENGL OPTIONS_SINGLE= GUI OPTIONS_SINGLE_GUI= GTK2 GTK3 OPTIONS_DEFAULT= CREATE_AVI FRAMESKIP GTK2 LOGO LUA OPENGL CREATE_AVI_DESC= Enable avi creation support CREATE_AVI_MAKE_ARGS= CREATE_AVI=1 CREATE_AVI_MAKE_ARGS_OFF= CREATE_AVI=0 DEBUG_MAKE_ARGS= DEBUG=1 DEBUG_MAKE_ARGS_OFF= DEBUG=0 FRAMESKIP_DESC= Enable frameskipping FRAMESKIP_MAKE_ARGS= FRAMESKIP=1 FRAMESKIP_MAKE_ARGS_OFF= FRAMESKIP=0 +GTK2_USES= gnome GTK2_USE= GNOME=gtk20 GTK2_MAKE_ARGS= GTK=1 GTK2_MAKE_ARGS_OFF= GTK=0 +GTK3_USES= gnome GTK3_USE= GNOME=gtk30 GTK3_MAKE_ARGS= GTK3=1 GTK3_MAKE_ARGS_OFF= GTK3=0 LOGO_DESC= Enable a logoscreen when creating avis LOGO_LIB_DEPENDS= libgd.so:graphics/gd LOGO_MAKE_ARGS= LOGO=1 LOGO_MAKE_ARGS_OFF= LOGO=0 LOGO_IMPLIES= CREATE_AVI LUA_USES= lua:51 LUA_MAKE_ARGS= LUA=1 SYSTEM_LUA=1 LUA_MAKE_ARGS_OFF= LUA=0 +OPENGL_USES= gl OPENGL_USE= GL=gl OPENGL_MAKE_ARGS= OPENGL=1 OPENGL_MAKE_ARGS_OFF= OPENGL=0 post-patch: @${REINPLACE_CMD} -e \ '/PUBLIC/s|^|#| ; \ /CheckLib/s|lua5.1|lua-${LUA_VER}| ; \ /LINKFLAGS/s|lua5.1|lua-${LUA_VER}| ; \ s|"-ldl"|| ; \ s|/usr/include/lua5.1|${LUA_INCDIR}| ; \ s|-O2||' ${WRKSRC}/SConstruct @${REINPLACE_CMD} -e \ 's|/usr/bin/|| ; \ s|/usr/share/|${PREFIX}/share/|' ${WRKSRC}/fceux.desktop do-install: .for i in fceux fceux-net-server ${INSTALL_PROGRAM} ${WRKSRC}/bin/${i} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/documentation/${i}.6 ${STAGEDIR}${MANPREFIX}/man/man6 .endfor @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/bin/*.lua ${STAGEDIR}${DATADIR} @(cd ${WRKSRC}/output && ${COPYTREE_SHARE} "luaScripts palettes tools" \ ${STAGEDIR}${DATADIR}) ${INSTALL_DATA} ${WRKSRC}/*.desktop ${STAGEDIR}${DESKTOPDIR} ${INSTALL_DATA} ${WRKSRC}/*.png ${STAGEDIR}${PREFIX}/share/pixmaps do-install-DOCS-on: @(cd ${WRKSRC}/documentation && ${COPYTREE_SHARE} "TODO-PROJECT Videolog.txt \ cheat.html faq fcs.txt fm2.txt protocol.txt snes9x-lua.html tech" \ ${STAGEDIR}${DOCSDIR}) .include Index: head/emulators/fmsx/Makefile =================================================================== --- head/emulators/fmsx/Makefile (revision 516801) +++ head/emulators/fmsx/Makefile (revision 516802) @@ -1,59 +1,59 @@ # Created by: dk # $FreeBSD$ PORTNAME= fmsx PORTVERSION= 5.4 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 zip +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 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 Index: head/emulators/frodo/Makefile =================================================================== --- head/emulators/frodo/Makefile (revision 516801) +++ head/emulators/frodo/Makefile (revision 516802) @@ -1,61 +1,61 @@ # $FreeBSD$ PORTNAME= frodo PORTVERSION= 4.1b PORTREVISION= 11 CATEGORIES= emulators tk MASTER_SITES= http://frodo.cebix.net/downloads/ DISTNAME= FrodoV4_1b.Src MAINTAINER= dinoex@FreeBSD.org COMMENT= Emulates a Commodore 64 -USES= shebangfix tk:run +USES= shebangfix tk:run xorg USE_CXXSTD= gnu++98 CXXFLAGS+= -std=gnu++98 USE_XORG= x11 xt xext sm ice GNU_CONFIGURE= yes CONFIGURE_ENV= CXXFLAGS='${CXXFLAGS}' MAKE_ENV= LDFLAGS='${LDFLAGS}' ALL_TARGET= Frodo INSTALL_WRKSRC= ${WRKDIR}/Frodo-4.1b SHEBANG_FILES= ../TkGui.tcl WRKSRC= ${INSTALL_WRKSRC}/Src ROM= 1541 Basic Char Kernal OPTIONS_DEFINE= SDL DOCS OPTIONS_DEFAULT=SDL .include .if ${PORT_OPTIONS:MSDL} USE_SDL= sdl .endif pre-configure: ${REINPLACE_CMD} -e 's|wish|wish${TK_VER}|' \ ${WRKSRC}/C64_x.i do-install: ${SED} -e 's=\$${PREFIX}=${PREFIX}=g' \ < ${FILESDIR}/frodo > ${WRKDIR}/frodo ${INSTALL_SCRIPT} ${WRKDIR}/frodo ${STAGEDIR}${PREFIX}/bin/ ${MKDIR} ${STAGEDIR}${PREFIX}/libexec/frodo ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/Frodo ${STAGEDIR}${PREFIX}/libexec/frodo/ .for i in ${ROM} ${INSTALL_DATA} "${INSTALL_WRKSRC}/${i} ROM" ${STAGEDIR}${PREFIX}/libexec/frodo/ .endfor ${INSTALL_DATA} "${INSTALL_WRKSRC}/Frodo Logo" ${STAGEDIR}${PREFIX}/libexec/frodo/ ${INSTALL_SCRIPT} "${INSTALL_WRKSRC}/TkGui.tcl" ${STAGEDIR}${PREFIX}/libexec/frodo/ ${MKDIR} ${STAGEDIR}${PREFIX}/libexec/frodo/64prgs ${TAR} -C ${INSTALL_WRKSRC}/64prgs -cf - . | \ ${TAR} -C ${STAGEDIR}${PREFIX}/libexec/frodo/64prgs -xf - do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${INSTALL_WRKSRC}/CHANGES ${STAGEDIR}${DOCSDIR}/ ${TAR} -C ${INSTALL_WRKSRC}/Docs -cf - . | \ ${TAR} -C ${STAGEDIR}${DOCSDIR} -xf - .include Index: head/emulators/fuse/Makefile =================================================================== --- head/emulators/fuse/Makefile (revision 516801) +++ head/emulators/fuse/Makefile (revision 516802) @@ -1,71 +1,72 @@ # Created by: Alexey V. Antipovsky # $FreeBSD$ PORTNAME= fuse PORTVERSION= 1.5.7 PORTREVISION= 1 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 +USES= compiler:c++11-lang gettext gmake gnome localbase perl5 \ + pkgconfiga xorg USE_PERL5= build USE_GNOME= cairo libxml2 glib20 USE_XORG= x11 GNU_CONFIGURE= yes CONFIGURE_ARGS+=--without-alsa --without-joystick OPTIONS_DEFINE= AO ICONS ROMS DOCS OPTIONS_DEFAULT= ICONS GTK2 OPTIONS_SINGLE= UI UI_DESC= User Interface ROMS_DESC= Extra ROM images (128p, 256s, Gluck, IF1, Opus, TrDOS) OPTIONS_SINGLE_UI= GTK2 GTK3 SDL SVGALIB OPTIONS_SUB= yes AO_CONFIGURE_WITH= libao AO_LIB_DEPENDS= libao.so:audio/libao ICONS_USES= desktop-file-utils shared-mime-info ICONS_CONFIGURE_ENABLE= desktop-integration GTK2_USE= GNOME=gtk20 GTK2_CONFIGURE_ON= --with-gtk GTK3_USE= GNOME=gtk30 GTK3_CONFIGURE_ON= --with-gtk GTK3_CONFIGURE_ENABLE= gtk3 SDL_USE= SDL=sdl 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} INSTALLS_ICONS= yes .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 Index: head/emulators/gbe/Makefile =================================================================== --- head/emulators/gbe/Makefile (revision 516801) +++ head/emulators/gbe/Makefile (revision 516802) @@ -1,26 +1,27 @@ # Created by: Yukihiro Nakai # $FreeBSD$ 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 Index: head/emulators/gens/Makefile =================================================================== --- head/emulators/gens/Makefile (revision 516801) +++ head/emulators/gens/Makefile (revision 516802) @@ -1,42 +1,42 @@ # Created by: Travis Poppe # $FreeBSD$ PORTNAME= gens PORTVERSION= 2.15.5 PORTREVISION= 3 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= gmake localbase pkgconfig +USES= gmake gnome gl localbase pkgconfig 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 Index: head/emulators/gngeo/Makefile =================================================================== --- head/emulators/gngeo/Makefile (revision 516801) +++ head/emulators/gngeo/Makefile (revision 516802) @@ -1,90 +1,90 @@ # Created by: Alejandro Pulver # $FreeBSD$ PORTNAME= gngeo PORTVERSION= 0.8 DISTVERSIONPREFIX= ${PORTNAME}_ PORTREVISION= 4 CATEGORIES= emulators MASTER_SITES= LOCAL/acm/${PORTNAME} MAINTAINER= acm@FreeBSD.org COMMENT= NeoGeo emulator LICENSE= GPLv2 BROKEN_i386= unknown argument: '-frerun-loop-opt' -USES= autoreconf compiler:features gmake +USES= autoreconf compiler:features gl gmake 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 Index: head/emulators/hatari/Makefile =================================================================== --- head/emulators/hatari/Makefile (revision 516801) +++ head/emulators/hatari/Makefile (revision 516802) @@ -1,72 +1,72 @@ # Created by: Michael Neumann # $FreeBSD$ PORTNAME= hatari PORTVERSION= 2.2.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 + sdl shared-mime-info shebangfix tar:bzip2 xorg USE_GNOME= gtk30 USE_XORG= sm ice x11 xext USE_PYTHON= concurrent 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 INSTALLS_ICONS= yes 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 Index: head/emulators/higan/Makefile =================================================================== --- head/emulators/higan/Makefile (revision 516801) +++ head/emulators/higan/Makefile (revision 516802) @@ -1,99 +1,100 @@ # Created by: elbarto # $FreeBSD$ PORTNAME= higan PORTVERSION= 106 PORTREVISION= 5 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 LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 -USES= 7z:p7zip compiler:c++14-lang gettext gmake gnome pkgconfig +USES= 7z:p7zip 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_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_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 Index: head/emulators/ines/Makefile =================================================================== --- head/emulators/ines/Makefile (revision 516801) +++ head/emulators/ines/Makefile (revision 516802) @@ -1,31 +1,32 @@ # Created by: Yukihiro Nakai # $FreeBSD$ 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 emlator for X 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 Index: head/emulators/joytran/Makefile =================================================================== --- head/emulators/joytran/Makefile (revision 516801) +++ head/emulators/joytran/Makefile (revision 516802) @@ -1,26 +1,26 @@ # Created by: Timothy Beyer # $FreeBSD$ 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 USE_SDL= sdl2 -USES= tar:bzip2 cmake:insource pkgconfig +USES= tar:bzip2 cmake:insource pkgconfig xorg CMAKE_ARGS= -DLOCALBASE="${LOCALBASE}" -DPREFIX="${PREFIX}" USE_XORG= x11 xtst OPTIONS_DEFINE= DOCS post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include Index: head/emulators/kcemu/Makefile =================================================================== --- head/emulators/kcemu/Makefile (revision 516801) +++ head/emulators/kcemu/Makefile (revision 516802) @@ -1,42 +1,42 @@ # Created by: Hardy Schumacher # $FreeBSD$ PORTNAME= kcemu PORTVERSION= 0.5.1 PORTREVISION= 19 CATEGORIES= emulators MASTER_SITES= SF/${PORTNAME}/KCemu/KCemu-${PORTVERSION} DISTNAME= KCemu-${PORTVERSION} MAINTAINER= hardy.schumacher@gmx.de COMMENT= KC85 emulator BUILD_DEPENDS= pngtopnm:graphics/netpbm LIB_DEPENDS= libaudiofile.so:audio/libaudiofile \ libavformat.so:multimedia/ffmpeg \ libdirac_encoder.so:multimedia/dirac \ libschroedinger-1.0.so:multimedia/schroedinger \ libsndfile.so:audio/libsndfile \ libtheora.so:multimedia/libtheora \ libvncserver.so:net/libvncserver \ libxvidcore.so:multimedia/xvid \ libz80ex.so:devel/z80ex -USES= compiler:c++11-lang gettext ncurses pkgconfig +USES= compiler:c++11-lang gettext gnome ncurses pkgconfig xorg USE_CXXSTD= gnu++98 USE_GNOME= gtk20 USE_XORG= xmu GNU_CONFIGURE= yes LDFLAGS+= -L${LOCALBASE}/lib WRKSRC= ${WRKDIR}/KCemu-${PORTVERSION} CONFIGURE_ARGS+=--disable-libmp3lame \ --disable-libflac \ --disable-libgif DESKTOP_ENTRIES="KCemu" "${COMMENT}" \ "${LOCALBASE}/share/KCemu/icons/kcemu-icon.png" "kcemu" \ "System;Emulator;" "true" .include Index: head/emulators/mame/Makefile =================================================================== --- head/emulators/mame/Makefile (revision 516801) +++ head/emulators/mame/Makefile (revision 516802) @@ -1,126 +1,126 @@ # Created by: alepulver # $FreeBSD$ PORTNAME?= mame PORTVERSION= 0.209 PORTREVISION= 1 CATEGORIES= emulators MAINTAINER= ports@FreeBSD.org COMMENT= Multi Arcade Machine Emulator LICENSE= GPLv2 ONLY_FOR_ARCHS= amd64 i386 powerpc64 ONLY_FOR_ARCHS_REASON= not yet ported to any arch other than x86 and powerpc64 LIB_DEPENDS= libFLAC.so:audio/flac \ libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 RUN_DEPENDS= liberation-fonts-ttf>=0:x11-fonts/liberation-fonts-ttf USES= compiler:c++14-lang gl gmake jpeg pkgconfig \ - python:2.7,build qt:5 sdl shebangfix + python:2.7,build qt:5 sdl shebangfix xorg USE_GITHUB= yes GH_ACCOUNT= mamedev GH_PROJECT= mame # explicit (master port) GH_TAGNAME= mame${PORTVERSION:S/.//} OPTIONS_DEFINE= DEBUG DOCS EXAMPLES 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 USE_XORG= x11 xext xi xinerama xrender USE_GL= gl USE_SDL= sdl2 ttf2 USE_QT= buildtools core gui qmake_build widgets MTARGET?= mame MSUBTARGET?= mame CFLAGS+= -I${LOCALBASE}/include 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_ARGS= TARGETOS=freebsd VERBOSE=1 TOOLS=1 MAKEFILE= makefile GENIE= ${WRKSRC}/3rdparty/genie PORTDOCS= * PORTEXAMPLES= ${MSUBTARGET}.ini SUB_FILES= pkg-message target.ini SUB_LIST= MTARGET=${MTARGET} MSUBTARGET=${MSUBTARGET} DEBUG_MAKE_ENV= DEBUG=1 .include .if ${ARCH} == amd64 || ${ARCH} == powerpc64 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 \ ${WRKSRC}/src/devices/cpu/m68000/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 src2html \ 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 Index: head/emulators/mastergear/Makefile =================================================================== --- head/emulators/mastergear/Makefile (revision 516801) +++ head/emulators/mastergear/Makefile (revision 516802) @@ -1,38 +1,39 @@ # Created by: Yukihiro Nakai # $FreeBSD$ 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 Index: head/emulators/mednafen/Makefile =================================================================== --- head/emulators/mednafen/Makefile (revision 516801) +++ head/emulators/mednafen/Makefile (revision 516802) @@ -1,85 +1,85 @@ # $FreeBSD$ PORTNAME= mednafen PORTVERSION= 1.22.1 PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= emulators games MASTER_SITES= https://mednafen.github.io/releases/files/ MAINTAINER= acm@FreeBSD.org COMMENT= Portable multi-system emulator LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcdio.so:sysutils/libcdio \ libsndfile.so:audio/libsndfile \ libvorbis.so:audio/libvorbis BROKEN_sparc64= fails to compile due to internal compiler error GNU_CONFIGURE= yes USE_SDL= sdl2 net2 USE_GL= gl glu CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib WRKSRC= ${WRKDIR}/${PORTNAME} SUB_FILES= pkg-message CONFIGURE_ARGS+=--disable-alsa --disable-alsatest \ --with-sdl-prefix=${LOCALBASE} -USES= compiler:c++11-lib cpe iconv pkgconfig:build tar:xz +USES= compiler:c++11-lib cpe gl iconv pkgconfig:build tar:xz CPE_VENDOR= david_shadoff OPTIONS_DEFINE= NLS DOCS JACK OPTIONS_MULTI= EMU OPTIONS_MULTI_EMU= GB GBA LINX MD NES NGP PCE PCFX PSX SMS SWAN VB OPTIONS_DEFAULT= GB GBA LINX MD NES NGP PCE PCFX PSX SMS SWAN VB GB_DESC= build with GameBoy emulation GBA_DESC= build with GameBoy Advance emulation LINX_DESC= build with Atari Lynx emulation MD_DESC= build with Sega Genesis/MegaDrive emulation NES_DESC= build with Nintendo Entertainment System emulation NGP_DESC= build with Neo Geo Pocket emulation PCE_DESC= build with PC Engine (TurboGrafx 16) emulation PCFX_DESC= build with PC-FX emulation PSX_DESC= build with Playstation emulation SMS_DESC= build with SMS+GG emulation SWAN_DESC= build with WonderSWan emulation VB_DESC= build with Virtual Boy emulation JACK_DESC= support the JACK audio API OPTIONS_SUB= yes NLS_USES= gettext NLS_CONFIGURE_ENABLE=nls JACK_LIB_DEPENDS=libjack.so:audio/jack JACK_CONFIGURE_ENABLE=jack GB_CONFIGURE_ENABLE=gb GBA_CONFIGURE_ENABLE=gba LINX_CONFIGURE_ENABLE=lynx MD_CONFIGURE_ENABLE=md NES_CONFIGURE_ENABLE=nes NGP_CONFIGURE_ENABLE=ngp PCE_CONFIGURE_ENABLE=pce PCFX_CONFIGURE_ENABLE=pcfx PSX_CONFIGURE_ENABLE=psx SMS_CONFIGURE_ENABLE=sms SWAN_CONFIGURE_ENABLE=wswan VB_CONFIGURE_ENABLE=vb pre-configure: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ -e 's|/usr/X11R6|${LOCALBASE}|g' \ ${WRKSRC}/configure post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/Documentation/mednafen.html ${STAGEDIR}${DOCSDIR} .include Index: head/emulators/mtools/Makefile =================================================================== --- head/emulators/mtools/Makefile (revision 516801) +++ head/emulators/mtools/Makefile (revision 516802) @@ -1,62 +1,63 @@ # Created by: jmz # $FreeBSD$ PORTNAME= mtools PORTVERSION= 4.0.10 PORTREVISION= 6 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} .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 .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 Index: head/emulators/mupen64plus-core/Makefile =================================================================== --- head/emulators/mupen64plus-core/Makefile (revision 516801) +++ head/emulators/mupen64plus-core/Makefile (revision 516802) @@ -1,31 +1,31 @@ # Created by: Jose Alonso Cardenas Marquez # $FreeBSD$ PORTNAME= mupen64plus PORTVERSION?= 2.5 PORTREVISION?= 1 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+= gmake pkgconfig +USES+= gl gmake pkgconfig 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 Index: head/emulators/mupen64plus-qt/Makefile =================================================================== --- head/emulators/mupen64plus-qt/Makefile (revision 516801) +++ head/emulators/mupen64plus-qt/Makefile (revision 516802) @@ -1,49 +1,49 @@ # $FreeBSD$ PORTNAME= mupen64plus-qt DISTVERSION= 1.12 PORTREVISION= 3 CATEGORIES= emulators MAINTAINER= maintainer@hasting.email COMMENT= Basic launcher for Mupen64Plus LICENSE= BSD3CLAUSE LIB_DEPENDS= libquazip5.so:archivers/quazip RUN_DEPENDS= ${LOCALBASE}/lib/libmupen64plus.so.2:emulators/mupen64plus-core \ ${LOCALBASE}/lib/mupen64plus/mupen64plus-audio-sdl.so:emulators/mupen64plus-audio-sdl \ ${LOCALBASE}/lib/mupen64plus/mupen64plus-input-sdl.so:emulators/mupen64plus-input-sdl \ ${LOCALBASE}/lib/mupen64plus/mupen64plus-rsp-hle.so:emulators/mupen64plus-rsp-hle \ ${LOCALBASE}/lib/mupen64plus/mupen64plus-video-rice.so:emulators/mupen64plus-video-rice \ mupen64plus:emulators/mupen64plus-ui-console -USES= qmake qt:5 +USES= gl qmake qt:5 USE_GL= gl USE_QT= core gui network sql widgets xml \ buildtools_build \ sql-sqlite3_run USE_GITHUB= yes GH_ACCOUNT= dh4 PORTDOCS= README.md PLIST_FILES= bin/mupen64plus-qt \ man/man6/mupen64plus-qt.6.gz \ share/applications/mupen64plus-qt.desktop \ share/pixmaps/mupen64plus-qt.png OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/resources/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKSRC}/resources/images/mupen64plus.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png ${INSTALL_MAN} ${WRKSRC}/resources/${PORTNAME}.6 ${STAGEDIR}${MANPREFIX}/man/man6 do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/ .include Index: head/emulators/mupen64plus-video-arachnoid/Makefile =================================================================== --- head/emulators/mupen64plus-video-arachnoid/Makefile (revision 516801) +++ head/emulators/mupen64plus-video-arachnoid/Makefile (revision 516802) @@ -1,27 +1,28 @@ # Created by: Jose Alonso Cardenas Marquez # $FreeBSD$ PORTREVISION= 1 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" Index: head/emulators/mupen64plus-video-glide64/Makefile =================================================================== --- head/emulators/mupen64plus-video-glide64/Makefile (revision 516801) +++ head/emulators/mupen64plus-video-glide64/Makefile (revision 516802) @@ -1,27 +1,28 @@ # Created by: Jose Alonso Cardenas Marquez # $FreeBSD$ PORTREVISION= 1 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 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" Index: head/emulators/mupen64plus-video-glide64mk2/Makefile =================================================================== --- head/emulators/mupen64plus-video-glide64mk2/Makefile (revision 516801) +++ head/emulators/mupen64plus-video-glide64mk2/Makefile (revision 516802) @@ -1,22 +1,23 @@ # Created by: Jose Alonso Cardenas Marquez # $FreeBSD$ PORTREVISION= 17 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 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" Index: head/emulators/mupen64plus-video-rice/Makefile =================================================================== --- head/emulators/mupen64plus-video-rice/Makefile (revision 516801) +++ head/emulators/mupen64plus-video-rice/Makefile (revision 516802) @@ -1,15 +1,16 @@ # Created by: Jose Alonso Cardenas Marquez # $FreeBSD$ PORTREVISION= 1 PKGNAMESUFFIX= -video-rice COMMENT= The rice graphics plugin for Mupen64plus +USES= gl USE_GL= yes MASTERDIR= ${.CURDIR}/../mupen64plus-core OPTIONS_DEFINE= # .include "${MASTERDIR}/Makefile" Index: head/emulators/mupen64plus-video-z64/Makefile =================================================================== --- head/emulators/mupen64plus-video-z64/Makefile (revision 516801) +++ head/emulators/mupen64plus-video-z64/Makefile (revision 516802) @@ -1,27 +1,28 @@ # Created by: Jose Alonso Cardenas Marquez # $FreeBSD$ PORTREVISION= 2 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 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" Index: head/emulators/pcemu/Makefile =================================================================== --- head/emulators/pcemu/Makefile (revision 516801) +++ head/emulators/pcemu/Makefile (revision 516802) @@ -1,23 +1,23 @@ # Created by: joerg # $FreeBSD$ PORTNAME= pcemu PORTVERSION= 1.01b PORTREVISION= 5 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 USE_XORG= x11 xext -USES= dos2unix DOS2UNIX_FILES= programs/config.sys MAKE_ENV= FILESDIR=${FILESDIR} STAGEDIR=${STAGEDIR} MAKE_ARGS= CC="${CC}" .include Index: head/emulators/ppsspp/Makefile =================================================================== --- head/emulators/ppsspp/Makefile (revision 516801) +++ head/emulators/ppsspp/Makefile (revision 516802) @@ -1,107 +1,107 @@ # $FreeBSD$ PORTNAME= ppsspp DISTVERSIONPREFIX= v DISTVERSION?= 1.9.4 PORTREVISION?= 0 CATEGORIES= emulators # XXX Get from Debian once #697821 lands MASTER_SITES= https://bazaar.launchpad.net/~sergio-br2/${PORTNAME}/debian-sdl/download/5/${PORTNAME}.1-20140802045408-dd26dik367ztj5xg-8/:manpage DISTFILES= ${PORTNAME}.1:manpage EXTRACT_ONLY= ${DISTFILES:N*\:manpage:C/:.*//} MAINTAINER= jbeich@FreeBSD.org COMMENT= PSP emulator in C++ with dynarec JIT for x86, ARM, MIPS LICENSE= GPLv2+ # Bi-endian architectures default to big for some reason NOT_FOR_ARCHS= mips mips64 powerpc powerpc64 sparc64 NOT_FOR_ARCHS_REASON= only little-endian is supported, see \ https://github.com/hrydgard/ppsspp/issues/8823 LIB_DEPENDS= libzip.so:archivers/libzip \ libsnappy.so:archivers/snappy \ libavcodec.so:multimedia/ffmpeg RUN_DEPENDS= xdg-open:devel/xdg-utils USE_GITHUB= yes GH_ACCOUNT= hrydgard GH_TUPLE?= hrydgard:glslang:7.11.3214-63-gf9d08a25:glslang/ext/glslang \ hrydgard:${PORTNAME}-lang:bfc3a51:lang/assets/lang \ KhronosGroup:SPIRV-Cross:2019-05-20-60-ga1f7c8dc:SPIRV/ext/SPIRV-Cross \ Kingcom:armips:v0.10.0-28-g7885552:armips/ext/armips CONFLICTS_INSTALL= ${PORTNAME}-* -USES= cmake compiler:c++11-lib localbase:ldflags pkgconfig +USES= cmake compiler:c++11-lib gl localbase:ldflags pkgconfig EXCLUDE= libzip zlib EXTRACT_AFTER_ARGS=${EXCLUDE:S,^,--exclude ,} USE_GL= gl glew glu USE_SDL= sdl2 # joystick CMAKE_ON= USE_SYSTEM_FFMPEG USE_SYSTEM_LIBZIP CMAKE_OFF= USE_DISCORD SUB_FILES= pkg-message PORTDATA= assets ${PORTNAME} DESKTOP_ENTRIES="PPSSPP" \ "" \ "${PORTNAME}" \ "${PORTNAME} %f" \ "Game;Emulator;" \ "" OPTIONS_DEFINE= OLDJOY VULKAN OPTIONS_DEFAULT=VULKAN OPTIONS_SINGLE= GUI OPTIONS_SINGLE_GUI= QT5 SDL OPTIONS_SLAVE?= LIBRETRO SDL OPTIONS_EXCLUDE:= ${OPTIONS_EXCLUDE} ${OPTIONS_SINGLE_GUI} LIBRETRO_DESC= libretro core for games/retroarch LIBRETRO_CMAKE_BOOL= LIBRETRO LIBRETRO_PLIST_FILES= lib/libretro/${PORTNAME}_libretro.so LIBRETRO_IMPLIES= SDL OLDJOY_DESC= Old joystick support with fixed button mappings (deprecated) OLDJOY_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-old-joy QT5_USES= qt:5 QT5_USE= QT=qmake_build,buildtools_build,linguisttools_build,gui,opengl,widgets QT5_CMAKE_BOOL= USING_QT_UI QT5_VARS= EXENAME=PPSSPPQt SDL_BUILD_DEPENDS= png>=1.6:graphics/png SDL_LIB_DEPENDS= libpng.so:graphics/png SDL_VARS= EXENAME=PPSSPPSDL VULKAN_DESC= Vulkan renderer VULKAN_RUN_DEPENDS= ${LOCALBASE}/lib/libvulkan.so:graphics/vulkan-loader post-patch: @${REINPLACE_CMD} -e 's/Linux/${OPSYS}/' \ ${WRKSRC}/assets/gamecontrollerdb.txt @${REINPLACE_CMD} -e 's,/usr/share,${PREFIX}/share,' \ ${WRKSRC}/UI/NativeApp.cpp @${REINPLACE_CMD} -e 's/"unknown"/"${DISTVERSIONFULL}"/' \ ${WRKSRC}/git-version.cmake do-install: # cmake doesn't pack assets into the app unlike qmake (cd ${INSTALL_WRKSRC} && ${COPYTREE_SHARE} \ "${PORTDATA:N${PORTNAME}}" ${STAGEDIR}${DATADIR}) # Install the app alongside assets to avoid warnings with GetExeDirectory() ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${EXENAME} \ ${STAGEDIR}${DATADIR}/${PORTNAME} ${LN} -sf ../${DATADIR_REL}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${_DISTDIR}/${PORTNAME}.1 \ ${STAGEDIR}${MAN1PREFIX}/man/man1 (cd ${WRKSRC}/icons && ${COPYTREE_SHARE} \ "hicolor" ${STAGEDIR}${PREFIX}/share/icons) ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps ${INSTALL_DATA} ${WRKSRC}/icons/icon-512.svg \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/${PORTNAME}.svg do-install-LIBRETRO-on: ${MKDIR} ${STAGEDIR}${PREFIX}/${LIBRETRO_PLIST_FILES:H} ${INSTALL_LIB} ${BUILD_WRKSRC}/lib/${LIBRETRO_PLIST_FILES:T} \ ${STAGEDIR}${PREFIX}/${LIBRETRO_PLIST_FILES:H} .include Index: head/emulators/qemu-powernv/Makefile =================================================================== --- head/emulators/qemu-powernv/Makefile (revision 516801) +++ head/emulators/qemu-powernv/Makefile (revision 516802) @@ -1,57 +1,57 @@ # $FreeBSD$ PORTNAME= qemu-powernv PORTVERSION= 3.0.50 PORTREVISION= 1 CATEGORIES= emulators MASTER_SITES= http://people.freebsd.org/~kbowling/distfiles/ MAINTAINER= kbowling@FreeBSD.org COMMENT= Fork of QEMU with experimental PowerNV emulation support LICENSE= GPLv2 BUILD_DEPENDS= ${LOCALBASE}/lib/libfdt.so:sysutils/dtc USES= bison:build compiler:c11 gmake gnome libtool makeinfo \ - pkgconfig python:2.7,build tar:bz2 + pkgconfig python:2.7,build tar:bz2 xorg USE_XORG= pixman USE_GNOME= glib20 HAS_CONFIGURE= yes CONFIGURE_ARGS+=--target-list=ppc64-softmmu \ --cc=${CC} \ --disable-curl \ --disable-docs \ --disable-gtk \ --disable-gcrypt \ --disable-kvm \ --disable-libssh2 \ --disable-linux-aio \ --disable-linux-user \ --disable-vnc \ --disable-sdl \ --disable-nettle \ --disable-gnutls \ --disable-vte \ --disable-xen \ --extra-cflags=-I${WRKSRC}\ -I${LOCALBASE}/include\ -DPREFIX=\\\"\"${PREFIX}\\\"\" \ --extra-ldflags=-L\"${LOCALBASE}/lib\" \ --localstatedir=/var \ --datadir=${DATADIR} \ --python=${PYTHON_CMD} PLIST_FILES= bin/qemu-system-powernv \ ${DATADIR}/qemu/skiboot.lid \ ${DATADIR}/qemu/slof.bin \ ${DATADIR}/qemu/spapr-rtas.bin # remap names to avoid conflicts with mainline port do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ppc64-softmmu/qemu-system-ppc64 ${STAGEDIR}${PREFIX}/bin/qemu-system-powernv ${MKDIR} ${STAGEDIR}${DATADIR}/qemu ${INSTALL_DATA} ${WRKSRC}/pc-bios/skiboot.lid ${STAGEDIR}${DATADIR}/qemu/skiboot.lid ${INSTALL_DATA} ${WRKSRC}/pc-bios/slof.bin ${STAGEDIR}${DATADIR}/qemu/slof.bin ${INSTALL_DATA} ${WRKSRC}/pc-bios/spapr-rtas.bin ${STAGEDIR}${DATADIR}/qemu/spapr-rtas.bin .include Index: head/emulators/qemu-sbruno/Makefile =================================================================== --- head/emulators/qemu-sbruno/Makefile (revision 516801) +++ head/emulators/qemu-sbruno/Makefile (revision 516802) @@ -1,288 +1,291 @@ # Created by: Juergen Lock # $FreeBSD$ PORTNAME= qemu PORTVERSION= 2.11.50.g20191029 CATEGORIES= emulators PKGNAMESUFFIX?= -sbruno DIST_SUBDIR= qemu/${PORTVERSION} MAINTAINER= sbruno@FreeBSD.org COMMENT?= QEMU CPU Emulator - github bsd-user branch LICENSE= GPLv2 USE_GITHUB= yes GH_TUPLE= seanbruno:qemu-bsd-user:25ce28e \ qemu:keycodemapdb:10739aa:keycodemapdb/ui/keycodemapdb HAS_CONFIGURE= yes USES= bison compiler:c11 gmake perl5 pkgconfig python:2.7,build USE_PERL5= build MAKE_ENV+= BSD_MAKE="${MAKE}" V=1 ONLY_FOR_ARCHS= amd64 powerpc powerpc64 # XXX someone wants to debug sparc64 hosts? BROKEN_i386= aarch64 system target is currently broken for i386 hosts, disable for now while dealing with upstream OPTIONS_DEFINE= SAMBA X11 GTK2 OPENGL GNUTLS SASL JPEG PNG CURL \ CDROM_DMA PCAP USBREDIR X86_TARGETS BSD_USER \ STATIC_LINK DOCS SAMBA_DESC= samba dependency (for -smb) GNUTLS_DESC= gnutls dependency (vnc encryption) SASL_DESC= cyrus-sasl dependency (vnc encryption) JPEG_DESC= jpeg dependency (vnc lossy compression) PNG_DESC= png dependency (vnc compression) CDROM_DMA_DESC= IDE CDROM DMA PCAP_DESC= pcap dependency (networking with bpf) USBREDIR_DESC= usb device network redirection (experimental!) X86_TARGETS_DESC= Don't build non-x86 system targets BSD_USER_DESC= Also build bsd-user targets (for testing) STATIC_LINK_DESC= Statically link the executables OPTIONS_DEFAULT=X11 GTK2 OPENGL GNUTLS SASL JPEG PNG CDROM_DMA CURL PCAP .if !defined(QEMU_USER_STATIC) CONFLICTS_INSTALL= qemu-[0-9]* qemu-devel-* .endif .if defined(QEMU_USER_STATIC) .if exists(/usr/sbin/binmiscctl) USE_RC_SUBR= qemu_user_static SUB_LIST= NAME=qemu_user_static CONFIGURE_ARGS+= --disable-tools .endif .else # qemu-system-* targets require pixman to build, add an explicit dependency. +USES+= xorg USE_XORG= pixman .endif # When static linking we have a build dependency on libglib-2.0.a, otherwise # we use glib20 in the usual way (shared-lib runtime dependency). .if defined(QEMU_USER_STATIC) BUILD_DEPENDS+= ${LOCALBASE}/lib/libglib-2.0.a:devel/glib20 .else +USES+= gnome USE_GNOME+= glib20 BUILD_DEPENDS+= ${LOCALBASE}/lib/libfdt.so:sysutils/dtc .endif .include CONFIGURE_ARGS+= --localstatedir=/var CONFIGURE_ARGS+= --extra-ldflags=-L${LOCALBASE}/lib CONFIGURE_ARGS+= --extra-cflags=-I${LOCALBASE}/include CONFIGURE_ARGS+= --disable-libssh2 PORTDOCS= docs qemu-doc.html .if defined(QEMU_USER_STATIC) .if ${ARCH} != "amd64" CONFIGURE_ARGS+= --target-list=i386-bsd-user,sparc-bsd-user,arm-bsd-user,mips-bsd-user,mipsel-bsd-user,ppc-bsd-user .else CONFIGURE_ARGS+= --target-list=i386-bsd-user,x86_64-bsd-user,sparc-bsd-user,sparc64-bsd-user,arm-bsd-user,mips-bsd-user,mipsel-bsd-user,mips64-bsd-user,mips64el-bsd-user,ppc-bsd-user,ppc64-bsd-user,aarch64-bsd-user .endif .else .if ${PORT_OPTIONS:MX86_TARGETS} .if ${PORT_OPTIONS:MBSD_USER} .if ${ARCH} != "amd64" CONFIGURE_ARGS+= --target-list=i386-softmmu,x86_64-softmmu,i386-bsd-user,sparc-bsd-user,arm-bsd-user,mips-bsd-user,mipsel-bsd-user,ppc-bsd-user .else CONFIGURE_ARGS+= --target-list=i386-softmmu,x86_64-softmmu,i386-bsd-user,x86_64-bsd-user,sparc-bsd-user,sparc64-bsd-user,arm-bsd-user,mips-bsd-user,mipsel-bsd-user,mips64-bsd-user,mips64el-bsd-user,ppc-bsd-user,ppc64-bsd-user,aarch64-bsd-user .endif .else CONFIGURE_ARGS+= --target-list=i386-softmmu,x86_64-softmmu .endif .else .if empty(PORT_OPTIONS:MBSD_USER) CONFIGURE_ARGS+= --disable-bsd-user .else .if ${ARCH} != "amd64" CONFIGURE_ARGS+= --target-list=i386-softmmu,x86_64-softmmu,aarch64-softmmu,alpha-softmmu,arm-softmmu,cris-softmmu,lm32-softmmu,m68k-softmmu,microblaze-softmmu,microblazeel-softmmu,mips-softmmu,mipsel-softmmu,mips64-softmmu,mips64el-softmmu,or32-softmmu,ppc-softmmu,ppcemb-softmmu,ppc64-softmmu,sh4-softmmu,sh4eb-softmmu,sparc-softmmu,sparc64-softmmu,s390x-softmmu,xtensa-softmmu,xtensaeb-softmmu,unicore32-softmmu,moxie-softmmu,i386-bsd-user,sparc-bsd-user,arm-bsd-user,mips-bsd-user,mipsel-bsd-user,ppc-bsd-user .endif .endif .endif .endif .if empty(PORT_OPTIONS:MBSD_USER) PLIST_SUB+= BSD_USER="@comment " .else PLIST_SUB+= BSD_USER="" .if ${ARCH} == "sparc64" IGNORE= bsd-user targets not tested on sparc64 .endif .endif .if empty(PORT_OPTIONS:MBSD_USER) || ${ARCH} != "amd64" PLIST_SUB+= BSD_USER64="@comment " .else PLIST_SUB+= BSD_USER64="" .endif .if ${PORT_OPTIONS:MX86_TARGETS} PLIST_SUB+= NONX86="@comment " .else PLIST_SUB+= NONX86="" .endif .if defined(QEMU_USER_STATIC) PLIST_SUB+= SOFTMMU="@comment " PLIST_SUB+= STATIC="-static" .else PLIST_SUB+= SOFTMMU="" PLIST_SUB+= STATIC="" .endif SSP_CFLAGS?= -fstack-protector # XXX -strong crashes qemu-user-static WITHOUT_CPU_CFLAGS=yes #to avoid problems with register allocation CFLAGS:= ${CFLAGS:C/-fno-tree-vrp//} CFLAGS+= -Wno-address-of-packed-member CFLAGS+= -D_WANT_SEMUN CONFIGURE_ARGS+= --prefix=${PREFIX} --cc=${CC} --enable-docs \ --disable-linux-user --disable-linux-aio \ --disable-kvm --disable-xen \ --smbd=${LOCALBASE}/sbin/smbd \ --enable-debug \ --enable-debug-info \ --extra-cflags=-I${WRKSRC}\ -I${LOCALBASE}/include\ -DPREFIX=\\\"\"${PREFIX}\\\"\" .if empty(PORT_OPTIONS:MX11) CONFIGURE_ARGS+= --disable-sdl .else CONFIGURE_ARGS+= --enable-sdl USE_SDL= sdl .endif .if empty(PORT_OPTIONS:MGTK2) CONFIGURE_ARGS+= --disable-gtk --disable-vte PLIST_SUB+= GTK2="@comment " .else USE_GNOME+= gtk20 vte -USES+= gettext +USES+= gettext gnome PLIST_SUB+= GTK2="" .endif .if ${PORT_OPTIONS:MGNUTLS} LIB_DEPENDS+= libgnutls.so:security/gnutls CONFIGURE_ARGS+= --enable-gnutls .else CONFIGURE_ARGS+= --disable-gnutls .endif .if empty(PORT_OPTIONS:MSASL) CONFIGURE_ARGS+= --disable-vnc-sasl .else LIB_DEPENDS+= libsasl2.so:security/cyrus-sasl2 .endif .if empty(PORT_OPTIONS:MJPEG) CONFIGURE_ARGS+= --disable-vnc-jpeg .else USES+= jpeg .endif .if empty(PORT_OPTIONS:MPNG) CONFIGURE_ARGS+= --disable-vnc-png .else LIB_DEPENDS+= libpng.so:graphics/png .endif .if empty(PORT_OPTIONS:MCURL) CONFIGURE_ARGS+= --disable-curl .else LIB_DEPENDS+= libcurl.so:ftp/curl .endif .if empty(PORT_OPTIONS:MOPENGL) CONFIGURE_ARGS+= --disable-opengl .else -USE_GL= yes +USES+= gl +USE_GL= glu .endif .if empty(PORT_OPTIONS:MUSBREDIR) CONFIGURE_ARGS+= --disable-usb-redir .else BUILD_DEPENDS+= usbredir>=0.6:net/usbredir RUN_DEPENDS+= usbredir>=0.6:net/usbredir .endif .if ${PORT_OPTIONS:MPCAP} CONFIGURE_ARGS+= --enable-pcap .else CONFIGURE_ARGS+= --disable-pcap .endif .if ${PORT_OPTIONS:MSTATIC_LINK} .if ${PORT_OPTIONS:MGTK2} || ${PORT_OPTIONS:MX11} IGNORE= the X11 ui cannot be built static .endif CONFIGURE_ARGS+= --static .endif .if ${PORT_OPTIONS:MSAMBA} USES+= samba:run # smbd .endif .if ${PORT_OPTIONS:MDOCS} BUILD_DEPENDS+= texi2html:textproc/texi2html USES+= makeinfo .else MAKE_ARGS+= NOPORTDOCS=1 .endif .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 CONFIGURE_ARGS+= --python=${PYTHON_CMD} PLIST_SUB+= LINUXBOOT_DMA="" post-patch: @${REINPLACE_CMD} -e '/libs_qga=/s|glib_libs|glib_libs -lintl|' ${WRKSRC}/configure .if empty(PORT_OPTIONS:MCDROM_DMA) @cd ${WRKSRC} && ${PATCH} --quiet < ${FILESDIR}/cdrom-dma-patch .endif @${REINPLACE_CMD} -E \ -e "/^by Tibor .TS. S/s|Sch.*z.$$|Schuetz.|" \ ${WRKSRC}/qemu-doc.texi @${REINPLACE_CMD} -E \ -e "s|^(CFLAGS=).*|\1${CFLAGS} -fno-strict-aliasing|" \ -e "s|^(LDFLAGS=).*|\1${LDFLAGS}|" \ ${WRKSRC}/Makefile.target @${REINPLACE_CMD} -E \ -e "s|^(CFLAGS=).*|\1${CFLAGS} -fno-strict-aliasing -I.|" \ -e "s|^(LDFLAGS=).*|\1${LDFLAGS}|" \ ${WRKSRC}/Makefile @${REINPLACE_CMD} -E \ -e "1s|^(#! )/usr/bin/perl|\1${PERL}|" \ ${WRKSRC}/scripts/texi2pod.pl # 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 .if !target(post-install) post-install: .if ${PORT_OPTIONS:MDOCS} @(cd ${WRKSRC} && ${COPYTREE_SHARE} docs ${STAGEDIR}${DOCSDIR}/) .endif ${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 .include Index: head/emulators/qmc2/Makefile =================================================================== --- head/emulators/qmc2/Makefile (revision 516801) +++ head/emulators/qmc2/Makefile (revision 516802) @@ -1,72 +1,72 @@ # Created by: alepulver # $FreeBSD$ PORTNAME= qmc2 PORTVERSION= 0.195 PORTREVISION= 2 CATEGORIES= emulators MASTER_SITES= SF MAINTAINER= danilo@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 gmake qt:5 tar:bzip2 +USES= compiler:c++11-lang gl gmake qt:5 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" \ 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 Index: head/emulators/quasi88/Makefile =================================================================== --- head/emulators/quasi88/Makefile (revision 516801) +++ head/emulators/quasi88/Makefile (revision 516802) @@ -1,68 +1,68 @@ # Created by: Nishika # $FreeBSD$ 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 -USES= gmake tar:tgz 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_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 Index: head/emulators/rpcs3/Makefile =================================================================== --- head/emulators/rpcs3/Makefile (revision 516801) +++ head/emulators/rpcs3/Makefile (revision 516802) @@ -1,93 +1,93 @@ # $FreeBSD$ PORTNAME= rpcs3 DISTVERSIONPREFIX= v DISTVERSION= 0.0.7-9075 # git rev-list --count HEAD DISTVERSIONSUFFIX= -g531afe0f9 CATEGORIES= emulators MAINTAINER= jbeich@FreeBSD.org COMMENT= PS3 emulator/debugger LICENSE= BSD3CLAUSE BSL GPLv2 MIT ZLIB LICENSE_COMB= multi LICENSE_FILE_BSD3CLAUSE=${WRKSRC_cereal}/LICENSE LICENSE_FILE_MIT= ${WRKSRC_GSL}/LICENSE LICENSE_FILE_ZLIB= ${WRKSRC_asmjit}/LICENSE.md LIB_DEPENDS= libpng.so:graphics/png \ libavcodec.so:multimedia/ffmpeg ONLY_FOR_ARCHS= amd64 ONLY_FOR_ARCHS_REASON= requires int128 and SSE2 USE_GITHUB= yes GH_ACCOUNT= RPCS3 GH_TUPLE= RPCS3:hidapi:hidapi-0.8.0-rc1-27-g9220f5e:hidapi/3rdparty/hidapi \ RPCS3:llvm:9836c299733e:llvm/llvm \ Cyan4973:xxHash:v0.6.5:xxHash/3rdparty/xxHash \ FNA-XNA:FAudio:19.11:FAudio/3rdparty/FAudio \ jbeder:yaml-cpp:yaml-cpp-0.6.2-23-geca9cfd:yamlcpp/3rdparty/yaml-cpp \ kobalicek:asmjit:fc251c9:asmjit/asmjit \ KhronosGroup:glslang:7.11.3214:glslang/Vulkan/glslang \ Microsoft:GSL:v2.0.0:GSL/3rdparty/GSL \ USCiLab:cereal:v1.2.0:cereal/3rdparty/cereal \ zeux:pugixml:v1.9-51-g8bf806c:pugixml/3rdparty/pugixml -USES= cmake compiler:c++17-lang iconv:wchar_t localbase:ldflags \ - openal:soft pkgconfig qt:5 +USES= cmake compiler:c++17-lang gl iconv:wchar_t localbase:ldflags \ + openal:soft pkgconfig qt:5 xorg USE_GL= gl glew USE_QT= qmake_build buildtools_build core concurrent dbus declarative gui network widgets USE_XORG= x11 CMAKE_ON= CMAKE_SKIP_RPATH USE_SYSTEM_FFMPEG USE_SYSTEM_LIBPNG CMAKE_OFF= USE_NATIVE_INSTRUCTIONS LDFLAGS+= -Wl,--as-needed # GLU # XXX Drop after FreeBSD 12.0 EOL .if exists(/usr/lib/clang/6.0.1) LLD_UNSAFE= yes # XXX ports/219089 .endif # XXX Remove after FreeBSD 11.2/12.0 reach EOL i.e., around 2020-02-01 .if make(makesum) || (!exists(/usr/include/c++/v1/charconv) && exists(/usr/lib/libc++.so)) MASTER_SITES+= https://releases.llvm.org/${LLVM_VER}/:libcxx DISTFILES+= libcxx-${LLVM_VER}.src.tar.xz:libcxx EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-no-cotire CXXFLAGS+= -nostdinc++ -isystem${WRKDIR}/libcxx-${LLVM_VER}.src/include LLVM_VER= 8.0.0 # same as FreeBSD 11.3 .endif OPTIONS_DEFINE= ALSA EVDEV FAUDIO LLVM PULSEAUDIO VULKAN OPTIONS_DEFAULT=FAUDIO LLVM VULKAN ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins ALSA_CMAKE_BOOL= USE_ALSA EVDEV_DESC= libevdev-based joystick support EVDEV_CMAKE_BOOL= USE_LIBEVDEV EVDEV_BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto EVDEV_LIB_DEPENDS= libevdev.so:devel/libevdev FAUDIO_DESC= FAudio audio support FAUDIO_LIB_DEPENDS= libFAudio.so:audio/faudio FAUDIO_CMAKE_BOOL= USE_FAUDIO LLVM_DESC= LLVM-based PPU recompiler LLVM_CMAKE_BOOL_OFF= WITHOUT_LLVM PULSEAUDIO_LIB_DEPENDS= libpulse-simple.so:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= USE_PULSE VULKAN_DESC= Vulkan renderer VULKAN_BUILD_DEPENDS= ${LOCALBASE}/include/vulkan/vulkan.h:devel/vulkan-headers VULKAN_LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader VULKAN_CMAKE_BOOL= USE_VULKAN post-patch: @${REINPLACE_CMD} -e '/GIT_BRANCH/s/unknown/master/' \ -e '/GIT_TAG/s/unknown/${GH_TAGNAME:C/-.*//}/' \ -e '/GIT_VERSION/s/unknown/${GH_TAGNAME:C/[^-]*-//}/' \ ${WRKSRC}/${PORTNAME}/git-version.cmake .include Index: head/emulators/snes9x-gtk/Makefile =================================================================== --- head/emulators/snes9x-gtk/Makefile (revision 516801) +++ head/emulators/snes9x-gtk/Makefile (revision 516802) @@ -1,92 +1,93 @@ # Created by: okeeblow # $FreeBSD$ PORTNAME= snes9x PORTVERSION= 1.54.1 PORTREVISION= 6 CATEGORIES= emulators PKGNAMESUFFIX= -gtk MAINTAINER= root@cooltrainer.org COMMENT= Super Nintendo Entertainment System (SNES) Emulator 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 compiler:c11 desktop-file-utils gettext gmake \ - localbase perl5 pkgconfig tar:bzip2 + gnome localbase perl5 pkgconfig 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 NO_CDROM= Commercial users must seek permission from copyright holders. 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 Index: head/emulators/stonx/Makefile =================================================================== --- head/emulators/stonx/Makefile (revision 516801) +++ head/emulators/stonx/Makefile (revision 516802) @@ -1,72 +1,72 @@ # Created by: Tobias Reifenberger # $FreeBSD$ 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+ 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 RESTRICTED= Contains ROM (C) by Atari TOSIMG?= tos.img -USES= fonts +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 Index: head/emulators/teo/Makefile =================================================================== --- head/emulators/teo/Makefile (revision 516801) +++ head/emulators/teo/Makefile (revision 516802) @@ -1,39 +1,39 @@ # Created by: Thomas Bernard # $FreeBSD$ 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 +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 Index: head/emulators/tuxnes/Makefile =================================================================== --- head/emulators/tuxnes/Makefile (revision 516801) +++ head/emulators/tuxnes/Makefile (revision 516802) @@ -1,46 +1,46 @@ # Created by: Jeroen Ruigrok van der Werven # $FreeBSD$ 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 +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 Index: head/emulators/vgb-bin/Makefile =================================================================== --- head/emulators/vgb-bin/Makefile (revision 516801) +++ head/emulators/vgb-bin/Makefile (revision 516802) @@ -1,39 +1,40 @@ # Created by: Mario S F Ferreira et al. # $FreeBSD$ 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) 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 Index: head/emulators/vgba-bin/Makefile =================================================================== --- head/emulators/vgba-bin/Makefile (revision 516801) +++ head/emulators/vgba-bin/Makefile (revision 516802) @@ -1,37 +1,38 @@ # Created by: Mario S F Ferreira et al. # $FreeBSD$ 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 Index: head/emulators/vice/Makefile =================================================================== --- head/emulators/vice/Makefile (revision 516801) +++ head/emulators/vice/Makefile (revision 516802) @@ -1,115 +1,115 @@ # Created by: dchapes@ddm.on.ca # $FreeBSD$ PORTNAME= vice PORTVERSION= 3.3 PORTREVISION= 5 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 BUILD_DEPENDS= bdftopcf:x11-fonts/bdftopcf \ mkfontscale:x11-fonts/mkfontscale \ xa65:devel/xa65 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 RESTRICTED= ROMs are copyrighted by Commodore Business Machines USES= compiler:c++11-lang pkgconfig makeinfo localbase:ldflags \ - gmake iconv:wchar_t jpeg readline gettext + 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+= MAKEINFOFLAGS="--no-split" CONFIGURE_ARGS+= --enable-ipv6 \ --enable-external-ffmpeg \ --mandir="${PREFIX}/man" \ --infodir="${PREFIX}/${INFO_PATH}" \ --localedir="${LOCALBASE}/share/locale" \ --disable-dependency-tracking LMLINKS= vice.1 x64.1 \ vice.1 x128.1 \ vice.1 xvic.1 \ vice.1 xpet.1 \ vice.1 xplus4.1 \ vice.1 xcbm2.1 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_CONFIGURE_ENABLE= native-gtk3ui GTK3UI_BUILD_DEPENDS= ${LOCALBASE}/bin/bash:shells/bash SDLUI2_USE= SDL=sdl2 SDLUI2_CONFIGURE_ENABLE= sdlui2 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} USE_GNOME+= gtk30 vte3 cairo gdkpixbuf2 pango USE_GL+= glu gl .endif .if ${PORT_OPTIONS:MDOCS} INFO+= vice .endif pre-configure: ${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" \ ${WRKSRC}/man/vice.1 .if ! ${PORT_OPTIONS:MDOCS} ${REINPLACE_CMD} -e 's| doc||' ${WRKSRC}/Makefile.in .endif pre-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/vice/fonts ${INSTALL_DATA} ${WRKSRC}/data/fonts/vice-cbm.bdf \ ${STAGEDIR}${PREFIX}/lib/vice/fonts/ pre-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} post-install: ( cd ${STAGEDIR}${PREFIX}/man/man1 && ${__pmlinks1} ) post-install-DOCS-on: ${LN} -sf vice_toc.html ${STAGEDIR}${DOCSDIR}/index.html .include Index: head/emulators/virtualbox-ose/Makefile =================================================================== --- head/emulators/virtualbox-ose/Makefile (revision 516801) +++ head/emulators/virtualbox-ose/Makefile (revision 516802) @@ -1,412 +1,412 @@ # Created by: Bernhard Froehlich # $FreeBSD$ PORTNAME= virtualbox-ose PORTVERSION= 5.2.34 CATEGORIES= emulators MASTER_SITES= https://download.oracle.com/virtualbox/${PORTVERSION}/ DISTFILES= VirtualBox-${PORTVERSION}${EXTRACT_SUFX} ${GUESTADDITIONS} EXTRACT_ONLY= VirtualBox-${PORTVERSION}${EXTRACT_SUFX} MAINTAINER= vbox@FreeBSD.org COMMENT= General-purpose full virtualizer for x86 hardware LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= yasm:devel/yasm \ xsltproc:textproc/libxslt \ kmk:devel/kBuild \ gtar:archivers/gtar LIB_DEPENDS= libpng.so:graphics/png \ libxslt.so:textproc/libxslt \ libcurl.so:ftp/curl RUN_DEPENDS= ${LOCALBASE}/etc/rc.d/vboxnet:emulators/virtualbox-ose-kmod CPE_VENDOR= oracle CPE_PRODUCT= vm_virtualbox WRKSRC= ${WRKDIR}/VirtualBox-${PORTVERSION} ONLY_FOR_ARCHS= i386 amd64 USES= compiler:c++14-lang cpe gnome iconv pkgconfig ssl tar:bzip2 USE_GNOME= libidl libxml2 HAS_CONFIGURE= yes CONFIGURE_ARGS= --disable-java --passive-mesa CONFIGURE_ARGS+= --with-gcc="${CC}" --with-g++="${CXX}" CONFLICTS_INSTALL= virtualbox-ose-additions-* \ virtualbox-ose-devel-[0-9]* \ virtualbox-ose-legacy-[0-9]* \ virtualbox-ose-lite-[0-9]* LDFLAGS= -lpthread VBOXUSER?= vboxusers VBOXWSUSER?= vboxusers VBOXGROUP?= vboxusers USERS= ${VBOXUSER} GROUPS= ${VBOXGROUP} VBOX_DIR= ${PREFIX}/${VBOX_DIR_REL} VBOX_DIR_REL= lib/virtualbox VBOX_LINKS= VBoxVRDP VBOX_PROGS= VBoxAutostart VBoxBalloonCtrl VBoxBugReport VBoxHeadless \ VBoxManage VBOX_UTILS= VBoxExtPackHelperApp VBoxNetAdpCtl VBoxNetDHCP VBoxNetNAT \ VBoxSVC VBoxXPCOMIPCD OPTIONS_DEFINE= ALSA DBUS DEBUG GUESTADDITIONS MANUAL NLS PULSEAUDIO \ PYTHON QT5 R0LOGGING UDPTUNNEL VDE VNC WEBSERVICE VPX X11 OPTIONS_DEFAULT= DBUS QT5 UDPTUNNEL VNC WEBSERVICE X11 OPTIONS_SUB= yes DEBUG_DESC= Debug symbols, additional logs and assertions GUESTADDITIONS_DESC= Build with Guest Additions MANUAL_DESC= Build with user manual NLS_DESC= Native language support (requires QT5) QT5_DESC= Build with QT5 frontend (requires X11) R0LOGGING_DESC= Enable R0 logging (requires DEBUG) UDPTUNNEL_DESC= Build with UDP tunnel support VDE_DESC= Build with VDE support VNC_DESC= Build with VNC support VPX_DESC= Use libvpx for video recording WEBSERVICE_DESC= Build Webservice ALSA_CONFIGURE_OFF= --disable-alsa ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib DBUS_CONFIGURE_OFF= --disable-dbus DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DEBUG_CONFIGURE_ON= --build-debug MANUAL_BUILD_DEPENDS= ${LOCALBASE}/share/xml/docbook/4.4/docbookx.dtd:textproc/docbook-xml MANUAL_CONFIGURE_OFF= --disable-docs NLS_IMPLIES= QT5 PULSEAUDIO_CONFIGURE_OFF= --disable-pulse PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PYTHON_CONFIGURE_OFF= --disable-python QT5_IMPLIES= X11 R0LOGGING_IMPLIES= DEBUG UDPTUNNEL_CONFIGURE_OFF= --disable-udptunnel VDE_CONFIGURE_ON= --enable-vde VDE_RUN_DEPENDS= vde_switch:net/vde2 VNC_CONFIGURE_ON= --enable-vnc VNC_LIB_DEPENDS= libvncserver.so:net/libvncserver VPX_CONFIGURE_OFF= --disable-libvpx VPX_LIB_DEPENDS= libvpx.so:multimedia/libvpx X11_CONFIGURE_OFF= --build-headless ENV= .export ENV PLIST_SUB= GUEST_VER=${PORTVERSION} \ PYTHON_VERU=${PYTHON_VER:S/./_/}${PYTHON_ABIVER} \ VBOXGROUP=${VBOXGROUP} SUB_LIST= VBOXDIR=${VBOX_DIR} \ VBOXGROUP=${VBOXGROUP} \ VBOXUSER=${VBOXUSER} \ VBOXWSUSER=${VBOXWSUSER} USE_RC_SUBR= vboxheadless vboxwatchdog .include .if ${SLAVE_PORT} == no CONFLICTS_INSTALL+= virtualbox-ose-nox11-[0-9]* OPTIONS_DEFAULT+= PYTHON .else CONFLICTS_INSTALL+= virtualbox-ose-[0-9]* .endif .if ${ARCH} == "amd64" _ELF32!= kldstat -q -m elf32 && echo yes || echo no .endif .if ${PORT_OPTIONS:MDEBUG} KMK_BUILDTYPE= debug KMK_FLAGS+= BUILD_TYPE=debug .else KMK_BUILDTYPE= release .endif .if ${PORT_OPTIONS:MGUESTADDITIONS} GUESTADDITIONS= VBoxGuestAdditions_${PORTVERSION}.iso RESTRICTED= for personal use only RESTRICTED_FILES= ${GUESTADDITIONS} .endif .if ${PORT_OPTIONS:MMANUAL} DBKXMLDIR= ${LOCALBASE}/share/xml/docbook/4.4 DBKXSLDIR= ${LOCALBASE}/share/xsl/docbook USE_TEX= dvipsk:build formats:build .endif .if ${PORT_OPTIONS:MPYTHON} USES+= python:2.7 USE_PYTHON= distutils noegginfo noflavors PYDISTUTILS_PKGNAME= vboxapi PYDISTUTILS_PKGVERSION= 1.0 .else USES+= python:2.7,build .endif .if ${PORT_OPTIONS:MQT5} CONFIGURE_ARGS+= --enable-qt5 PLIST_SUB+= QT="" -USES+= gl qmake:no_env qt:5 +USES+= gl qmake:no_env qt:5 xorg USE_GL= gl glu USE_QT= buildtools_build core dbus gui linguisttools_build opengl USE_QT+= printsupport widgets x11extras USE_XORG= xcb INSTALLS_ICONS= yes VBOX_PROGS+= VirtualBox VBOX_UTILS+= VBoxTestOGL VBOX_WITH_QT= 1 .else CONFIGURE_ARGS+= --disable-qt PLIST_SUB+= QT="@comment " .endif .if ${PORT_OPTIONS:MWEBSERVICE} BUILD_DEPENDS+= soapcpp2:devel/gsoap USE_RC_SUBR+= vboxwebsrv VBOX_LINKS+= vboxwebsrv VBOX_UTILS+= vboxwebsrv webtest .endif .if ${PORT_OPTIONS:MX11} USES+= sdl USE_SDL= sdl USE_XORG+= xorgproto x11 xcursor xext xinerama xmu xt VBOX_PROGS+= VBoxSDL .endif .if ${PORT_OPTIONS:MPYTHON} || ${PORT_OPTIONS:MWEBSERVICE} PLIST_SUB+= SDK="" .else PLIST_SUB+= SDK="@comment " .endif .if ${ARCH} == i386 KMK_ARCH= freebsd.x86 PLIST_SUB+= I386="" .else KMK_ARCH= freebsd.${ARCH} PLIST_SUB+= I386="@comment " .endif PLIST_SUB+= ARCH="${KMK_ARCH}" KMK_BUILDDIR= ${WRKSRC}/out/${KMK_ARCH}/${KMK_BUILDTYPE} KMK_CONFIG= VBOX_LIBPATH_X11=${LOCALBASE} VBOX_FREEBSD_SRC=${SRC_BASE}/sys KMK_FLAGS+= -j${MAKE_JOBS_NUMBER} .include .if ${COMPILER_TYPE} == clang .if ${COMPILER_VERSION} >= 80 # XXX PR236616: Clang 8 & 9 caused runtime problems. BUILD_DEPENDS+= ${LOCALBASE}/bin/clang${VBOX_LLVM_VER}:devel/llvm${VBOX_LLVM_VER} CC= ${LOCALBASE}/bin/clang${VBOX_LLVM_VER} CXX= ${LOCALBASE}/bin/clang++${VBOX_LLVM_VER} VBOX_LLVM_VER?= 70 .endif PATCH_DEPENDS+= ${LOCALBASE}/share/kBuild/tools/GXX3.kmk:devel/kBuild EXTRA_PATCHES+= ${PATCHDIR}/extrapatch-Config.kmk \ ${PATCHDIR}/extrapatch-src-VBox-Devices-PC-ipxe-Makefile.kmk \ ${PATCHDIR}/extrapatch-src-recompiler-Makefile.kmk .endif .if ${PYTHON_MAJOR_VER} >= 3 PLIST_SUB+= PYTHON_PYCDIR=/__pycache__/ \ PYTHON_PYCEXT=.cpython-${PYTHON_SUFFIX}.pyc .else PLIST_SUB+= PYTHON_PYCDIR=/ \ PYTHON_PYCEXT=.pyc .endif .if ${SSL_DEFAULT} != base CONFIGURE_ARGS+= --with-openssl-dir="${OPENSSLBASE}" .endif pre-everything:: .if ${ARCH} == "amd64" .if ${_ELF32} != yes @${ECHO_MSG} 'Requires 32-bit runtime support in kernel.' @${ECHO_MSG} 'Rebuild kernel with "options COMPAT_FREEBSD32" and reboot.' @${FALSE} .elif !exists(/usr/lib32/libc.so) @${ECHO_MSG} 'Requires 32-bit libraries installed under /usr/lib32.' @${ECHO_MSG} 'Do: cd /usr/src; make build32 install32; service ldconfig restart' @${FALSE} .endif .endif post-patch: @${ECHO_CMD} 'VBOX_PATH_APP_PRIVATE_ARCH = ${VBOX_DIR}' > \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_DOCBOOK = ${DBKXSLDIR}' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_DOCBOOK_DTD = ${DBKXMLDIR}' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_SHARED_LIBS = ${VBOX_DIR}' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_RUNPATH = ${VBOX_DIR}' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_APP_PRIVATE = ${DATADIR}' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_APP_DOCS = ${DOCSDIR}' >> ${WRKSRC}/LocalConfig.kmk .if ${SSL_DEFAULT} != base @${ECHO_CMD} 'VBOX_WITH_ALT_HASH_CODE = 1' >> ${WRKSRC}/LocalConfig.kmk .endif @${ECHO_CMD} 'VBOX_WITH_EXTPACK_VBOXDTRACE =' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_INSTALLER = 1' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_VBOXDRV =' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_TESTCASES =' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'SDK_VBOX_LIBPNG_INCS = ${PREFIX}/include/libpng' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'SDK_VBOX_LIBPNG_LIBS = png' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_ADDITIONS =' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_DRAG_AND_DROP = ${VBOX_WITH_QT}' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_DRAG_AND_DROP_GH = ${VBOX_WITH_QT}' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_VALIDATIONKIT =' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_X11_ADDITIONS =' >> ${WRKSRC}/LocalConfig.kmk .if ${PORT_OPTIONS:MR0LOGGING} @${ECHO_CMD} 'VBOX_WITH_R0_LOGGING = 1' >> ${WRKSRC}/LocalConfig.kmk .endif .if ${PORT_OPTIONS:MWEBSERVICE} @${ECHO_CMD} 'VBOX_WITH_WEBSERVICES = 1' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_GSOAP_INSTALLED = 1' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_GSOAP = ${PREFIX}/lib/gsoap' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_GSOAP_BIN = ${PREFIX}/bin' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_GSOAP_IMPORT = ${PREFIX}/share/gsoap/import' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_GCC_PEDANTIC_CXX = -Wshadow $$(VBOX_GCC_WARN) -Wno-long-long' >> \ ${WRKSRC}/LocalConfig.kmk .endif .if ${COMPILER_TYPE} == clang @${REINPLACE_CMD} -e 's| -finline-limit=8000||' \ -e 's| -mpreferred-stack-boundary=2||' ${WRKSRC}/Config.kmk @${REINPLACE_CMD} -e 's| -fpermissive||' ${WRKSRC}/Config.kmk \ ${WRKSRC}/src/VBox/Main/webservice/Makefile.kmk @${ECHO_CMD} 'TOOL_VBoxGccFreeBSD_LD = ${CXX}' >> ${WRKSRC}/LocalConfig.kmk @${SED} -e 's|GXX3|VBoxGccFreeBSD|g' \ ${LOCALBASE}/share/kBuild/tools/GXX3.kmk > \ ${WRKSRC}/tools/kBuildTools/VBoxGccFreeBSD.kmk .endif @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/Config.kmk ${WRKSRC}/configure \ ${WRKSRC}/kBuild/header.kmk ${WRKSRC}/kBuild/units/qt4.kmk \ ${WRKSRC}/kBuild/units/qt5.kmk ${WRKSRC}/kBuild/sdks/LIBSDL.kmk \ ${WRKSRC}/src/libs/xpcom18a4/python/gen_python_deps.py @${REINPLACE_CMD} \ -e 's|\$$KBUILDDIR_BIN/kmk_sed|${LOCALBASE}/bin/kmk_sed|g' \ -e 's|SUPPYTHONLIBS=.*|SUPPYTHONLIBS="${PYTHON_VERSION}${PYTHON_ABIVER}"|' \ ${WRKSRC}/configure .if empty(ICONV_LIB) @${REINPLACE_CMD} -e 's|iconv||' ${WRKSRC}/Config.kmk \ ${WRKSRC}/src/VBox/Runtime/Makefile.kmk @${ECHO_CMD} 'VBOX_ICONV_DEFS = LIBICONV_PLUG' >> ${WRKSRC}/LocalConfig.kmk .endif @${REINPLACE_CMD} -e 's|/usr/local/lib/virtualbox|${VBOX_DIR}|' \ -e 's|/usr/local|${PREFIX}|' \ ${WRKSRC}/src/VBox/Installer/freebsd/VBox.sh @${REINPLACE_CMD} \ -e 's|^versions =.*|versions = ["${PYTHON_VER}${PYTHON_ABIVER}"]|' \ ${WRKSRC}/src/libs/xpcom18a4/python/gen_python_deps.py do-build: cd ${WRKSRC} && ${SH} -c '. ${WRKSRC}/env.sh && \ ${KMK_CONFIG} ${LOCALBASE}/bin/kmk ${KMK_FLAGS}' .if ${PORT_OPTIONS:MPYTHON} ${PYTHON_CMD} -mcompileall \ ${KMK_BUILDDIR}/bin/sdk/bindings/xpcom/python/xpcom .endif do-install: .if ${PORT_OPTIONS:MPYTHON} || ${PORT_OPTIONS:MWEBSERVICE} ${MKDIR} ${STAGEDIR}${DATADIR}/sdk .endif cd ${KMK_BUILDDIR}/bin/sdk/bindings/xpcom && \ ${COPYTREE_SHARE} "idl samples" ${STAGEDIR}${DATADIR} ${MKDIR} ${STAGEDIR}${PREFIX}/include/virtualbox cd ${KMK_BUILDDIR}/bin/sdk/bindings/xpcom/include && \ ${COPYTREE_SHARE} "*" ${STAGEDIR}${PREFIX}/include/virtualbox ${MKDIR} ${STAGEDIR}${VBOX_DIR} cd ${KMK_BUILDDIR}/bin && ${COPYTREE_SHARE} \ "*.fd *.r0 *.rc *.so components" ${STAGEDIR}${VBOX_DIR} .if ${PORT_OPTIONS:MPYTHON} || ${PORT_OPTIONS:MWEBSERVICE} ${RLN} ${STAGEDIR}${DATADIR}/sdk ${STAGEDIR}${VBOX_DIR} .endif ${INSTALL_SCRIPT} ${WRKSRC}/src/VBox/Installer/freebsd/VBox.sh \ ${STAGEDIR}${VBOX_DIR} .for f in ${VBOX_PROGS} ${VBOX_UTILS} ${INSTALL_PROGRAM} ${KMK_BUILDDIR}/bin/${f} ${STAGEDIR}${VBOX_DIR} .endfor .for f in ${VBOX_PROGS} ${VBOX_LINKS} ${LN} -fs ../${VBOX_DIR_REL}/VBox.sh ${STAGEDIR}${PREFIX}/bin/${f} .endfor .for f in ${VBOX_PROGS} ${LN} -fs ../${VBOX_DIR_REL}/VBox.sh ${STAGEDIR}${PREFIX}/bin/${f:tl} .endfor .if ${PORT_OPTIONS:MGUESTADDITIONS} ${MKDIR} ${STAGEDIR}${VBOX_DIR}/additions ${INSTALL_DATA} ${DISTDIR}/${GUESTADDITIONS} \ ${STAGEDIR}${VBOX_DIR}/additions/ ${RLN} ${STAGEDIR}${VBOX_DIR}/additions/${GUESTADDITIONS} \ ${STAGEDIR}${VBOX_DIR}/additions/VBoxGuestAdditions.iso .endif .if ${PORT_OPTIONS:MMANUAL} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${KMK_BUILDDIR}/bin/UserManual*.pdf \ ${STAGEDIR}${DOCSDIR} .endif .if ${PORT_OPTIONS:MNLS} cd ${KMK_BUILDDIR}/obj/VirtualBox/qtnls && \ ${COPYTREE_SHARE} "*.qm" ${STAGEDIR}${DATADIR}/nls .endif .if ${PORT_OPTIONS:MPYTHON} cd ${KMK_BUILDDIR}/bin/sdk/installer && \ ${SETENV} VBOX_INSTALL_PATH="${VBOX_DIR}" \ ${PYTHON_CMD} vboxapisetup.py install --root=${STAGEDIR} @${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/xpcom cd ${KMK_BUILDDIR}/bin/sdk/bindings/xpcom/python/xpcom && \ ${COPYTREE_SHARE} "*" ${STAGEDIR}${PYTHON_SITELIBDIR}/xpcom @${MKDIR} ${STAGEDIR}${DATADIR}/sdk/bindings/xpcom/python ${RLN} ${STAGEDIR}${PYTHON_SITELIBDIR}/xpcom \ ${STAGEDIR}${DATADIR}/sdk/bindings/xpcom/python .endif .if ${PORT_OPTIONS:MQT5} ${INSTALL_DATA} \ ${WRKSRC}/src/VBox/Frontends/VirtualBox/images/OSE/VirtualBox_48px.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/VBox.png ${INSTALL_DATA} \ ${WRKSRC}/src/VBox/Installer/freebsd/virtualbox.desktop \ ${STAGEDIR}${PREFIX}/share/applications/virtualbox.desktop .endif .if ${PORT_OPTIONS:MVNC} ${MKDIR} ${STAGEDIR}${VBOX_DIR}/ExtensionPacks/VNC/${KMK_ARCH} ${INSTALL_DATA} ${KMK_BUILDDIR}/bin/ExtensionPacks/VNC/ExtPack* \ ${STAGEDIR}${VBOX_DIR}/ExtensionPacks/VNC/ ${INSTALL_LIB} ${KMK_BUILDDIR}/bin/ExtensionPacks/VNC/${KMK_ARCH}/* \ ${STAGEDIR}${VBOX_DIR}/ExtensionPacks/VNC/${KMK_ARCH}/ .endif .if ${PORT_OPTIONS:MWEBSERVICE} ${MKDIR} ${STAGEDIR}${DATADIR}/sdk/bindings/webservice ${INSTALL_DATA} ${KMK_BUILDDIR}/obj/webservice/vboxweb.wsdl \ ${STAGEDIR}${DATADIR}/sdk/bindings/webservice/ .endif .include Index: head/emulators/visualboyadvance-m/Makefile =================================================================== --- head/emulators/visualboyadvance-m/Makefile (revision 516801) +++ head/emulators/visualboyadvance-m/Makefile (revision 516802) @@ -1,101 +1,102 @@ # Created by: Nicole Reid # $FreeBSD$ PORTNAME= visualboyadvance-m PORTVERSION= 2.0.0b2 PORTREVISION= 10 CATEGORIES= emulators MAINTAINER= root@cooltrainer.org COMMENT= Game Boy Advance emulator with GTK frontend LICENSE= GPLv2 LIB_DEPENDS= libpng.so:graphics/png 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 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) DOS2UNIX_REGEX= .*\.(c|cpp|h|ypp) USE_XORG= x11 xext USE_GL= gl glu USE_SDL= sdl -USES= compiler:c++11-lang cmake:insource,noninja dos2unix gnome gl pkgconfig +USES= compiler:c++11-lang cmake:insource,noninja dos2unix gnome gl \ + pkgconfig xorg INSTALLS_ICONS= yes CMAKE_ARGS= -DVERSION:STRING="${PORTVERSION}" \ -DSYSCONFDIR:STRING="${PREFIX}/etc" \ -DENABLE_WX:BOOL=no 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 gnome 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 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 Index: head/emulators/wxmupen64plus/Makefile =================================================================== --- head/emulators/wxmupen64plus/Makefile (revision 516801) +++ head/emulators/wxmupen64plus/Makefile (revision 516802) @@ -1,60 +1,60 @@ # Created by: Alonso Cardenas Marquez # $FreeBSD$ PORTNAME= wxmupen64plus PORTVERSION= 0.3 PORTREVISION= 10 CATEGORIES= emulators MASTER_SITES= https://bitbucket.org/auria/wxmupen64plus/get/ DISTNAME= ${PORTVERSION} DIST_SUBDIR= ${PORTNAME:S/wx//} MAINTAINER= acm@FreeBSD.org COMMENT= Mupen64Plus 2.0 GUI frontend written using wxWidgets LICENSE= GPLv2+ LGPL3+ CC-BY-SA-3.0 PD LICENSE_COMB= multi LIB_DEPENDS= libmupen64plus.so.2:emulators/mupen64plus-core RUN_DEPENDS= ${LOCALBASE}/lib/libmupen64plus.so.2:emulators/mupen64plus-core \ ${LOCALBASE}/lib/mupen64plus/mupen64plus-audio-sdl.so:emulators/mupen64plus-audio-sdl \ ${LOCALBASE}/lib/mupen64plus/mupen64plus-input-sdl.so:emulators/mupen64plus-input-sdl \ ${LOCALBASE}/lib/mupen64plus/mupen64plus-rsp-hle.so:emulators/mupen64plus-rsp-hle \ ${LOCALBASE}/lib/mupen64plus/mupen64plus-video-rice.so:emulators/mupen64plus-video-rice \ mupen64plus:emulators/mupen64plus-ui-console WRKSRC= ${WRKDIR}/auria-${PORTNAME}-0564db396383 -USES= compiler:c++11-lib gl python:2.7 sdl +USES= compiler:c++11-lib gl python:2.7 sdl xorg USE_CXXSTD= c++11 USE_SDL= sdl USE_GL= gl USE_XORG= x11 USE_WX= 3.0 WAF_SCRIPT= waf post-patch: @${REINPLACE_CMD} -e 's|%%CC%%|${CC}|g' -e 's|%%CXX%%|${CXX}|g' -e \ 's|version=2.9|version=${WX_VERSION}|g' ${WRKSRC}/wscript do-configure: @cd ${WRKSRC} && \ ${SETENV} CC="${CC}" CPP="${CPP}" CXX="${CXX}" \ CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" CXXFLAGS="${CXXFLAGS}" \ LDFLAGS="${LDFLAGS}" ${PYTHON_CMD} ${WAF_SCRIPT} \ configure --mupenapi=${LOCALBASE}/include/${PORTNAME:S/wx//} \ --wxconfig=${WX_CONFIG} \ --sdlconfig=${SDL_CONFIG} \ --datadir=${DATADIR} \ --libdir=${LOCALBASE}/lib/${PORTNAME:S/wx//} do-build: @cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${WAF_SCRIPT} do-install: @${MKDIR} ${STAGEDIR}${DATADIR} @cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} ${INSTALL_PROGRAM} ${WRKSRC}/build/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include Index: head/emulators/x48/Makefile =================================================================== --- head/emulators/x48/Makefile (revision 516801) +++ head/emulators/x48/Makefile (revision 516802) @@ -1,58 +1,58 @@ # Created by: Eric L. Hernes # $FreeBSD$ 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 +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 Index: head/emulators/x49gp/Makefile =================================================================== --- head/emulators/x49gp/Makefile (revision 516801) +++ head/emulators/x49gp/Makefile (revision 516802) @@ -1,101 +1,101 @@ # Created by: Shaun Amott # $FreeBSD$ # 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= any USE_XORG= x11 USE_GNOME= gtk20 -USES= gmake pkgconfig 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 Index: head/emulators/xbraitenberg/Makefile =================================================================== --- head/emulators/xbraitenberg/Makefile (revision 516801) +++ head/emulators/xbraitenberg/Makefile (revision 516802) @@ -1,24 +1,25 @@ # Created by: krion # $FreeBSD$ 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 Index: head/emulators/xcpc/Makefile =================================================================== --- head/emulators/xcpc/Makefile (revision 516801) +++ head/emulators/xcpc/Makefile (revision 516802) @@ -1,59 +1,59 @@ # Created by: joerg # $FreeBSD$ 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 iconv pkgconfig +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 Index: head/emulators/xhomer/Makefile =================================================================== --- head/emulators/xhomer/Makefile (revision 516801) +++ head/emulators/xhomer/Makefile (revision 516802) @@ -1,41 +1,41 @@ # Created by: trasz # $FreeBSD$ 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 +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 Index: head/emulators/xsystem35/Makefile =================================================================== --- head/emulators/xsystem35/Makefile (revision 516801) +++ head/emulators/xsystem35/Makefile (revision 516802) @@ -1,67 +1,68 @@ # Created by: Seiichirou Hiraoka # $FreeBSD$ 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 +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 Index: head/emulators/xzx/Makefile =================================================================== --- head/emulators/xzx/Makefile (revision 516801) +++ head/emulators/xzx/Makefile (revision 516802) @@ -1,37 +1,37 @@ # Created by: Sheldon Hearn # $FreeBSD$ 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 RESTRICTED= Redistribution forbidden by license -USES= imake:env motif +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