Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Feb 2014 00:17:35 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r342227 - head/deskutils/libopensync-plugin-sunbird
Message-ID:  <201402020017.s120HZC1044708@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



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