From 6a26e6b45ebf9a3fa37d03be2df2a55fea9fb1f0 Mon Sep 17 00:00:00 2001 From: Eitan Adler Date: Wed, 25 Sep 2013 18:17:57 +0000 Subject: [PATCH] Convert pastebinit to have STAGEDIR support. Tested with poudriere --- misc/pastebinit/Makefile | 5 ++--- 1 file 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 .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