aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-04-22 12:46:36 +0800
committermarcus <marcus@FreeBSD.org>2003-04-22 12:46:36 +0800
commit7f1f373c25f74ecfbaf9c5bfb4074a95228216f6 (patch)
treea275bb65cb1b83d2d0c4e0c043186a0176c357ce /www
parente19daf26a391b9070456a133fb8dbaf46ca059c8 (diff)
downloadfreebsd-ports-gnome-7f1f373c25f74ecfbaf9c5bfb4074a95228216f6.tar.gz
freebsd-ports-gnome-7f1f373c25f74ecfbaf9c5bfb4074a95228216f6.tar.zst
freebsd-ports-gnome-7f1f373c25f74ecfbaf9c5bfb4074a95228216f6.zip
Convert to new GNOME infrastructure.
Diffstat (limited to 'www')
-rw-r--r--www/nautilus-gtkhtml/Makefile13
1 files changed, 2 insertions, 11 deletions
diff --git a/www/nautilus-gtkhtml/Makefile b/www/nautilus-gtkhtml/Makefile
index 495f789232ce..125b987eeed1 100644
--- a/www/nautilus-gtkhtml/Makefile
+++ b/www/nautilus-gtkhtml/Makefile
@@ -16,26 +16,17 @@ DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= A simple NautilusView component for displaying html files in Nautilus
-LIB_DEPENDS= gtkhtml-2.0:${PORTSDIR}/www/libgtkhtml \
- nautilus.2:${PORTSDIR}/x11-fm/nautilus2
-
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_REINPLACE= yes
+USE_GNOME= gnomeprefix gnomehack libgtkhtml nautilus2
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}
-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|[(]datadir[)]/gnome/|(datadir)/|g ; \
- s|[(]libdir[)]/bonobo/servers|(prefix)/libdata/bonobo/servers|g ; \
- s|[(]datadir[)]/locale|(prefix)/share/locale|g'
.include <bsd.port.mk>