svn commit: r342227 - head/deskutils/libopensync-plugin-sunbird

Antoine Brodin antoine at FreeBSD.org
Sun Feb 2 00:17:36 UTC 2014


Author: antoine
Date: Sun Feb  2 00:17:35 2014
New Revision: 342227
URL: http://svnweb.freebsd.org/changeset/ports/342227
QAT: https://qat.redports.org/buildarchive/r342227/

Log:
  Stage support

Modified:
  head/deskutils/libopensync-plugin-sunbird/Makefile

Modified: head/deskutils/libopensync-plugin-sunbird/Makefile
==============================================================================
--- head/deskutils/libopensync-plugin-sunbird/Makefile	Sun Feb  2 00:14:32 2014	(r342226)
+++ head/deskutils/libopensync-plugin-sunbird/Makefile	Sun Feb  2 00:17:35 2014	(r342227)
@@ -20,13 +20,10 @@ USE_GNOME=	glib20 libxml2
 
 PORTDOCS=	AUTHORS COPYING ChangeLog README
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 post-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-.for i in ${PORTDOCS}
-	${INSTALL_DATA} -p ${WRKSRC}/${i} ${DOCSDIR}
-.endfor
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list