From 7b09f843f4d6e97672df136b8cc5165af242b6ff Mon Sep 17 00:00:00 2001 From: antoine Date: Sun, 2 Feb 2014 00:17:35 +0000 Subject: Stage support --- deskutils/libopensync-plugin-sunbird/Makefile | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'deskutils/libopensync-plugin-sunbird') 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 -- cgit