aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/guile-gtk/Makefile
blob: 336efbd6acfce12cfbd77798d33ffce96badbc99 (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
# New ports collection makefile for:   guile-gtk
# Date created:        1 January 2000
# Whom:                Matt Braithwaite <mab@red-bean.com>
#
# $FreeBSD$
#    $MCom: ports/x11-toolkits/guile-gtk/Makefile,v 1.2 2006/09/10 00:51:17 mezz Exp $

PORTNAME=   guile-gtk
PORTVERSION=    0.60
PORTREVISION=   7
CATEGORIES= x11-toolkits scheme
MASTER_SITES=   ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Guile binding library for GTK+

LIB_DEPENDS=    guile.20:${PORTSDIR}/lang/guile

USE_GMAKE=  yes
USE_GNOME=  gnometarget ltverhack gdkpixbuf libglade
USE_AUTOTOOLS=  libtool:22
USE_LDCONFIG=   yes
CONFIGURE_ARGS= --with-gtkgl=no
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

INFO=       guile-gtk

post-patch:
    @${FIND} ${WRKSRC} -name "*.[ch]" | ${XARGS} ${REINPLACE_CMD} -e \
        's|gtk-1\.2/||g'

.include <bsd.port.mk>