aboutsummaryrefslogtreecommitdiffstats
path: root/news
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-12-27 17:33:23 +0800
committerbapt <bapt@FreeBSD.org>2013-12-27 17:33:23 +0800
commit248c03828b2ead922b9cb68058cef4122a92870b (patch)
treee37c0029b3e8df1aec001661945986988de73e7e /news
parent80ea9ac3be5caf3877a642a03f8513739244b8fa (diff)
downloadfreebsd-ports-gnome-248c03828b2ead922b9cb68058cef4122a92870b.tar.gz
freebsd-ports-gnome-248c03828b2ead922b9cb68058cef4122a92870b.tar.zst
freebsd-ports-gnome-248c03828b2ead922b9cb68058cef4122a92870b.zip
Support stage
Diffstat (limited to 'news')
-rw-r--r--news/xpn/Makefile17
1 files changed, 7 insertions, 10 deletions
diff --git a/news/xpn/Makefile b/news/xpn/Makefile
index 374fd69f9d85..519e32a33338 100644
--- a/news/xpn/Makefile
+++ b/news/xpn/Makefile
@@ -27,16 +27,13 @@ USES= gettext
XPN= ${PORTNAME}.py
-NO_STAGE= yes
do-install:
- ${MKDIR} ${DATADIR}
- ${INSTALL_SCRIPT} ${WRKSRC}/${XPN} ${DATADIR}/${XPN}
- ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
- cd ${WRKSRC} && ${FIND} . ${FIND_DIRS} -exec ${MKDIR} ${DATADIR}/{} ";"
- cd ${WRKSRC} && ${FIND} . ${FIND_DATA} -exec ${INSTALL_DATA} {} ${DATADIR}/{} ";"
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.html ${DOCSDIR}
-.endif
+ ${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/${XPN} ${STAGEDIR}${DATADIR}/${XPN}
+ ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+ cd ${WRKSRC} && ${FIND} . ${FIND_DIRS} -exec ${MKDIR} ${STAGEDIR}${DATADIR}/{} ";"
+ cd ${WRKSRC} && ${FIND} . ${FIND_DATA} -exec ${INSTALL_DATA} {} ${STAGEDIR}${DATADIR}/{} ";"
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.html ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>