svn commit: r332157 - head/games/cosmo
Danilo Egea Gondolfo
danilo at FreeBSD.org
Wed Oct 30 17:46:54 UTC 2013
Author: danilo
Date: Wed Oct 30 17:46:53 2013
New Revision: 332157
URL: http://svnweb.freebsd.org/changeset/ports/332157
Log:
- Add stage support
Modified:
head/games/cosmo/Makefile
head/games/cosmo/pkg-plist
Modified: head/games/cosmo/Makefile
==============================================================================
--- head/games/cosmo/Makefile Wed Oct 30 17:21:10 2013 (r332156)
+++ head/games/cosmo/Makefile Wed Oct 30 17:46:53 2013 (r332157)
@@ -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>
Modified: head/games/cosmo/pkg-plist
==============================================================================
--- head/games/cosmo/pkg-plist Wed Oct 30 17:21:10 2013 (r332156)
+++ head/games/cosmo/pkg-plist Wed Oct 30 17:46:53 2013 (r332157)
@@ -1,5 +1,13 @@
+ at group games
+ at mode 2555
bin/cosmo
-lib/X11/cosmo/cosmorc
+ at mode
+ at mode 664
lib/X11/cosmo/best.dat
+ at mode
+ at group
+lib/X11/cosmo/cosmorc
lib/X11/cosmo/moon.tif.gz
+ at mode 711
@dirrm lib/X11/cosmo
+ at mode
More information about the svn-ports-all
mailing list