mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
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
@ -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 New Issue
Block a user