Support staging

This commit is contained in:
Emanuel Haupt 2014-03-14 12:26:45 +00:00
parent 76e6501061
commit d256b0e169
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348215

View file

@ -16,13 +16,12 @@ USE_PYTHON_RUN= yes
PLIST_FILES= bin/ljdump etc/ljdump.config.sample
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE}, ; \
s,%%PREFIX%%,${PREFIX},' ${WRKSRC}/ljdump.py
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/ljdump.py ${PREFIX}/bin/ljdump
${INSTALL_DATA} ${WRKSRC}/ljdump.config.sample ${PREFIX}/etc
${INSTALL_SCRIPT} ${WRKSRC}/ljdump.py ${STAGEDIR}${PREFIX}/bin/ljdump
${INSTALL_DATA} ${WRKSRC}/ljdump.config.sample ${STAGEDIR}${PREFIX}/etc
.include <bsd.port.mk>