diff options
author | oliver <oliver@FreeBSD.org> | 2003-07-06 18:14:34 +0800 |
---|---|---|
committer | oliver <oliver@FreeBSD.org> | 2003-07-06 18:14:34 +0800 |
commit | 4fd1c8e689a9d3cc2704d2554c776a145816cbe6 (patch) | |
tree | 89d178a7a7b70336fed9683257d9d0468c703f8f /finance | |
parent | 567625c791ff8e5b2f312d4caf8e561f1dc99f52 (diff) | |
download | freebsd-ports-graphics-4fd1c8e689a9d3cc2704d2554c776a145816cbe6.tar.gz freebsd-ports-graphics-4fd1c8e689a9d3cc2704d2554c776a145816cbe6.tar.zst freebsd-ports-graphics-4fd1c8e689a9d3cc2704d2554c776a145816cbe6.zip |
replace ${PERL} with ${REINPLACE_CMD}
PR: 47406
Diffstat (limited to 'finance')
-rw-r--r-- | finance/gnofin/Makefile | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/finance/gnofin/Makefile b/finance/gnofin/Makefile index 968b8ebdf54..c30a337e2f8 100644 --- a/finance/gnofin/Makefile +++ b/finance/gnofin/Makefile @@ -14,6 +14,7 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= Light-weight GNOME based financial management program +USE_REINPLACE= yes USE_X_PREFIX= yes USE_GMAKE= yes USE_GNOME= yes @@ -24,14 +25,14 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ MAN1= gnofin.1 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' - @find ${WRKSRC}/plugins -name "Makefile.in" | xargs ${PERL} -pi -e \ - 's|_la_LDFLAGS =|_la_LDFLAGS = -avoid-version|g' + @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \ + -e 's|DATADIRNAME=lib|DATADIRNAME=share|g' \ + -e 's|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|' \ + -e 's|$$(top_builddir)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure + @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} \ + -e 's|$$(datadir)/gnome/|$$(datadir)/|g' \ + -e ' s|$$(datadir)/locale|$$(prefix)/share/locale|g' + @{FIND} ${WRKSRC}/plugins -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} \ + -e 's|_la_LDFLAGS =|_la_LDFLAGS = -avoid-version|g' .include <bsd.port.mk> |