aboutsummaryrefslogtreecommitdiff
path: root/devel/pharmacy
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-11-15 20:37:04 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-11-15 20:37:04 +0000
commit3dfcb69b7713730d22282332e61d19042167992f (patch)
tree14ba4292ad28106c8850a8687b0478783ab3362c /devel/pharmacy
parent69159be6d154e71e1b93cb66fad84dc503d37c54 (diff)
downloadports-3dfcb69b7713730d22282332e61d19042167992f.tar.gz
ports-3dfcb69b7713730d22282332e61d19042167992f.zip
Notes
Diffstat (limited to 'devel/pharmacy')
-rw-r--r--devel/pharmacy/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/devel/pharmacy/Makefile b/devel/pharmacy/Makefile
index 3878e2bf645a..72e42fc84906 100644
--- a/devel/pharmacy/Makefile
+++ b/devel/pharmacy/Makefile
@@ -15,6 +15,7 @@ MAINTAINER= jedgar@FreeBSD.org
COMMENT= GNOME frontend for CVS
USE_X_PREFIX= yes
+USE_REINPLACE= yes
USE_GMAKE= yes
USE_GNOME= yes
GNU_CONFIGURE= yes
@@ -22,12 +23,12 @@ CONFIGURE_ENV+= CPPCFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
pre-patch:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
- s|DATADIRNAME=lib|DATADIRNAME=share|g ; \
- s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \
- s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure
- @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${PERL} -pi -e \
- 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
- s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ s|\(DATADIRNAME=\)lib|\1share|g ; \
+ s|USE_INCLUDED_LIBINTL=yes|#&|g ; \
+ s|\$$(top_builddir)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure
+ @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|\(\$$(datadir)/\)gnome/|\1|g ; \
+ s|\$$(datadir)/locale|$$(prefix)/share/locale|g'
.include <bsd.port.mk>