aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-03-03 01:07:21 +0800
committeradamw <adamw@FreeBSD.org>2014-03-03 01:07:21 +0800
commitd1ecf16389c1e75e59caa7b13837305aef8c537a (patch)
tree38809555f2eb4c876687476fd185bf4c39634ec0 /sysutils
parentf9bc915104bf71c775936611822118ea43dcb69f (diff)
downloadfreebsd-ports-gnome-d1ecf16389c1e75e59caa7b13837305aef8c537a.tar.gz
freebsd-ports-gnome-d1ecf16389c1e75e59caa7b13837305aef8c537a.tar.zst
freebsd-ports-gnome-d1ecf16389c1e75e59caa7b13837305aef8c537a.zip
Stage support.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/duply/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/sysutils/duply/Makefile b/sysutils/duply/Makefile
index 9e6ba08aa372..a514c10e3878 100644
--- a/sysutils/duply/Makefile
+++ b/sysutils/duply/Makefile
@@ -22,17 +22,14 @@ NO_BUILD= yes
PORTDOCS= INSTALL.txt gpl-2.0.txt
PLIST_FILES= bin/duply
-NO_STAGE= yes
post-patch:
- @${REINPLACE_CMD} -e "s,/etc/duply,${ETCDIR},g" ${WRKSRC}/duply
+ ${REINPLACE_CMD} -e "s,/etc/duply,${ETCDIR},g" ${WRKSRC}/duply
do-install:
- @${INSTALL_SCRIPT} ${WRKSRC}/duply ${PREFIX}/bin/duply
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}/
+ ${INSTALL_SCRIPT} ${WRKSRC}/duply ${STAGEDIR}${PREFIX}/bin/duply
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
. for i in ${PORTDOCS}
- @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
. endfor
-.endif
.include <bsd.port.mk>