blob: 1ad418ba7bb1f4c1e25e194a2fe26e01811c61ee (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# New ports collection makefile for: rep-gtk
# Date created: 06 October 1999
# Whom: Yukihiro Nakai <nakai@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= rep-gtk
PORTVERSION= 0.13
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= nakai@FreeBSD.org
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
rep.9:${PORTSDIR}/lang/librep
.if !defined(WITHOUT_GNOME)
LIB_DEPENDS+= glade.3:${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>
|