diff options
author | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2013-10-30 17:46:53 +0000 |
---|---|---|
committer | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2013-10-30 17:46:53 +0000 |
commit | 7effb2dc8d409dedd79ecda8510c629e7266d139 (patch) | |
tree | f1d04e75ceba03b3d06e0f19da71a57abf475355 /games/cosmo | |
parent | 1be5be995b08451a6d8fe2e0b8b2fa3fb2db9749 (diff) | |
download | ports-7effb2dc8d409dedd79ecda8510c629e7266d139.tar.gz ports-7effb2dc8d409dedd79ecda8510c629e7266d139.zip |
Notes
Diffstat (limited to 'games/cosmo')
-rw-r--r-- | games/cosmo/Makefile | 12 | ||||
-rw-r--r-- | games/cosmo/pkg-plist | 10 |
2 files changed, 15 insertions, 7 deletions
diff --git a/games/cosmo/Makefile b/games/cosmo/Makefile index e154e32bfcf3..c183018c772d 100644 --- a/games/cosmo/Makefile +++ b/games/cosmo/Makefile @@ -26,12 +26,12 @@ USES= imake:notall USE_XORG= x11 xext NO_INSTALL_MANPAGES= yes -NO_STAGE= yes -post-install: - ${INSTALL_DATA} ${WRKSRC}/cosmorc ${PREFIX}/lib/X11/cosmo +do-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/cosmo + ${INSTALL_PROGRAM} ${WRKSRC}/cosmo ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/cosmorc ${STAGEDIR}${PREFIX}/lib/X11/cosmo + ${ECHO} > ${STAGEDIR}${PREFIX}/lib/X11/cosmo/best.dat ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/moon.tif.gz \ - ${PREFIX}/lib/X11/cosmo - ${CHOWN} root:games ${PREFIX}/bin/cosmo - ${CHMOD} g+s ${PREFIX}/bin/cosmo + ${STAGEDIR}${PREFIX}/lib/X11/cosmo .include <bsd.port.mk> diff --git a/games/cosmo/pkg-plist b/games/cosmo/pkg-plist index 3625d92a13df..65d0eac4a7f0 100644 --- a/games/cosmo/pkg-plist +++ b/games/cosmo/pkg-plist @@ -1,5 +1,13 @@ +@group games +@mode 2555 bin/cosmo -lib/X11/cosmo/cosmorc +@mode +@mode 664 lib/X11/cosmo/best.dat +@mode +@group +lib/X11/cosmo/cosmorc lib/X11/cosmo/moon.tif.gz +@mode 711 @dirrm lib/X11/cosmo +@mode |