diff options
author | danilo <danilo@FreeBSD.org> | 2013-11-05 00:39:45 +0000 |
---|---|---|
committer | danilo <danilo@FreeBSD.org> | 2013-11-05 00:39:45 +0000 |
commit | 7deccec9b24f3b9b966389b0f9ad0a27d204ccec (patch) | |
tree | 728799cca3fc836880aec5b57bd35564a14232f3 | |
parent | 6f4dd3740319ab8db355ed3701f343a8c068f7ce (diff) | |
download | FreeBSD-ports-7deccec9b24f3b9b966389b0f9ad0a27d204ccec.zip FreeBSD-ports-7deccec9b24f3b9b966389b0f9ad0a27d204ccec.tar.gz |
- Convert USE_GMAKE to USES
- Add DOCS option
- Add stage support
-rw-r--r-- | games/phalanx/Makefile | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/games/phalanx/Makefile b/games/phalanx/Makefile index 70c2249..db5ce8c 100644 --- a/games/phalanx/Makefile +++ b/games/phalanx/Makefile @@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING WRKSRC= ${WRKDIR}/${DISTNAME:S/-beta//} -USE_GMAKE= yes +USES= gmake MAKEFILE= makefile MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" ALL_TARGET= # empty @@ -34,16 +34,15 @@ PLIST_FILES= bin/phalanx \ %%DATADIR%%/sbook.phalanx PLIST_DIRS= %%DATADIR%% -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/phalanx ${PREFIX}/bin - @${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/*.phalanx ${DATADIR} -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/phalanx ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/*.phalanx ${STAGEDIR}${DATADIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include <bsd.port.mk> |