summaryrefslogtreecommitdiffstats
path: root/comms/ghfaxviewer
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-11-15 20:07:28 +0000
committermarcus <marcus@FreeBSD.org>2003-11-15 20:07:28 +0000
commitd289e7d1ba23aaf2518bdc681342483c925d57f5 (patch)
tree7955652928a8225d54313fa9e8591e6d24c71b34 /comms/ghfaxviewer
parent70347c4f5575c7c3be1a7188d8ffd013ccb01fc0 (diff)
downloadFreeBSD-ports-d289e7d1ba23aaf2518bdc681342483c925d57f5.zip
FreeBSD-ports-d289e7d1ba23aaf2518bdc681342483c925d57f5.tar.gz
unPERLify by using REINPLACE_CMD where appropriate.
PR: 47656 Submitted by: Simon 'portlint' Schubert <corecode@corecode.ath.cx>
Diffstat (limited to 'comms/ghfaxviewer')
-rw-r--r--comms/ghfaxviewer/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/comms/ghfaxviewer/Makefile b/comms/ghfaxviewer/Makefile
index 18158e0..2148e3c 100644
--- a/comms/ghfaxviewer/Makefile
+++ b/comms/ghfaxviewer/Makefile
@@ -13,7 +13,7 @@ MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= halifax
MAINTAINER= domi@saargate.de
-COMMENT= a GNOME compliant fax viewer which ist capable of displaying TIFF G3 faxes
+COMMENT= GNOME compliant fax viewer capable of displaying TIFF G3 faxes
LIB_DEPENDS= gnomeprint.16:${PORTSDIR}/print/gnomeprint \
gconf-1.1:${PORTSDIR}/devel/gconf \
@@ -21,6 +21,7 @@ LIB_DEPENDS= gnomeprint.16:${PORTSDIR}/print/gnomeprint \
USE_GMAKE= yes
USE_X_PREFIX= yes
+USE_REINPLACE= yes
USE_GNOME= yes
USE_LIBTOOL= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
@@ -29,10 +30,10 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAN1= halifax.1 ghfaxviewer.1
pre-patch:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
- @${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${PERL} -pi -e \
- 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
- s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
+ @${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>
OpenPOWER on IntegriCloud