diff options
author | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2005-10-29 10:29:45 +0000 |
---|---|---|
committer | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2005-10-29 10:29:45 +0000 |
commit | 2074471f5e6812f4dfae04dae09fbad64337098d (patch) | |
tree | 019b3891813b45ce220432ba8037ec80e816e5ff /devel/cmunge | |
parent | fc20c8127ae2911f5df8a288648a30876da482dd (diff) |
Fix hardcoded paths in the cmunge script.
PR: ports/88163
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=146652
Diffstat (limited to 'devel/cmunge')
-rw-r--r-- | devel/cmunge/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/devel/cmunge/Makefile b/devel/cmunge/Makefile index 29d5c2ba5c68..467048c3ba56 100644 --- a/devel/cmunge/Makefile +++ b/devel/cmunge/Makefile @@ -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 |