Index: head/games/jfsw/Makefile =================================================================== --- head/games/jfsw/Makefile (revision 497645) +++ head/games/jfsw/Makefile (revision 497646) @@ -1,64 +1,65 @@ # Created by: Ganael Laplanche # $FreeBSD$ PORTNAME= jfsw PORTVERSION= 20131019 PORTREVISION= 2 CATEGORIES= games MAINTAINER= martymac@FreeBSD.org COMMENT= Jonathon Fowler's Shadow Warrior Port LICENSE= GPLv2 BuildLic LICENSE_COMB= multi LICENSE_NAME_BuildLic= Build source code license LICENSE_FILE_BuildLic= ${WRKSRC}/jfbuild/buildlic.txt LICENSE_PERMS_BuildLic= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept LIB_DEPENDS= libvorbisfile.so:audio/libvorbis -USES= alias dos2unix gl gmake gnome pkgconfig:build +USES= alias compiler:c++11-lang dos2unix gl gmake gnome \ + pkgconfig:build DOS2UNIX_REGEX= .*(\.(c|h)|Makefile)(\.deps)? USE_GITHUB= yes GH_ACCOUNT= jonof GH_PROJECT= jfbuild:build jfaudiolib:audio jfmact:mact GH_TAGNAME= 5cff6a81708ff053b569ba4400fba073afe207fe \ a73583184aca466cebde152db2ce1020591d7049:build \ a39ccf5e95961952d27754a255940be1d76ce85e:audio \ b1071da75cd465f59257240e5dbc60a014580190:mact GH_SUBDIR= jfbuild:build jfaudiolib:audio jfmact:mact USE_GL= gl USE_GNOME= gtk20 USE_SDL= mixer sdl NO_CDROM= Must be distributed only through the Internet and free of charge MAKE_ENV+= DATADIR="${DATADIR}" \ NOASM=1 \ LINKED_GTK=1 SUB_FILES= pkg-message PORTDOCS= readme.txt releasenotes.html OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} 's|/usr/X11R6|${LOCALBASE}|' \ ${WRKSRC}/jfbuild/Makefile @${REINPLACE_CMD} 's|sdl-config|${SDL_CONFIG}|' \ ${WRKSRC}/Makefile \ ${WRKSRC}/jfbuild/Makefile.shared @${REINPLACE_CMD} 's|/usr|${LOCALBASE}|' \ ${WRKSRC}/jfaudiolib/src/driver_fluidsynth.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/sw ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_PROGRAM} ${WRKSRC}/build ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-build ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} ${MKDIR} ${STAGEDIR}${DATADIR} .include