diff options
author | lioux <lioux@FreeBSD.org> | 2002-07-04 01:33:24 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2002-07-04 01:33:24 +0800 |
commit | 097a62797d4241e3e5fac68147f5752908ce8387 (patch) | |
tree | 65dd488d056694ad5c1ed71ec6f77c8643874684 /cad/electric/Makefile | |
parent | 528ac22874229eaf736519e6ebd6478459c0bd35 (diff) | |
download | freebsd-ports-gnome-097a62797d4241e3e5fac68147f5752908ce8387.tar.gz freebsd-ports-gnome-097a62797d4241e3e5fac68147f5752908ce8387.tar.zst freebsd-ports-gnome-097a62797d4241e3e5fac68147f5752908ce8387.zip |
USE_REINPLACE
Diffstat (limited to 'cad/electric/Makefile')
-rw-r--r-- | cad/electric/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cad/electric/Makefile b/cad/electric/Makefile index df0484af57f1..a8bd187e71ed 100644 --- a/cad/electric/Makefile +++ b/cad/electric/Makefile @@ -14,6 +14,7 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:C/\.(.)$/\1/} MAINTAINER= lioux@FreeBSD.org +USE_REINPLACE= yes USE_XLIB= yes USE_MOTIF= yes GNU_CONFIGURE= yes @@ -22,9 +23,9 @@ CONFIGURE_ARGS= -with-x INSTALL_DIR= ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 post-patch: - @${PERL} -pi -e 's|/usr/local/lib/electric/|${PREFIX}/share/electric/lib/|; \ + @${REINPLACE_CMD} -e 's|/usr/local/lib/electric/|${PREFIX}/share/electric/lib/|; \ s|/usr/local/|${PREFIX}/|' ${WRKSRC}/src/include/config.h - @${PERL} -pi -e 's|/lib/electric|/share/electric/lib|' ${WRKSRC}/Makefile.in - @${PERL} -pi -e 's|/usr/X11R6/|${X11BASE}/|' ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|/lib/electric|/share/electric/lib|' ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e 's|/usr/X11R6/|${X11BASE}/|' ${WRKSRC}/configure .include <bsd.port.mk> |