2001-07-08 18:47:15 +02:00
|
|
|
# New ports collection makefile for: py-paint
|
|
|
|
# Date created: 8 July 2001
|
|
|
|
# Whom: Hye-Shik Chang <perky@python.or.kr>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= paint
|
2004-08-08 14:31:47 +02:00
|
|
|
PORTVERSION= 0.3
|
2001-07-08 18:47:15 +02:00
|
|
|
CATEGORIES= graphics python
|
2004-08-08 14:31:47 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= pypaint
|
2001-07-08 18:47:15 +02:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
2004-08-08 14:31:47 +02:00
|
|
|
DISTNAME= pypaint-${PORTVERSION}
|
2001-07-08 18:47:15 +02:00
|
|
|
|
2002-06-25 09:50:58 +02:00
|
|
|
MAINTAINER= perky@FreeBSD.org
|
2003-02-25 07:25:35 +01:00
|
|
|
COMMENT= Simple and flexible painting adaptor to libart for Python
|
2001-07-08 18:47:15 +02:00
|
|
|
|
2004-08-08 14:31:47 +02:00
|
|
|
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
|
2001-07-08 18:47:15 +02:00
|
|
|
|
|
|
|
USE_PYTHON= yes
|
2002-04-29 19:40:01 +02:00
|
|
|
USE_PYDISTUTILS= yes
|
2004-08-08 14:31:47 +02:00
|
|
|
USE_FREETYPE= yes
|
|
|
|
USE_GNOME= libartlgpl2
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libart-2.0 -I${LOCALBASE}/include/freetype1
|
|
|
|
MAKE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
|
2001-07-08 18:47:15 +02:00
|
|
|
|
2004-08-08 14:31:47 +02:00
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
|
2001-07-08 18:47:15 +02:00
|
|
|
|
|
|
|
post-patch:
|
2004-08-08 14:31:47 +02:00
|
|
|
@${REINPLACE_CMD} -e "s,art_lgpl,art_lgpl_2," ${WRKSRC}/setup.py
|
2001-07-08 18:47:15 +02:00
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
2002-04-29 19:40:01 +02:00
|
|
|
post-install:
|
2004-08-08 14:31:47 +02:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${CP} ${WRKSRC}/test* ${EXAMPLESDIR}
|
2001-07-08 18:47:15 +02:00
|
|
|
.endif
|
|
|
|
|
2004-08-08 14:31:47 +02:00
|
|
|
.include <bsd.port.mk>
|