aboutsummaryrefslogtreecommitdiff
path: root/games/phalanx
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-11-05 00:39:45 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-11-05 00:39:45 +0000
commit94c202ef760f359f86fe3f8eb7f6476fbdabca6f (patch)
tree728799cca3fc836880aec5b57bd35564a14232f3 /games/phalanx
parentf9f580c14e09ec8675ee021f713b70188dce0f66 (diff)
downloadports-94c202ef760f359f86fe3f8eb7f6476fbdabca6f.tar.gz
ports-94c202ef760f359f86fe3f8eb7f6476fbdabca6f.zip
Notes
Diffstat (limited to 'games/phalanx')
-rw-r--r--games/phalanx/Makefile17
1 files changed, 8 insertions, 9 deletions
diff --git a/games/phalanx/Makefile b/games/phalanx/Makefile
index 70c2249fd34b..db5ce8c8fb9d 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>