aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/libopensync-plugin-sunbird
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/libopensync-plugin-sunbird')
-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>