aboutsummaryrefslogtreecommitdiff
path: root/devel/glade
diff options
context:
space:
mode:
authorJeremy Lea <reg@FreeBSD.org>2000-10-05 07:10:50 +0000
committerJeremy Lea <reg@FreeBSD.org>2000-10-05 07:10:50 +0000
commitb7bdcd418e7aca3dd98409e16a4c4ae9bc289d02 (patch)
tree1b4ff069c830fd60b78ef9613fa9aa5abef69f83 /devel/glade
parentbebd89314e57ff34ea47724c5605a0f32c425dcf (diff)
downloadports-b7bdcd418e7aca3dd98409e16a4c4ae9bc289d02.tar.gz
ports-b7bdcd418e7aca3dd98409e16a4c4ae9bc289d02.zip
Notes
Diffstat (limited to 'devel/glade')
-rw-r--r--devel/glade/Makefile17
-rw-r--r--devel/glade/pkg-plist1
2 files changed, 11 insertions, 7 deletions
diff --git a/devel/glade/Makefile b/devel/glade/Makefile
index cbf755a0f200..46540636d01a 100644
--- a/devel/glade/Makefile
+++ b/devel/glade/Makefile
@@ -13,17 +13,22 @@ MASTER_SITE_SUBDIR= stable/sources/glade
MAINTAINER= ade@FreeBSD.org
-LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs
-RUN_DEPENDS= gnomecc:${PORTSDIR}/sysutils/gnomecontrolcenter
-
-GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
-
FETCH_BEFORE_ARGS= -b
USE_X_PREFIX= yes
+USE_GNOME= yes
USE_LIBTOOL= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- GTK_CONFIG="${GTK_CONFIG}" \
LIBS="-L${LOCALBASE}/libs"
+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\)/\@PACKAGE\@|\$\(prefix\)/share/\@PACKAGE\@|g ; \
+ s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
+
.include <bsd.port.mk>
diff --git a/devel/glade/pkg-plist b/devel/glade/pkg-plist
index 0b3b4f6c7b1b..8db740474c64 100644
--- a/devel/glade/pkg-plist
+++ b/devel/glade/pkg-plist
@@ -139,7 +139,6 @@ share/locale/uk/LC_MESSAGES/glade.mo
@dirrm share/gnome/help/glade/C/faq
@dirrm share/gnome/help/glade/C
@dirrm share/gnome/help/glade
-@unexec rmdir %D/share/gnome/apps/Development 2>/dev/null || true
@dirrm share/glade/gtk
@dirrm share/glade/gnome
@dirrm share/glade