diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2010-03-05 17:11:14 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2010-03-05 17:11:14 +0000 |
commit | 49db52e0c744e473d8120076d8a0b924afc7d754 (patch) | |
tree | 2d1b198922d8ba79b96fff6891d5b8326cf1dd4b /games | |
parent | 8bce1228d888604b850cf3c037cb48ce52927d62 (diff) | |
download | ports-49db52e0c744e473d8120076d8a0b924afc7d754.tar.gz ports-49db52e0c744e473d8120076d8a0b924afc7d754.zip |
Notes
Diffstat (limited to 'games')
-rw-r--r-- | games/goonies/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/games/goonies/Makefile b/games/goonies/Makefile index 7905671ae51f..0d8a5b1d3ecf 100644 --- a/games/goonies/Makefile +++ b/games/goonies/Makefile @@ -28,9 +28,13 @@ MAKE_ENV= DATADIR="${DATADIR}" DATADIRS= sound graphics maps PORTDOCS= * +.include <bsd.port.pre.mk> + post-patch: +.if ${OSVERSION} < 800501 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900006) @${REINPLACE_CMD} -e 's|__APPLE__|__FreeBSD__|' \ ${WRKSRC}/src/SFXManager.cpp +.endif @${REINPLACE_CMD} -e 's|sound/|${DATADIR}/sound/|g' \ ${WRKSRC}/src/SFXManager.cpp @${REINPLACE_CMD} -e 's|graphics/|${DATADIR}/graphics/|g' \ @@ -49,4 +53,4 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}/ .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |