aboutsummaryrefslogtreecommitdiff
path: root/games/xmemory
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-11-13 20:06:15 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-11-13 20:06:15 +0000
commit3654c7a53ffe1dd4a212c779a3004cca7390657d (patch)
tree619f3da76a6abe5dec9fdd52667b5be58a0cf8eb /games/xmemory
parentef2281b771d47590616fdbf7663acb3dee85d31e (diff)
downloadports-3654c7a53ffe1dd4a212c779a3004cca7390657d.tar.gz
ports-3654c7a53ffe1dd4a212c779a3004cca7390657d.zip
- Add stage support
Notes
Notes: svn path=/head/; revision=333723
Diffstat (limited to 'games/xmemory')
-rw-r--r--games/xmemory/Makefile8
-rw-r--r--games/xmemory/pkg-plist1
2 files changed, 4 insertions, 5 deletions
diff --git a/games/xmemory/Makefile b/games/xmemory/Makefile
index d4d580fa00b4..3c5c109cc45a 100644
--- a/games/xmemory/Makefile
+++ b/games/xmemory/Makefile
@@ -14,13 +14,11 @@ COMMENT= Multi-player memory game
USES= imake
USE_XORG= x11 xext
-MAN1= xmemory.1
-NO_STAGE= yes
post-install:
- @${MKDIR} ${LOCALBASE}/lib/X11/xmemory
+ @${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/xmemory
${INSTALL_DATA} ${WRKSRC}/home.mem ${WRKSRC}/sports.mem \
- ${LOCALBASE}/lib/X11/xmemory
- ${LN} -sf home.mem ${LOCALBASE}/lib/X11/xmemory/default.mem
+ ${STAGEDIR}${PREFIX}/lib/X11/xmemory
+ ${LN} -sf home.mem ${STAGEDIR}${PREFIX}/lib/X11/xmemory/default.mem
.include <bsd.port.mk>
diff --git a/games/xmemory/pkg-plist b/games/xmemory/pkg-plist
index c015ec9b6f0d..080527f5ce11 100644
--- a/games/xmemory/pkg-plist
+++ b/games/xmemory/pkg-plist
@@ -1,4 +1,5 @@
bin/xmemory
+man/man1/xmemory.1.gz
lib/X11/xmemory/sports.mem
lib/X11/xmemory/home.mem
@exec ln -sf %f %B/default.mem