aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/rep-gtk
diff options
context:
space:
mode:
authorJeremy Lea <reg@FreeBSD.org>2000-10-05 07:22:56 +0000
committerJeremy Lea <reg@FreeBSD.org>2000-10-05 07:22:56 +0000
commit7b4c77811e89d7fc1131ca6e63df3e719bc86b1d (patch)
tree9695733a1620c4c290c86f161a4f1b73160ed39a /x11-toolkits/rep-gtk
parentc76cf46929051f9dd322487d888c82f104026e6d (diff)
downloadports-7b4c77811e89d7fc1131ca6e63df3e719bc86b1d.tar.gz
ports-7b4c77811e89d7fc1131ca6e63df3e719bc86b1d.zip
Implement WANT_GNOME.
Notes
Notes: svn path=/head/; revision=33430
Diffstat (limited to 'x11-toolkits/rep-gtk')
-rw-r--r--x11-toolkits/rep-gtk/Makefile35
1 files changed, 14 insertions, 21 deletions
diff --git a/x11-toolkits/rep-gtk/Makefile b/x11-toolkits/rep-gtk/Makefile
index 4d4768ca4906..8cabca1d70a2 100644
--- a/x11-toolkits/rep-gtk/Makefile
+++ b/x11-toolkits/rep-gtk/Makefile
@@ -14,34 +14,27 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= sobomax@FreeBSD.org
-LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
- rep.10:${PORTSDIR}/lang/librep
-.if !defined(WITHOUT_GNOME)
-LIB_DEPENDS+= glade.4:${PORTSDIR}/devel/libglade \
- gnome.4:${PORTSDIR}/x11/gnomelibs \
- gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf
-.endif
-
-GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
-GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
+LIB_DEPENDS= rep.10:${PORTSDIR}/lang/librep
PLIST_SUB= GNUHOST=${ARCH}--freebsd${OSREL}
USE_X_PREFIX= yes
USE_GMAKE= yes
+USE_GTK= yes
+WANT_GNOME= yes
GNU_CONFIGURE= yes
-.if defined(WITHOUT_GNOME)
-CONFIGURE_ARGS= --without-libglade --without-gnome --without-gdk-pixbuf \
- --without-gnome-canvas-pixbuf
-PLIST_SUB+= GNOME:="@comment "
-.else
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib"
+
+.include <bsd.port.pre.mk>
+
+.if defined(HAVE_GNOME)
+LIB_DEPENDS+= glade.4:${PORTSDIR}/devel/libglade
CONFIGURE_ARGS= --with-gnome --with-libglade --with-gdk-pixbuf \
--with-gnome-canvas-pixbuf
-PLIST_SUB+= GNOME:=""
+.else
+CONFIGURE_ARGS= --without-libglade --without-gnome --without-gdk-pixbuf \
+ --without-gnome-canvas-pixbuf
.endif
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- GTK_CONFIG="${GTK_CONFIG}" \
- GLIB_CONFIG="${GLIB_CONFIG}" \
- LIBS="-L${LOCALBASE}/lib"
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>