summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-02-02 00:17:35 +0000
committerantoine <antoine@FreeBSD.org>2014-02-02 00:17:35 +0000
commit7b09f843f4d6e97672df136b8cc5165af242b6ff (patch)
tree052bdf9afba40771327eef0d6129cae644fe6463
parentbf6c77e556c3f01c728ff2036c2b032df946191f (diff)
downloadFreeBSD-ports-7b09f843f4d6e97672df136b8cc5165af242b6ff.zip
FreeBSD-ports-7b09f843f4d6e97672df136b8cc5165af242b6ff.tar.gz
Stage support
-rw-r--r--deskutils/libopensync-plugin-sunbird/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/deskutils/libopensync-plugin-sunbird/Makefile b/deskutils/libopensync-plugin-sunbird/Makefile
index 77ec5f1..c7e034f 100644
--- a/deskutils/libopensync-plugin-sunbird/Makefile
+++ b/deskutils/libopensync-plugin-sunbird/Makefile
@@ -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>
OpenPOWER on IntegriCloud