aboutsummaryrefslogtreecommitdiffstats
path: root/misc/pastebinit
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2013-09-26 02:17:57 +0800
committereadler <eadler@FreeBSD.org>2013-09-26 02:17:57 +0800
commit30899bf87e3afe5285143c3ae6bc2ae71b9cd74a (patch)
tree466bc7849bf49a88f438cbaca1a9eaabc84d3a6f /misc/pastebinit
parent061332178908ffe5e9096bd10c4f846246d448e6 (diff)
downloadfreebsd-ports-gnome-30899bf87e3afe5285143c3ae6bc2ae71b9cd74a.tar.gz
freebsd-ports-gnome-30899bf87e3afe5285143c3ae6bc2ae71b9cd74a.tar.zst
freebsd-ports-gnome-30899bf87e3afe5285143c3ae6bc2ae71b9cd74a.zip
Convert pastebinit to have STAGEDIR support.
Tested with poudriere
Diffstat (limited to 'misc/pastebinit')
-rw-r--r--misc/pastebinit/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/misc/pastebinit/Makefile b/misc/pastebinit/Makefile
index 02447f1ab836..124c4c7f4d09 100644
--- a/misc/pastebinit/Makefile
+++ b/misc/pastebinit/Makefile
@@ -22,7 +22,6 @@ OPTIONS_DEFINE= PASTEBINS
PASTEBINS_DESC= Install default pastebins
OPTIONS_DEFAULT= PASTEBINS
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPASTEBINS}
@@ -33,9 +32,9 @@ post-patch:
${REINPLACE_CMD} -e 's|/usr/share/pastebin.d|${DATADIR}/pastebin.d|' \
${WRKSRC}/pastebinit
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.if ${PORT_OPTIONS:MPASTEBINS}
- (cd ${WRKSRC} && ${COPYTREE_SHARE} pastebin.d ${DATADIR})
+ (cd ${WRKSRC} && ${COPYTREE_SHARE} pastebin.d ${STAGEDIR}${DATADIR})
.endif
.include <bsd.port.mk>