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 /deskutils | |
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 'deskutils')
-rw-r--r-- | deskutils/gnofin/Makefile | 19 | ||||
-rw-r--r-- | deskutils/ithought/Makefile | 9 |
2 files changed, 11 insertions, 17 deletions
diff --git a/deskutils/gnofin/Makefile b/deskutils/gnofin/Makefile index 968b8ebdf54..c30a337e2f8 100644 --- a/deskutils/gnofin/Makefile +++ b/deskutils/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> diff --git a/deskutils/ithought/Makefile b/deskutils/ithought/Makefile index b4b3762ef22..e1cb3c82c14 100644 --- a/deskutils/ithought/Makefile +++ b/deskutils/ithought/Makefile @@ -14,18 +14,11 @@ MASTER_SITE_SUBDIR= ithought MAINTAINER= ports@FreeBSD.org COMMENT= An extensible text management system -LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 +LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 GNU_CONFIGURE= yes CONFIGURE_ARGS= --datadir=${PREFIX}/libexec USE_GNOME= gtk12 -post-patch: - @${PERL} -i.orig -p \ - -e 's#`gnome-config --cflags gtk`#`${GTK_CONFIG} --cflags`#;' \ - -e 's#`gnome-config --cflags gtk xml`#`${GTK_CONFIG} --cflags; xml-config --cflags`#;' \ - -e 's#`gnome-config --libs gtk xml`#`${GTK_CONFIG} --libs; xml-config --libs`#;' \ - ${WRKSRC}/src/Makefile.in - .include <bsd.port.mk> |