mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 02:46:27 -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
|
||||
PORTVERSION= 1.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ftp://ftp.vcpc.univie.ac.at/vcpc/jhm/code/
|
||||
DISTNAME= ${PORTNAME}
|
||||
|
@ -20,6 +21,12 @@ MAKE_ARGS= CC="${CC} ${CFLAGS}"
|
|||
PLIST_FILES= bin/cmunge bin/ctran bin/proc-incl
|
||||
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:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/ctran ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/proc-incl ${PREFIX}/bin
|
||||
|
|
Loading…
Add table
Reference in a new issue