summaryrefslogtreecommitdiff
path: root/x11/gnomedesktop/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gnomedesktop/Makefile')
-rw-r--r--x11/gnomedesktop/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/x11/gnomedesktop/Makefile b/x11/gnomedesktop/Makefile
index 59a07d095d7b..efc71fb4d6d9 100644
--- a/x11/gnomedesktop/Makefile
+++ b/x11/gnomedesktop/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gnomedesktop
-PORTVERSION= 2.0.3
+PORTVERSION= 2.0.4
CATEGORIES= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= 2.0.0/sources/gnome-desktop
@@ -21,23 +21,20 @@ USE_BZIP2= yes
USE_X_PREFIX= yes
USE_XPM= yes
USE_REINPLACE= yes
+USE_GNOMENG= yes
+USE_GNOME= gnomeprefix gnomehack gnomehier
USE_GMAKE= yes
USE_BISON= yes
INSTALLS_SHLIB= yes
USE_LIBTOOL= yes
-CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
- --datadir=${PREFIX}/share/gnome
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
MAN1= gnome-about.1
-pre-patch:
+post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
- @find ${WRKSRC} -name "Makefile.in*" | xargs ${REINPLACE_CMD} -e \
- 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g ; \
- s|[(]datadir[)]/gnome/|(datadir)/|g'
.include <bsd.port.mk>