mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Fix hardcoded paths in the cmunge script.
PR: ports/88163 Submitted by: maintainer
This commit is contained in:
parent
fc20c8127a
commit
2074471f5e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=146652
1 changed files with 7 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= cmunge
|
PORTNAME= cmunge
|
||||||
PORTVERSION= 1.0
|
PORTVERSION= 1.0
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= devel
|
CATEGORIES= devel
|
||||||
MASTER_SITES= ftp://ftp.vcpc.univie.ac.at/vcpc/jhm/code/
|
MASTER_SITES= ftp://ftp.vcpc.univie.ac.at/vcpc/jhm/code/
|
||||||
DISTNAME= ${PORTNAME}
|
DISTNAME= ${PORTNAME}
|
||||||
|
@ -20,6 +21,12 @@ MAKE_ARGS= CC="${CC} ${CFLAGS}"
|
||||||
PLIST_FILES= bin/cmunge bin/ctran bin/proc-incl
|
PLIST_FILES= bin/cmunge bin/ctran bin/proc-incl
|
||||||
PORTDOCS= *
|
PORTDOCS= *
|
||||||
|
|
||||||
|
USE_REINPLACE= yes
|
||||||
|
|
||||||
|
post-patch:
|
||||||
|
@${REINPLACE_CMD} -e 's|/vcpc_users/jhm/bin/cmunger|${PREFIX}|; \
|
||||||
|
s|/usr/ccs/lib/cpp|/usr/bin/cpp|' ${WRKSRC}/cmunge
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/ctran ${PREFIX}/bin
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/ctran ${PREFIX}/bin
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/proc-incl ${PREFIX}/bin
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/proc-incl ${PREFIX}/bin
|
||||||
|
|
Loading…
Add table
Reference in a new issue