aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/sahi/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/www/sahi/Makefile b/www/sahi/Makefile
index ea67f6057777..7f8c41893718 100644
--- a/www/sahi/Makefile
+++ b/www/sahi/Makefile
@@ -37,7 +37,6 @@ OPERA_DESC= Use Opera as default browser
USES= dos2unix zip
DOS2UNIX_GLOB= linux.xml os.properties sahi.properties
-NO_STAGE= yes
.include <bsd.port.options.mk>
SAHI_BUILD= 2011.07.19
@@ -67,20 +66,19 @@ post-patch:
| ${XARGS} -0 ${REINPLACE_CMD}
do-install:
- @${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME}
- @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${DATADIR}
+ @${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+ @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
post-install:
- @${CP} ${DATADIR}/config/browser_types/linux.xml ${DATADIR}/userdata/config/browser_types.xml
+ @${CP} ${STAGEDIR}${DATADIR}/config/browser_types/linux.xml ${STAGEDIR}${DATADIR}/userdata/config/browser_types.xml
.for d in bin userdata/bin
- @${CHMOD} ${BINMODE} ${DATADIR}/${d}/*
+ @${CHMOD} ${BINMODE} ${STAGEDIR}${DATADIR}/${d}/*
.endfor
.if ${PORT_OPTIONS:MDOCS}
- @${MV} ${DATADIR}/docs ${DOCSDIR}
+ @${MV} ${STAGEDIR}${DATADIR}/docs ${STAGEDIR}${DOCSDIR}
.else
- @${RM} -r ${DATADIR}/docs
+ @${RM} -r ${STAGEDIR}${DATADIR}/docs
.endif
- @${CAT} ${PKGMESSAGE}
.include <bsd.port.pre.mk>