- STAGE-clean
This commit is contained in:
parent
e8c000e06f
commit
6b550fbc24
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344914
1 changed files with 3 additions and 4 deletions
|
@ -14,14 +14,13 @@ LIB_DEPENDS= libtkgeomap.so:${PORTSDIR}/astro/tkgeomap
|
|||
|
||||
USES+= tk:run
|
||||
NO_BUILD= yes
|
||||
NO_STAGE= yes
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -Ee 's,\[pwd\],${DATADIR}/src,;s,(lines/|places/|src/),${DATADIR}/\1,g;s,wish,${WISH},' ${WRKSRC}/src/PTiger.tcl
|
||||
|
||||
do-install:
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/src/PTiger.tcl ${PREFIX}/bin/${PORTNAME}
|
||||
@${INSTALL} -d ${DATADIR}
|
||||
@${CP} -Rf ${WRKSRC}/lines ${WRKSRC}/places ${WRKSRC}/src ${DATADIR}/
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/src/PTiger.tcl ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
||||
${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
${CP} -Rf ${WRKSRC}/lines ${WRKSRC}/places ${WRKSRC}/src ${STAGEDIR}${DATADIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue