1999-11-11 10:17:20 +00:00
|
|
|
# New ports collection makefile for: rep-gtk
|
|
|
|
# Date created: 06 October 1999
|
|
|
|
# Whom: Yukihiro Nakai <nakai@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-10 01:11:24 +00:00
|
|
|
PORTNAME= rep-gtk
|
2000-07-03 11:02:51 +00:00
|
|
|
PORTVERSION= 0.12
|
1999-11-11 10:17:20 +00:00
|
|
|
CATEGORIES= x11-toolkits
|
2000-06-14 13:21:38 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
1999-11-11 10:17:20 +00:00
|
|
|
|
|
|
|
MAINTAINER= nakai@FreeBSD.org
|
|
|
|
|
2000-07-03 11:02:51 +00:00
|
|
|
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
|
|
|
|
rep.9:${PORTSDIR}/lang/librep
|
2000-02-18 09:34:27 +00:00
|
|
|
.if !defined(NOGNOME)
|
2000-03-21 17:47:33 +00:00
|
|
|
LIB_DEPENDS+= glade.3:${PORTSDIR}/devel/libglade \
|
2000-06-01 16:25:45 +00:00
|
|
|
gnome.4:${PORTSDIR}/x11/gnomelibs
|
2000-02-18 09:34:27 +00:00
|
|
|
.endif
|
1999-11-11 10:17:20 +00:00
|
|
|
|
|
|
|
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
|
|
|
|
GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
|
|
|
|
|
|
|
|
PLIST_SUB= GNUHOST=${ARCH}--freebsd${OSREL}
|
|
|
|
|
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2000-02-18 09:34:27 +00:00
|
|
|
.if defined(NOGNOME)
|
2000-03-08 12:11:22 +00:00
|
|
|
CONFIGURE_ARGS= --without-libglade --without-gnome
|
2000-07-03 11:02:51 +00:00
|
|
|
PLIST_SUB+= GNOME:="@comment "
|
2000-03-08 12:11:22 +00:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS= --with-gnome
|
2000-07-03 11:02:51 +00:00
|
|
|
PLIST_SUB+= GNOME:=""
|
2000-02-18 09:34:27 +00:00
|
|
|
.endif
|
2000-02-16 04:10:30 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
1999-11-11 10:17:20 +00:00
|
|
|
GTK_CONFIG="${GTK_CONFIG}" \
|
|
|
|
GLIB_CONFIG="${GLIB_CONFIG}" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|