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-05-17 16:36:19 +00:00
|
|
|
PORTVERSION= 0.10
|
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
|
|
|
|
|
|
|
|
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
|
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
|
2000-01-12 04:36:05 +00:00
|
|
|
BUILD_DEPENDS= rep:${PORTSDIR}/lang/librep
|
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
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS= --with-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"
|
|
|
|
|
2000-05-17 16:36:19 +00:00
|
|
|
.if defined(NOGNOME)
|
|
|
|
PLIST= ${PKGDIR}/PLIST.nognome
|
|
|
|
.endif
|
|
|
|
|
1999-11-11 10:17:20 +00:00
|
|
|
.include <bsd.port.mk>
|