mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
ea8c8ec7da
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, everything INDEX-11 shows with a dependency on lang/gcc9 now. PR: 238330
66 lines
1.8 KiB
Makefile
66 lines
1.8 KiB
Makefile
# Created by: Ganael Laplanche <ganael.laplanche@martymac.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= jfsw
|
|
PORTVERSION= 20131019
|
|
PORTREVISION= 3
|
|
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 compiler:c++11-lang dos2unix gl gmake gnome \
|
|
pkgconfig:build sdl
|
|
USE_GL= gl
|
|
USE_GNOME= gtk20
|
|
USE_SDL= mixer sdl
|
|
|
|
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
|
|
|
|
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 <bsd.port.mk>
|