aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/rep-gtk2/Makefile
diff options
context:
space:
mode:
authorreg <reg@FreeBSD.org>2000-10-05 15:22:56 +0800
committerreg <reg@FreeBSD.org>2000-10-05 15:22:56 +0800
commit05b7017f031a0b7ec77897d1ff4479959829076e (patch)
tree26ae85d09c84baa372a2949e4ad9d1546c408c7e /x11-toolkits/rep-gtk2/Makefile
parent68dad4980b984b6c03859651af5eefb37c1c9d90 (diff)
downloadfreebsd-ports-gnome-05b7017f031a0b7ec77897d1ff4479959829076e.tar.gz
freebsd-ports-gnome-05b7017f031a0b7ec77897d1ff4479959829076e.tar.zst
freebsd-ports-gnome-05b7017f031a0b7ec77897d1ff4479959829076e.zip
Implement WANT_GNOME.
Diffstat (limited to 'x11-toolkits/rep-gtk2/Makefile')
-rw-r--r--x11-toolkits/rep-gtk2/Makefile35
1 files changed, 14 insertions, 21 deletions
diff --git a/x11-toolkits/rep-gtk2/Makefile b/x11-toolkits/rep-gtk2/Makefile
index 4d4768ca4906..8cabca1d70a2 100644
--- a/x11-toolkits/rep-gtk2/Makefile
+++ b/x11-toolkits/rep-gtk2/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>