aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gtkcairo/Makefile
blob: eba78f744d0ddcde2cbac98afd01602685881e4d (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
# New ports collection makefile for:    gtkcairo
# Date created:     2004-10-06
# Whom:         Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   gtkcairo
PORTVERSION=    0.3
PORTREVISION=   6
CATEGORIES= graphics
MASTER_SITES=   ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= ahze

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Gtk+ bindings to cairo

LIB_DEPENDS=    cairo.2:${PORTSDIR}/graphics/cairo

USE_AUTOTOOLS=  libtool:15
USE_BZIP2=  yes
USE_GNOME=  gtk20 gnometarget gnomehack
USE_LDCONFIG=   yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"

PLIST_FILES=    include/gtkcairo.h \
        lib/libgtkcairo.a \
        lib/libgtkcairo.la \
        lib/libgtkcairo.so \
        lib/libgtkcairo.so.2 \
        libdata/pkgconfig/gtkcairo.pc

post-patch:
    @${REINPLACE_CMD} -e 's|tests||' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>