aboutsummaryrefslogtreecommitdiff
path: root/games/crafty-open-medium
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-03-17 07:47:19 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-03-17 07:47:19 +0000
commite98445c084a0dbcdb8aa57cf3d98473e42c79e4b (patch)
treef5504031d14056f8eac32fb345acbee0cfe4465f /games/crafty-open-medium
parentcd649878dfaec072fa9de6fb5d034420eadf64d1 (diff)
downloadports-e98445c084a0dbcdb8aa57cf3d98473e42c79e4b.tar.gz
ports-e98445c084a0dbcdb8aa57cf3d98473e42c79e4b.zip
Notes
Diffstat (limited to 'games/crafty-open-medium')
-rw-r--r--games/crafty-open-medium/Makefile10
-rw-r--r--games/crafty-open-medium/pkg-plist1
2 files changed, 6 insertions, 5 deletions
diff --git a/games/crafty-open-medium/Makefile b/games/crafty-open-medium/Makefile
index 5048cd342a9a..c450acacdfe7 100644
--- a/games/crafty-open-medium/Makefile
+++ b/games/crafty-open-medium/Makefile
@@ -20,7 +20,6 @@ USES= zip
NO_WRKSUBDIR= yes
CONFLICTS= crafty-open-enormous-* crafty-open-large-* crafty-open-default-*
-NO_STAGE= yes
do-build:
@${ECHO_MSG} '================================================================'
@${ECHO_MSG} 'Ignore warnings about illegal moves. These warnings are normal.'
@@ -28,9 +27,10 @@ do-build:
(${CHOWN} nobody ${WRKDIR}; cd ${WRKDIR}; crafty <${FILESDIR}/book-building)
do-install:
- ${MKDIR} ${PREFIX}/lib/crafty
- ${INSTALL_DATA} ${WRKDIR}/book.bin ${PREFIX}/lib/crafty/book.bin
- ${CHOWN} nobody:nogroup ${PREFIX}/lib/crafty/book.bin
- ${CHMOD} 664 ${PREFIX}/lib/crafty/book.bin
+ @${MKDIR} ${STAGEDIR}${PREFIX}/lib/crafty
+ ${INSTALL_DATA} ${WRKDIR}/book.bin \
+ ${STAGEDIR}${PREFIX}/lib/crafty/book.bin
+ ${CHOWN} nobody:nogroup ${STAGEDIR}${PREFIX}/lib/crafty/book.bin
+ ${CHMOD} 664 ${STAGEDIR}${PREFIX}/lib/crafty/book.bin
.include <bsd.port.mk>
diff --git a/games/crafty-open-medium/pkg-plist b/games/crafty-open-medium/pkg-plist
index 2e625dd0e594..bb5658da5ab7 100644
--- a/games/crafty-open-medium/pkg-plist
+++ b/games/crafty-open-medium/pkg-plist
@@ -1 +1,2 @@
lib/crafty/book.bin
+@dirrmtry lib/crafty