aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-02-02 08:17:35 +0800
committerantoine <antoine@FreeBSD.org>2014-02-02 08:17:35 +0800
commit7b09f843f4d6e97672df136b8cc5165af242b6ff (patch)
tree052bdf9afba40771327eef0d6129cae644fe6463
parentbf6c77e556c3f01c728ff2036c2b032df946191f (diff)
downloadfreebsd-ports-gnome-7b09f843f4d6e97672df136b8cc5165af242b6ff.tar.gz
freebsd-ports-gnome-7b09f843f4d6e97672df136b8cc5165af242b6ff.tar.zst
freebsd-ports-gnome-7b09f843f4d6e97672df136b8cc5165af242b6ff.zip
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 77ec5f1aeaee..c7e034f70a75 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>