svn commit: r328304 - head/misc/pastebinit

Eitan Adler eadler at FreeBSD.org
Wed Sep 25 18:17:58 UTC 2013


Author: eadler
Date: Wed Sep 25 18:17:57 2013
New Revision: 328304
URL: http://svnweb.freebsd.org/changeset/ports/328304

Log:
  Convert pastebinit to have STAGEDIR support.
  Tested with poudriere

Modified:
  head/misc/pastebinit/Makefile

Modified: head/misc/pastebinit/Makefile
==============================================================================
--- head/misc/pastebinit/Makefile	Wed Sep 25 18:08:38 2013	(r328303)
+++ head/misc/pastebinit/Makefile	Wed Sep 25 18:17:57 2013	(r328304)
@@ -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>


More information about the svn-ports-all mailing list