svn commit: r362826 - head/games/xrot
Adam Weinberger
adamw at FreeBSD.org
Thu Jul 24 16:24:05 UTC 2014
Author: adamw
Date: Thu Jul 24 16:24:05 2014
New Revision: 362826
URL: http://svnweb.freebsd.org/changeset/ports/362826
QAT: https://qat.redports.org/buildarchive/r362826/
Log:
Stage, and move pkg-install into the plist to handle modifying
files outside of $PREFIX correctly.
Added:
head/games/xrot/pkg-plist (contents, props changed)
Deleted:
head/games/xrot/pkg-install
Modified:
head/games/xrot/Makefile
Modified: head/games/xrot/Makefile
==============================================================================
--- head/games/xrot/Makefile Thu Jul 24 16:22:57 2014 (r362825)
+++ head/games/xrot/Makefile Thu Jul 24 16:24:05 2014 (r362826)
@@ -23,13 +23,9 @@ USE_XORG= xpm
ALL_TARGET= xrot
CFLAGS+= -Wno-return-type
-PLIST_FILES= bin/xrot
-
-NO_STAGE= yes
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/xrot ${PREFIX}/bin
- ${CHOWN} root:games ${PREFIX}/bin/xrot
- ${CHMOD} g+s ${PREFIX}/bin/xrot
- ${SH} pkg-install ${PKGNAME} POST-INSTALL
+ ${INSTALL_PROGRAM} ${WRKSRC}/xrot ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}/var/games
+ ${TOUCH} ${STAGEDIR}/var/games/xrot.scores.sample
.include <bsd.port.mk>
Added: head/games/xrot/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/xrot/pkg-plist Thu Jul 24 16:24:05 2014 (r362826)
@@ -0,0 +1,9 @@
+ at group games
+ at mode 3755
+bin/xrot
+ at mode
+ at cwd /
+ at sample var/games/xrot.scores.sample
+ at exec chmod 664 %B/%f
+ at group
+ at dirrmtry var/games
More information about the svn-ports-head
mailing list