svn commit: r368085 - in head/games/freesweep: . files

Antoine Brodin antoine at FreeBSD.org
Sat Sep 13 12:15:44 UTC 2014


Author: antoine
Date: Sat Sep 13 12:15:43 2014
New Revision: 368085
URL: http://svnweb.freebsd.org/changeset/ports/368085
QAT: https://qat.redports.org/buildarchive/r368085/

Log:
  - Allow staging as a regular user
  - Bump portrevision as some files were not packaged with intended group

Deleted:
  head/games/freesweep/files/patch-Makefile.in
Modified:
  head/games/freesweep/Makefile

Modified: head/games/freesweep/Makefile
==============================================================================
--- head/games/freesweep/Makefile	Sat Sep 13 11:43:00 2014	(r368084)
+++ head/games/freesweep/Makefile	Sat Sep 13 12:15:43 2014	(r368085)
@@ -3,6 +3,7 @@
 
 PORTNAME=	freesweep
 PORTVERSION=	0.92
+PORTREVISION=	1
 CATEGORIES=	games
 MASTER_SITES=	GOOGLE_CODE
 
@@ -20,13 +21,18 @@ CONFIGURE_ARGS=	--with-prefsdir=${DATADI
 ALL_TARGET=	${PORTNAME}
 
 PORTDOCS=	CHANGES README
-PLIST_FILES=	bin/${PORTNAME} man/man6/${PORTNAME}.6.gz \
-		%%DATADIR%%/sweeprc %%DATADIR%%/sweeptimes
+PLIST_FILES=	"@(,games,2555) bin/${PORTNAME}" man/man6/${PORTNAME}.6.gz \
+		%%DATADIR%%/sweeprc "@(,games,0664) %%DATADIR%%/sweeptimes"
 PLIST_DIRS=	%%DATADIR%%
 
 OPTIONS_DEFINE=	DOCS
 
-post-install:
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/freesweep ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	${TOUCH} ${STAGEDIR}${DATADIR}/sweeptimes
+	${INSTALL_DATA} ${WRKSRC}/sweeprc ${STAGEDIR}${DATADIR}
+	${INSTALL_MAN} ${WRKSRC}/freesweep.6 ${STAGEDIR}${PREFIX}/man/man6
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for file in ${PORTDOCS}
 	${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}


More information about the svn-ports-head mailing list