diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2014-05-11 09:47:06 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2014-05-11 09:47:06 +0800 |
commit | 7ac7b6a82ca9a141f833e20f6f10cbd302840f52 (patch) | |
tree | 5a2237c719ec8ddcb4a44cce492ec52c3f914fac /games | |
parent | 5e1ba9e294d3783875dc6c19451d1e68da076373 (diff) | |
download | freebsd-ports-gnome-7ac7b6a82ca9a141f833e20f6f10cbd302840f52.tar.gz freebsd-ports-gnome-7ac7b6a82ca9a141f833e20f6f10cbd302840f52.tar.zst freebsd-ports-gnome-7ac7b6a82ca9a141f833e20f6f10cbd302840f52.zip |
- Support staging
- Convert USE_GMAKE to USES
- Use new LIB_DEPENDS syntax
Diffstat (limited to 'games')
-rw-r--r-- | games/cultivation/Makefile | 28 |
1 files changed, 10 insertions, 18 deletions
diff --git a/games/cultivation/Makefile b/games/cultivation/Makefile index e408ca615e22..c5c2d6c001c8 100644 --- a/games/cultivation/Makefile +++ b/games/cultivation/Makefile @@ -11,11 +11,11 @@ DISTNAME= Cultivation_${PORTVERSION}_UnixSource MAINTAINER= amdmi3@FreeBSD.org COMMENT= Unique game of conflict and cooperation in a gardening community -LIB_DEPENDS= portaudio:${PORTSDIR}/audio/portaudio +LIB_DEPENDS= libportaudio.so.0:${PORTSDIR}/audio/portaudio +USES= gmake USE_XORG= x11 xi xext xmu USE_GL= glut -USE_GMAKE= yes WRKSRC= ${WRKDIR}/${DISTNAME}/game2 BUILD_WRKSRC= ${WRKSRC}/gameSource @@ -23,12 +23,8 @@ MAKE_ARGS= CXX=${CXX} PORTDOCS= changeLog.txt how_to_play.txt -NO_STAGE= yes - OPTIONS_DEFINE= DOCS -.include <bsd.port.options.mk> - post-patch: @cd ${WRKSRC} && ${CAT} Makefile.GnuLinux Makefile.common \ ../minorGems/build/Makefile.minorGems gameSource/Makefile.all \ @@ -41,19 +37,15 @@ post-patch: ${WRKSRC}/../minorGems/util/TranslationManager.cpp do-install: - ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/Cultivation ${PREFIX}/bin - ${MKDIR} ${DATADIR}/languages - ${INSTALL_DATA} ${BUILD_WRKSRC}/font.tga ${DATADIR} - ${INSTALL_DATA} ${BUILD_WRKSRC}/features.txt ${DATADIR} - ${INSTALL_DATA} ${BUILD_WRKSRC}/language.txt ${DATADIR} - ${INSTALL_DATA} ${BUILD_WRKSRC}/languages/* ${DATADIR}/languages - -post-install: -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} + ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/Cultivation ${STAGEDIR}${PREFIX}/bin + ${MKDIR} ${STAGEDIR}${DATADIR}/languages + ${INSTALL_DATA} ${BUILD_WRKSRC}/font.tga ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${BUILD_WRKSRC}/features.txt ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${BUILD_WRKSRC}/language.txt ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${BUILD_WRKSRC}/languages/* ${STAGEDIR}${DATADIR}/languages + ${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/documentation/${f} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/documentation/${f} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include <bsd.port.mk> |