aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-11-20 03:32:49 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-11-20 03:32:49 +0000
commita23491a0ea0e104b99a0c64b1e7ed3381027dfd9 (patch)
tree0fccd4c1a9899260219bdb84ecf8d82d6edaf5b6
parent0e32df5cc50b7e539e58a7e3e529ab942faceadd (diff)
downloadports-a23491a0ea0e104b99a0c64b1e7ed3381027dfd9.tar.gz
ports-a23491a0ea0e104b99a0c64b1e7ed3381027dfd9.zip
Notes
-rw-r--r--games/corewars/Makefile14
-rw-r--r--games/corewars/pkg-plist2
2 files changed, 5 insertions, 11 deletions
diff --git a/games/corewars/Makefile b/games/corewars/Makefile
index 87859153525d..b33a5c3dd935 100644
--- a/games/corewars/Makefile
+++ b/games/corewars/Makefile
@@ -18,19 +18,11 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.if defined(.PARSEDIR)
-USE_GMAKE= yes
+USES= gmake
.endif
-MAN6= corewars.6
-MLINKS= corewars.6 corewars-cmd.6
-
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/games/corewars/pkg-plist b/games/corewars/pkg-plist
index b983ce5588bf..38d2504c802d 100644
--- a/games/corewars/pkg-plist
+++ b/games/corewars/pkg-plist
@@ -1,5 +1,7 @@
bin/corewars
bin/corewars-cmd
+man/man6/corewars-cmd.6.gz
+man/man6/corewars.6.gz
%%DATADIR%%/abez.cw
%%DATADIR%%/agent.cw
%%DATADIR%%/backspawner.cw