summaryrefslogtreecommitdiffstats
path: root/news/grn
diff options
context:
space:
mode:
authorreg <reg@FreeBSD.org>2000-10-05 07:17:31 +0000
committerreg <reg@FreeBSD.org>2000-10-05 07:17:31 +0000
commit68dad4980b984b6c03859651af5eefb37c1c9d90 (patch)
treea1b402b639681e7623529a2295404459e0d45edf /news/grn
parent30fb8569371544b140cbfbe9d8d545a551b7a815 (diff)
downloadFreeBSD-ports-68dad4980b984b6c03859651af5eefb37c1c9d90.zip
FreeBSD-ports-68dad4980b984b6c03859651af5eefb37c1c9d90.tar.gz
Implement USE_GNOME, part 2.
Diffstat (limited to 'news/grn')
-rw-r--r--news/grn/Makefile19
1 files changed, 10 insertions, 9 deletions
diff --git a/news/grn/Makefile b/news/grn/Makefile
index 1f46e97..48fe734 100644
--- a/news/grn/Makefile
+++ b/news/grn/Makefile
@@ -12,22 +12,23 @@ MASTER_SITES= ftp://ivvs.ul.ru/pub/unix/grn/
MAINTAINER= sobomax@FreeBSD.org
-LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs \
- xml.5:${PORTSDIR}/textproc/libxml
-RUN_DEPENDS= panel:${PORTSDIR}/x11/gnomecore
-
USE_X_PREFIX= yes
USE_BZIP2= yes
USE_GMAKE= yes
+USE_GNOME= yes
USE_LIBTOOL= yes
LIBTOOLFILES= configure libmutt/configure
-
-GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
-GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
-
CONFIGURE_ENV= glibpath="${GLIB_CONFIG}" \
- GTK_CONFIG="${GTK_CONFIG}" \
CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
+pre-patch:
+ @${PERL} -pi -e 's|-lpthread|-pthread|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'
+
.include <bsd.port.mk>
OpenPOWER on IntegriCloud