aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-07-12 02:51:16 +0800
committersobomax <sobomax@FreeBSD.org>2002-07-12 02:51:16 +0800
commitcf8fede1fa9b4bfd969241a09e1cea7408b6d9d3 (patch)
treeda449a4b41da475c511f667f5e887da03f56fa1e
parent907d79fb43b65347e30e4172cb4e64c5c48194a9 (diff)
downloadfreebsd-ports-gnome-cf8fede1fa9b4bfd969241a09e1cea7408b6d9d3.tar.gz
freebsd-ports-gnome-cf8fede1fa9b4bfd969241a09e1cea7408b6d9d3.tar.zst
freebsd-ports-gnome-cf8fede1fa9b4bfd969241a09e1cea7408b6d9d3.zip
Another USE_GNOMENG vict^Wuser. This port get very impressive benefit from
GNOMENG - lenght of dependency chain was almost halved - from 56 packages to only 32.
-rw-r--r--news/pan/Makefile10
-rw-r--r--news/pan2/Makefile10
2 files changed, 8 insertions, 12 deletions
diff --git a/news/pan/Makefile b/news/pan/Makefile
index 46550f149b5b..cfd80541ea4f 100644
--- a/news/pan/Makefile
+++ b/news/pan/Makefile
@@ -20,18 +20,16 @@ MAINTAINER= gnome@FreeBSD.org
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
-USE_GNOME= yes
+USE_GNOMENG= yes
+USE_GNOME= gnomeprefix gnomehack gnomelibs gdkpixbuf
USE_LIBTOOL= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LIBS="-L${LOCALBASE}/lib -lgnuregex -lcompat"
CONFIGURE_ARGS= --enable-html
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
-pre-patch:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+post-patch:
+ @${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'
.include <bsd.port.mk>
diff --git a/news/pan2/Makefile b/news/pan2/Makefile
index 46550f149b5b..cfd80541ea4f 100644
--- a/news/pan2/Makefile
+++ b/news/pan2/Makefile
@@ -20,18 +20,16 @@ MAINTAINER= gnome@FreeBSD.org
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
-USE_GNOME= yes
+USE_GNOMENG= yes
+USE_GNOME= gnomeprefix gnomehack gnomelibs gdkpixbuf
USE_LIBTOOL= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LIBS="-L${LOCALBASE}/lib -lgnuregex -lcompat"
CONFIGURE_ARGS= --enable-html
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
-pre-patch:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+post-patch:
+ @${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'
.include <bsd.port.mk>