- Fix shebang
- Merge post-install: to do-install: - Rename patch file - Support STAGEDIR
This commit is contained in:
parent
dbcaceb8d8
commit
b353d798a2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335348
2 changed files with 6 additions and 7 deletions
|
@ -12,9 +12,10 @@ COMMENT= Extremely portable perl-based make utility
|
||||||
|
|
||||||
NO_BUILD= yes
|
NO_BUILD= yes
|
||||||
REINPLACE_ARGS= -i ''
|
REINPLACE_ARGS= -i ''
|
||||||
USES= perl5
|
USES= perl5 shebangfix
|
||||||
|
|
||||||
|
SHEBANG_FILES= bin/progen bin/tmake
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${RM} -f ${WRKSRC}/bin/tmake.orig ${WRKSRC}/lib/unix/generic.t.orig
|
@${RM} -f ${WRKSRC}/bin/tmake.orig ${WRKSRC}/lib/unix/generic.t.orig
|
||||||
@${REINPLACE_CMD} \
|
@${REINPLACE_CMD} \
|
||||||
|
@ -24,11 +25,9 @@ post-patch:
|
||||||
${WRKSRC}/lib/freebsd-g++/tmake.conf
|
${WRKSRC}/lib/freebsd-g++/tmake.conf
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${MKDIR} ${DATADIR}/
|
${MKDIR} ${STAGEDIR}${DATADIR}/
|
||||||
cd ${WRKSRC}/lib/ && ${COPYTREE_SHARE} . ${DATADIR}/
|
cd ${WRKSRC}/bin/ && ${INSTALL_SCRIPT} progen tmake ${STAGEDIR}${PREFIX}/bin/
|
||||||
cd ${WRKSRC}/bin/ && ${INSTALL_SCRIPT} progen tmake ${PREFIX}/bin/
|
cd ${WRKSRC}/lib/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/
|
||||||
|
|
||||||
post-install:
|
|
||||||
@${ECHO_MSG}
|
@${ECHO_MSG}
|
||||||
@${ECHO_MSG} "Make sure to set your TMAKEPATH environment variable"
|
@${ECHO_MSG} "Make sure to set your TMAKEPATH environment variable"
|
||||||
@${ECHO_MSG} "to ${DATADIR}/freebsd-g++."
|
@${ECHO_MSG} "to ${DATADIR}/freebsd-g++."
|
||||||
|
|
Loading…
Reference in a new issue