Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Oct 2013 14:43:21 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332119 - head/games/freera
Message-ID:  <201310301443.r9UEhLHo012600@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Oct 30 14:43:20 2013
New Revision: 332119
URL: http://svnweb.freebsd.org/changeset/ports/332119

Log:
  - Support staging

Deleted:
  head/games/freera/pkg-plist
Modified:
  head/games/freera/Makefile

Modified: head/games/freera/Makefile
==============================================================================
--- head/games/freera/Makefile	Wed Oct 30 14:30:44 2013	(r332118)
+++ head/games/freera/Makefile	Wed Oct 30 14:43:20 2013	(r332119)
@@ -20,7 +20,9 @@ WRKSRC=		${WRKDIR}/freera++
 
 SUB_FILES=	pkg-message
 
-NO_STAGE=	yes
+PLIST_FILES=	bin/${PORTNMAE}
+PORTDATA=	*
+
 post-patch:
 	@${MV} ${WRKSRC}/SConstruct ${WRKSRC}/SConstruct.orig
 	@${CP} ${FILESDIR}/SConstruct ${WRKSRC}/
@@ -31,12 +33,7 @@ post-patch:
 	@${RM} -rf ${WRKSRC}/data/settings/ra/.svn ${WRKSRC}/data/settings/td/.svn
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/freera ${PREFIX}/bin/
-	cd ${WRKSRC}/data && \
-		${FIND} . -type d -exec ${MKDIR} "${DATADIR}/{}" \; ;\
-		${FIND} . -type f -exec ${INSTALL_DATA} "{}" "${DATADIR}/{}" \;
-
-post-install:
-	${CAT} ${PKGMESSAGE}
+	${INSTALL_PROGRAM} ${WRKSRC}/freera ${STAGEDIR}${PREFIX}/bin/
+	cd ${WRKSRC}/data && ${COPYTREE_SHARE} '*' ${STAGEDIR}${DATADIR}/
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310301443.r9UEhLHo012600>