aboutsummaryrefslogtreecommitdiffstats
path: root/devel/gnomevfs2
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-07-25 21:42:57 +0800
committersobomax <sobomax@FreeBSD.org>2002-07-25 21:42:57 +0800
commitdd9ab5991b37a0494680a6d407eb5d78486ac260 (patch)
treece1100381597055df62b20d96893a18bc360939d /devel/gnomevfs2
parent943e44b430c43c7090d8ccc855b00c8f3513b902 (diff)
downloadfreebsd-ports-gnome-dd9ab5991b37a0494680a6d407eb5d78486ac260.tar.gz
freebsd-ports-gnome-dd9ab5991b37a0494680a6d407eb5d78486ac260.tar.zst
freebsd-ports-gnome-dd9ab5991b37a0494680a6d407eb5d78486ac260.zip
Use USE_GNOMENG.
Diffstat (limited to 'devel/gnomevfs2')
-rw-r--r--devel/gnomevfs2/Makefile15
-rw-r--r--devel/gnomevfs2/pkg-plist5
2 files changed, 4 insertions, 16 deletions
diff --git a/devel/gnomevfs2/Makefile b/devel/gnomevfs2/Makefile
index bde103e0b5b3..3c8ff549ff26 100644
--- a/devel/gnomevfs2/Makefile
+++ b/devel/gnomevfs2/Makefile
@@ -15,32 +15,25 @@ DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
-BUILD_DEPENDS= ${X11BASE}/libdata/pkgconfig/gnome-mime-data-2.0.pc:${PORTSDIR}/misc/gnomemimedata
LIB_DEPENDS= gconf-2.5:${PORTSDIR}/devel/gconf2 \
bonobo-2.0:${PORTSDIR}/devel/libbonobo
-RUN_DEPENDS= ${X11BASE}/libdata/pkgconfig/gnome-mime-data-2.0.pc:${PORTSDIR}/misc/gnomemimedata
USE_BZIP2= yes
USE_GMAKE= yes
USE_X_PREFIX= yes
+USE_GNOMENG= yes
+USE_GNOME= gnomeprefix gnomehack gnomehier gnomemimedata
USE_REINPLACE= yes
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
-CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc \
- --localstatedir=${PREFIX}/share/gnome \
- --datadir=${PREFIX}/share/gnome \
- --disable-gtk-doc \
- --with-gconf-source=xml::${PREFIX}/etc/gconf/gconf.xml.defaults
+CONFIGURE_ARGS= --with-gconf-source=xml::${PREFIX}/etc/gconf/gconf.xml.defaults
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
BSD_PTHREAD_LIBS=${PTHREAD_LIBS}
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
-pre-patch:
+post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
- @find ${WRKSRC} -name "Makefile.in*" | xargs ${REINPLACE_CMD} -e \
- 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g ; \
- s|[(]libdir[)]/bonobo/servers|(prefix)/libdata/bonobo/servers|g'
@find ${WRKSRC} -name "*info.in" | xargs ${REINPLACE_CMD} -e \
's|\@datadir\@/gnome|\@datadir\@|g'
diff --git a/devel/gnomevfs2/pkg-plist b/devel/gnomevfs2/pkg-plist
index 75202c452289..799fa771bfaa 100644
--- a/devel/gnomevfs2/pkg-plist
+++ b/devel/gnomevfs2/pkg-plist
@@ -168,17 +168,12 @@ share/locale/zh_TW/LC_MESSAGES/gnome-vfs-2.0.mo
@dirrm share/doc/gnome-vfs-2.0
@dirrm lib/vfs/2.0/extfs
@dirrm lib/vfs/2.0
-@dirrm lib/gnome-vfs-2.0/modules
-@dirrm lib/gnome-vfs-2.0
@dirrm include/gnome-vfs-module-2.0/libgnomevfs
@dirrm include/gnome-vfs-module-2.0
@dirrm include/gnome-vfs-2.0/libgnomevfs
@dirrm include/gnome-vfs-2.0
@dirrm etc/gnome-vfs-2.0/vfolders
-@dirrm etc/gnome-vfs-2.0/modules
-@dirrm etc/gnome-vfs-2.0
@dirrm etc/gconf/gconf.xml.defaults/system/http_proxy
@dirrm etc/gconf/gconf.xml.defaults/system
@dirrm etc/gconf/gconf.xml.defaults/schemas/system/http_proxy
@dirrm etc/gconf/gconf.xml.defaults/schemas/system
-@unexec /bin/rmdir %D/lib/vfs 2>/dev/null || /usr/bin/true