summaryrefslogtreecommitdiff
path: root/x11-fm/nautilus2
diff options
context:
space:
mode:
authorJeremy Lea <reg@FreeBSD.org>2000-10-05 07:17:31 +0000
committerJeremy Lea <reg@FreeBSD.org>2000-10-05 07:17:31 +0000
commitc76cf46929051f9dd322487d888c82f104026e6d (patch)
treef415aeddadc6782b1474ebd88710bfa86cf08711 /x11-fm/nautilus2
parentImplement USE_GNOME, part 1. (diff)
Implement USE_GNOME, part 2.
Notes
Notes: svn path=/head/; revision=33429
Diffstat (limited to 'x11-fm/nautilus2')
-rw-r--r--x11-fm/nautilus2/Makefile15
1 files changed, 4 insertions, 11 deletions
diff --git a/x11-fm/nautilus2/Makefile b/x11-fm/nautilus2/Makefile
index a532c06cb66f..cc65aeab8355 100644
--- a/x11-fm/nautilus2/Makefile
+++ b/x11-fm/nautilus2/Makefile
@@ -25,16 +25,15 @@ MOZILLA= mozilla-embedded
BUILD_DEPENDS= ${X11BASE}/lib/${MOZILLA}/libgtkembedmoz.so:${PORTSDIR}/www/${MOZILLA}
.endif
-GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
-GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
-
USE_GMAKE= yes
USE_X_PREFIX= yes
+USE_GNOME= yes
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-pthread -L${LOCALBASE}/lib" \
+ LIBPNG="-L${LOCALBASE}/lib -lpng -lz ${MOZILLA_LIBS}"
-CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
- --datadir=${PREFIX}/share/gnome
.if defined(WITH_MOZILLA)
CONFIGURE_ARGS+= --with-mozilla-lib-place=${X11BASE}/lib/${MOZILLA} \
--with-mozilla-include-place=${X11BASE}/include/${MOZILLA}
@@ -45,12 +44,6 @@ MOZILLA_LIBS= ""
PLIST_SUB+= MOZILLA:="@comment "
.endif
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- GLIB_CONFIG="${GLIB_CONFIG}" \
- GTK_CONFIG="${GTK_CONFIG}" \
- LIBS="-pthread -L${LOCALBASE}/lib" \
- LIBPNG="-L${LOCALBASE}/lib -lpng -lz ${MOZILLA_LIBS}"
-
.if !defined(WITH_MOZILLA)
pre-extract:
@${ECHO} "You can add embedded mozilla support by defining WITH_MOZILLA"