1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/x11-toolkits/rep-gtk2/Makefile

46 lines
1.2 KiB
Makefile

# New ports collection makefile for: rep-gtk
# Date created: 06 October 1999
# Whom: Yukihiro Nakai <nakai@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= rep-gtk
PORTVERSION= 0.14
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
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
PLIST_SUB= GNUHOST=${ARCH}--freebsd${OSREL}
USE_GMAKE= 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_ARGS= --with-gnome --with-libglade --with-gdk-pixbuf \
--with-gnome-canvas-pixbuf
PLIST_SUB+= GNOME:=""
.endif
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
GTK_CONFIG="${GTK_CONFIG}" \
GLIB_CONFIG="${GLIB_CONFIG}" \
LIBS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>