summaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authorJeremy Lea <reg@FreeBSD.org>2000-10-05 07:17:31 +0000
committerJeremy Lea <reg@FreeBSD.org>2000-10-05 07:17:31 +0000
commitc76cf46929051f9dd322487d888c82f104026e6d (patch)
treef415aeddadc6782b1474ebd88710bfa86cf08711 /news
parentImplement USE_GNOME, part 1. (diff)
Implement USE_GNOME, part 2.
Notes
Notes: svn path=/head/; revision=33429
Diffstat (limited to 'news')
-rw-r--r--news/grn/Makefile19
-rw-r--r--news/pan/Makefile13
-rw-r--r--news/pan2/Makefile13
3 files changed, 16 insertions, 29 deletions
diff --git a/news/grn/Makefile b/news/grn/Makefile
index 1f46e97a30f4..48fe7347c53d 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>
diff --git a/news/pan/Makefile b/news/pan/Makefile
index d723ce81558e..2ed18f20f7bf 100644
--- a/news/pan/Makefile
+++ b/news/pan/Makefile
@@ -13,23 +13,16 @@ DISTNAME= pan-0.8.1beta6
MAINTAINER= ade@FreeBSD.org
-LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs \
- gnomeprint.12:${PORTSDIR}/print/gnomeprint \
+LIB_DEPENDS= gnomeprint.12:${PORTSDIR}/print/gnomeprint \
uu.1:${PORTSDIR}/converters/uulib \
unicode.0:${PORTSDIR}/devel/libunicode
-RUN_DEPENDS= gnomecc:${PORTSDIR}/sysutils/gnomecontrolcenter
-
-GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
-GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
USE_BZIP2= yes
USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_GNOME= yes
USE_LIBTOOL= yes
-CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
- --datadir=${PREFIX}/share/gnome
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- GLIB_CONFIG="${GLIB_CONFIG}" \
- GTK_CONFIG="${GTK_CONFIG}" \
LIBS="-L${LOCALBASE}/lib -luu"
pre-patch:
diff --git a/news/pan2/Makefile b/news/pan2/Makefile
index d723ce81558e..2ed18f20f7bf 100644
--- a/news/pan2/Makefile
+++ b/news/pan2/Makefile
@@ -13,23 +13,16 @@ DISTNAME= pan-0.8.1beta6
MAINTAINER= ade@FreeBSD.org
-LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs \
- gnomeprint.12:${PORTSDIR}/print/gnomeprint \
+LIB_DEPENDS= gnomeprint.12:${PORTSDIR}/print/gnomeprint \
uu.1:${PORTSDIR}/converters/uulib \
unicode.0:${PORTSDIR}/devel/libunicode
-RUN_DEPENDS= gnomecc:${PORTSDIR}/sysutils/gnomecontrolcenter
-
-GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
-GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
USE_BZIP2= yes
USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_GNOME= yes
USE_LIBTOOL= yes
-CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
- --datadir=${PREFIX}/share/gnome
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- GLIB_CONFIG="${GLIB_CONFIG}" \
- GTK_CONFIG="${GTK_CONFIG}" \
LIBS="-L${LOCALBASE}/lib -luu"
pre-patch: