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

PORTNAME=	gtkcairo
PORTVERSION=	0.3
PORTREVISION=	5
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_BZIP2=	yes
USE_GNOME=	gtk20 gnometarget gnomehack
INSTALLS_SHLIB=	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>