diff options
author | danilo <danilo@FreeBSD.org> | 2013-11-16 09:04:26 +0800 |
---|---|---|
committer | danilo <danilo@FreeBSD.org> | 2013-11-16 09:04:26 +0800 |
commit | d3cb20520e3e2f021c564a32c6a772dda496769d (patch) | |
tree | f5fa35a9d48e9b5c40a7408ab9c29c9f3db75a37 /games/xsokoban | |
parent | a0969373556f997ac2d234266396a99a401fbde1 (diff) | |
download | freebsd-ports-gnome-d3cb20520e3e2f021c564a32c6a772dda496769d.tar.gz freebsd-ports-gnome-d3cb20520e3e2f021c564a32c6a772dda496769d.tar.zst freebsd-ports-gnome-d3cb20520e3e2f021c564a32c6a772dda496769d.zip |
- Add stage support
Diffstat (limited to 'games/xsokoban')
-rw-r--r-- | games/xsokoban/Makefile | 21 | ||||
-rw-r--r-- | games/xsokoban/pkg-plist | 1 |
2 files changed, 10 insertions, 12 deletions
diff --git a/games/xsokoban/Makefile b/games/xsokoban/Makefile index afb0b64e1866..727b2dab132c 100644 --- a/games/xsokoban/Makefile +++ b/games/xsokoban/Makefile @@ -15,22 +15,19 @@ USES= imake USE_XORG= xpm WRKSRC= ${WRKDIR}/xsokoban ALL_TARGET= xsokoban -MAN1= xsokoban.1 -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/config.h post-install: - @${MKDIR} ${PREFIX}/lib/X11/xsokoban/scores \ - ${PREFIX}/lib/X11/xsokoban/bitmaps/defaults \ - ${PREFIX}/lib/X11/xsokoban/saves \ - ${PREFIX}/lib/X11/xsokoban/screens - @${CHMOD} 777 ${PREFIX}/lib/X11/xsokoban/scores - @${CHMOD} 775 ${PREFIX}/lib/X11/xsokoban/saves - @${INSTALL_DATA} ${WRKSRC}/screens/* ${PREFIX}/lib/X11/xsokoban/screens - @${INSTALL_DATA} ${WRKSRC}/bitmaps/defaults/* \ - ${PREFIX}/lib/X11/xsokoban/bitmaps/defaults - @${CAT} ${PKGMESSAGE} + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/xsokoban/scores \ + ${STAGEDIR}${PREFIX}/lib/X11/xsokoban/bitmaps/defaults \ + ${STAGEDIR}${PREFIX}/lib/X11/xsokoban/saves \ + ${STAGEDIR}${PREFIX}/lib/X11/xsokoban/screens + @${CHMOD} 777 ${STAGEDIR}${PREFIX}/lib/X11/xsokoban/scores + @${CHMOD} 775 ${STAGEDIR}${PREFIX}/lib/X11/xsokoban/saves + ${INSTALL_DATA} ${WRKSRC}/screens/* ${STAGEDIR}${PREFIX}/lib/X11/xsokoban/screens + ${INSTALL_DATA} ${WRKSRC}/bitmaps/defaults/* \ + ${STAGEDIR}${PREFIX}/lib/X11/xsokoban/bitmaps/defaults .include <bsd.port.mk> diff --git a/games/xsokoban/pkg-plist b/games/xsokoban/pkg-plist index aaa42fd3158c..d746ac0ac6e8 100644 --- a/games/xsokoban/pkg-plist +++ b/games/xsokoban/pkg-plist @@ -1,4 +1,5 @@ bin/xsokoban +man/man1/xsokoban.1.gz lib/X11/xsokoban/bitmaps/defaults/centerwall.xbm lib/X11/xsokoban/bitmaps/defaults/centerwall.xpm lib/X11/xsokoban/bitmaps/defaults/east_twall.xbm |