2004-12-06 00:22:02 +01:00
|
|
|
# New ports collection makefile for: py-cairo
|
|
|
|
# Date created: 2004-12-05
|
|
|
|
# Whom: Michael Johnson <ahze@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
2010-11-20 16:37:08 +01:00
|
|
|
# $MCom: ports/graphics/py-cairo/Makefile,v 1.28 2010/11/15 14:12:13 kwm Exp $
|
2004-12-06 00:22:02 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= cairo
|
2010-11-20 16:37:08 +01:00
|
|
|
PORTVERSION= 1.8.10
|
2004-12-06 00:22:02 +01:00
|
|
|
CATEGORIES= graphics python
|
Presenting GNOME 2.18 for FreeBSD. GNOME 2.18 is a departure from recent GNOME
releases in that it focuses more on stability and functionality than on
new features. Not that it doesn't have its share of new and exciting
items. See http://www.gnome.org/start/2.18/ for all the goodies in
this release.
GNOME 2.18 for FreeBSD would not have been possible without the hard work
of the FreeBSD GNOME Team and our intrepid band of testers including
J. W. Ballantine, Pawel Worach, Yasuda Keisuke, Pascal Hofstee, miwi,
Yoshihiro Ota, Vladimir Grebenschikov, Jukka A. Ukkonen,
Phillip Neumann, Franz Klammer, and Neal Delmonico.
2007-03-19 06:14:07 +01:00
|
|
|
MASTER_SITES= http://cairographics.org/releases/
|
2004-12-06 00:22:02 +01:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
2010-11-20 16:37:08 +01:00
|
|
|
DISTNAME= py2${PORTNAME}-${PORTVERSION}
|
2004-12-06 00:22:02 +01:00
|
|
|
|
2005-09-05 01:58:08 +02:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2004-12-06 00:22:02 +01:00
|
|
|
COMMENT= Python bindings for Cairo
|
|
|
|
|
2005-11-05 07:06:59 +01:00
|
|
|
LIB_DEPENDS= cairo.2:${PORTSDIR}/graphics/cairo
|
2004-12-06 00:22:02 +01:00
|
|
|
|
2010-11-20 16:37:08 +01:00
|
|
|
WRKSRC= ${WRKDIR}/py${PORTNAME}-${PORTVERSION}
|
|
|
|
USE_PYTHON= 2.6-2.7
|
2005-11-05 07:06:59 +01:00
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_GNOME= gnometarget gnomehack
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2004-12-06 00:22:02 +01:00
|
|
|
|
2005-11-05 07:06:59 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|; \
|
|
|
|
s|SUBDIRS = cairo examples test|SUBDIRS = cairo examples|' \
|
|
|
|
${WRKSRC}/Makefile.in
|
|
|
|
|
2007-10-04 03:14:50 +02:00
|
|
|
.include <bsd.port.mk>
|