aboutsummaryrefslogtreecommitdiff
path: root/graphics/gnofract4d
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 /graphics/gnofract4d
parentbebd89314e57ff34ea47724c5605a0f32c425dcf (diff)
downloadports-b7bdcd418e7aca3dd98409e16a4c4ae9bc289d02.tar.gz
ports-b7bdcd418e7aca3dd98409e16a4c4ae9bc289d02.zip
Notes
Diffstat (limited to 'graphics/gnofract4d')
-rw-r--r--graphics/gnofract4d/Makefile16
-rw-r--r--graphics/gnofract4d/pkg-plist1
2 files changed, 10 insertions, 7 deletions
diff --git a/graphics/gnofract4d/Makefile b/graphics/gnofract4d/Makefile
index b05780cde348..df340c259227 100644
--- a/graphics/gnofract4d/Makefile
+++ b/graphics/gnofract4d/Makefile
@@ -13,15 +13,17 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
-LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs
-
-GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
USE_X_PREFIX= yes
+USE_NEWGCC= yes
+USE_GNOME= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= GTK_CONFIG=${GTK_CONFIG} \
- CPPFLAGS="-I${LOCALBASE}/include" \
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
-CONFIGURE_ARGS+=--datadir=${PREFIX}/share
-USE_NEWGCC= yes
+
+pre-patch:
+ @${PERL} -pi -e 's|-lpthread|-pthread|g ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+ @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
+ 's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g'
.include <bsd.port.mk>
diff --git a/graphics/gnofract4d/pkg-plist b/graphics/gnofract4d/pkg-plist
index 41da483b5d9c..0bbfde6f65de 100644
--- a/graphics/gnofract4d/pkg-plist
+++ b/graphics/gnofract4d/pkg-plist
@@ -86,6 +86,7 @@ share/gnome/pixmaps/gnofract4d/gnofract4d-logo.png
share/locale/fr/LC_MESSAGES/gnofract4d.mo
@dirrm share/gnome/pixmaps/gnofract4d
@dirrm share/gnome/maps/gnofract4d
+@dirrm share/gnome/maps
@dirrm share/gnome/help/gnofract4d/C/images
@dirrm share/gnome/help/gnofract4d/C
@dirrm share/gnome/help/gnofract4d