Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jan 2015 23:55:25 +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: r376890 - head/games/opensurge
Message-ID:  <201501122355.t0CNtP00015652@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Jan 12 23:55:25 2015
New Revision: 376890
URL: https://svnweb.freebsd.org/changeset/ports/376890
QAT: https://qat.redports.org/buildarchive/r376890/

Log:
  - Simplify plist generation by using PORTDATA=*
  
  PR:		196219
  Submitted by:	amdmi3
  Approved by:	maintainer timeout (nemysis)

Modified:
  head/games/opensurge/Makefile

Modified: head/games/opensurge/Makefile
==============================================================================
--- head/games/opensurge/Makefile	Mon Jan 12 21:12:55 2015	(r376889)
+++ head/games/opensurge/Makefile	Mon Jan 12 23:55:25 2015	(r376890)
@@ -35,6 +35,7 @@ DOS2UNIX_GLOB=	*.bg *.brk *.grp  *.inc *
 USE_GCC=	yes
 
 PORTDOCS=	readme.html
+PORTDATA=	*
 OPTIONS_DEFINE=	DOCS
 
 SUB_FILES=	${PORTNAME} pkg-deinstall pkg-message
@@ -79,9 +80,4 @@ post-install:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
-	@cd ${STAGEDIR}${PREFIX} && ${FIND} ${DATADIR_REL} \
-		-type f >> ${TMPPLIST} && \
-		${FIND} ${DATADIR_REL} -type d -o -type l | ${SORT} -r | \
-		${SED} 's|^|@dirrm |' >> ${TMPPLIST}
-
 .include <bsd.port.mk>



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