aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-06-05 14:23:20 +0800
committermiwi <miwi@FreeBSD.org>2014-06-05 14:23:20 +0800
commit3c162826a32479848a5e41fe678ee32bd0149b08 (patch)
treea47a02fb4a763656c1a1a6601564fe56f9a81002 /www
parentd368c2485ae0dea30a2b8edaa73a2f287d3f5fd4 (diff)
downloadfreebsd-ports-gnome-3c162826a32479848a5e41fe678ee32bd0149b08.tar.gz
freebsd-ports-gnome-3c162826a32479848a5e41fe678ee32bd0149b08.tar.zst
freebsd-ports-gnome-3c162826a32479848a5e41fe678ee32bd0149b08.zip
- Stage support
PR: 190286
Diffstat (limited to 'www')
-rw-r--r--www/myfaces/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/www/myfaces/Makefile b/www/myfaces/Makefile
index 5ecf0c22ba4c..def650bd7fa8 100644
--- a/www/myfaces/Makefile
+++ b/www/myfaces/Makefile
@@ -24,19 +24,18 @@ PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar \
${JAR_FILES:S|^|%%DATADIR%%/|}
PLIST_DIRS= %%DATADIR%%
-NO_STAGE= yes
.include <bsd.port.pre.mk>
do-install:
- ${INSTALL_DATA} ${WRKSRC}/myfaces-all.jar ${JAVAJARDIR}/${PORTNAME}.jar
- @${MKDIR} ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/myfaces-all.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
+ @${MKDIR} ${STAGEDIR}${DATADIR}
.for jarfile in ${JAR_FILES}
- ${INSTALL_DATA} ${WRKSRC}/${jarfile} ${DATADIR}/${jarfile}
+ ${INSTALL_DATA} ${WRKSRC}/${jarfile} ${STAGEDIR}${DATADIR}/${jarfile}
.endfor
.if !defined(NOPORTDOCS)
- cd ${WRKSRC} && ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${DOCSDIR}/{} \;
- cd ${WRKSRC} && ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
+ cd ${WRKSRC} && ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \;
+ cd ${WRKSRC} && ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \;
.endif
.include <bsd.port.post.mk>