diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-07-08 18:41:30 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-07-08 18:41:30 +0800 |
commit | 27b58e05583dbd0dbed960cf162e599ebc0f227b (patch) | |
tree | 08d4d418aed90a1f7e8eb25819d284dce8d35a8b /multimedia/gsubedit/Makefile | |
parent | e5f65fe9c160b78b54514fe1bebfa37c1259f7c8 (diff) | |
download | freebsd-ports-gnome-27b58e05583dbd0dbed960cf162e599ebc0f227b.tar.gz freebsd-ports-gnome-27b58e05583dbd0dbed960cf162e599ebc0f227b.tar.zst freebsd-ports-gnome-27b58e05583dbd0dbed960cf162e599ebc0f227b.zip |
PERL -> REINPLACE_CMD
PR: 39938
Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Diffstat (limited to 'multimedia/gsubedit/Makefile')
-rw-r--r-- | multimedia/gsubedit/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/multimedia/gsubedit/Makefile b/multimedia/gsubedit/Makefile index 912598a18b4c..956d6fcf192d 100644 --- a/multimedia/gsubedit/Makefile +++ b/multimedia/gsubedit/Makefile @@ -15,6 +15,7 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org +USE_REINPLACE= yes USE_X_PREFIX= yes USE_GMAKE= yes USE_GNOME= yes @@ -23,14 +24,14 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" post-patch: - @${PERL} -pi -e 's|Bison |Bison|g ; \ + @${REINPLACE_CMD} -e 's|Bison |Bison|g ; \ s|-lpthread|${PTHREAD_LIBS}|g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g ; \ s|share/pixmaps|share/gnome/pixmaps|g' ${WRKSRC}/configure - @${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${PERL} -pi -e \ + @${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \ 's|^gsubeditdoc|#gsubeditdoc|g ; \ s|-g -O2|| ; \ - s|\$$\(datadir\)/locale|\$$\(prefix\)/share/locale|' + s|\$$(datadir)/locale|\$$(prefix)/share/locale|' post-install: .if !defined(NOPORTDOCS) |