aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm/nautilus2
diff options
context:
space:
mode:
authorreg <reg@FreeBSD.org>2000-10-05 15:17:31 +0800
committerreg <reg@FreeBSD.org>2000-10-05 15:17:31 +0800
commit68dad4980b984b6c03859651af5eefb37c1c9d90 (patch)
treea1b402b639681e7623529a2295404459e0d45edf /x11-fm/nautilus2
parent30fb8569371544b140cbfbe9d8d545a551b7a815 (diff)
downloadfreebsd-ports-gnome-68dad4980b984b6c03859651af5eefb37c1c9d90.tar.gz
freebsd-ports-gnome-68dad4980b984b6c03859651af5eefb37c1c9d90.tar.zst
freebsd-ports-gnome-68dad4980b984b6c03859651af5eefb37c1c9d90.zip
Implement USE_GNOME, part 2.
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"