Support staging
This commit is contained in:
parent
76e6501061
commit
d256b0e169
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348215
1 changed files with 2 additions and 3 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue