aboutsummaryrefslogtreecommitdiffstats
path: root/news
diff options
context:
space:
mode:
authorreg <reg@FreeBSD.org>2000-10-05 15:17:31 +0800
committerreg <reg@FreeBSD.org>2000-10-05 15:17:31 +0800
commit68dad4980b984b6c03859651af5eefb37c1c9d90 (patch)
treea1b402b639681e7623529a2295404459e0d45edf /news
parent30fb8569371544b140cbfbe9d8d545a551b7a815 (diff)
downloadfreebsd-ports-gnome-68dad4980b984b6c03859651af5eefb37c1c9d90.tar.gz
freebsd-ports-gnome-68dad4980b984b6c03859651af5eefb37c1c9d90.tar.zst
freebsd-ports-gnome-68dad4980b984b6c03859651af5eefb37c1c9d90.zip
Implement USE_GNOME, part 2.
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: