diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-04-26 09:23:54 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-04-26 09:23:54 +0000 |
commit | 598e3b95e377a3ff6d791057125fe27b1ffdb352 (patch) | |
tree | ae2da985769260bb23bc25c81c014e3f0f5add03 /graphics/py-paint | |
parent | 336a28bb21cb0a1f37db2940b881f43d8f38ba36 (diff) | |
download | ports-598e3b95e377a3ff6d791057125fe27b1ffdb352.tar.gz ports-598e3b95e377a3ff6d791057125fe27b1ffdb352.zip |
Notes
Diffstat (limited to 'graphics/py-paint')
-rw-r--r-- | graphics/py-paint/Makefile | 15 | ||||
-rw-r--r-- | graphics/py-paint/pkg-plist | 8 |
2 files changed, 10 insertions, 13 deletions
diff --git a/graphics/py-paint/Makefile b/graphics/py-paint/Makefile index 4d9110826828..d8e480e17aec 100644 --- a/graphics/py-paint/Makefile +++ b/graphics/py-paint/Makefile @@ -1,13 +1,9 @@ -# New ports collection makefile for: py-paint -# Date created: 8 July 2001 -# Whom: Hye-Shik Chang <perky@python.or.kr> -# +# Created by: Hye-Shik Chang <perky@python.or.kr> # $FreeBSD$ -# PORTNAME= paint PORTVERSION= 0.3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics python MASTER_SITES= SF/py${PORTNAME}/py${PORTNAME}/py${PORTNAME}%20${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -16,11 +12,11 @@ DISTNAME= pypaint-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Simple and flexible painting adaptor to libart for Python -LIB_DEPENDS= png15:${PORTSDIR}/graphics/png +LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \ + ttf:${PORTSDIR}/print/freetype USE_PYTHON= yes USE_PYDISTUTILS= yes -USE_FREETYPE= yes USE_GNOME= libartlgpl2 NO_WRKSUBDIR= yes CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libart-2.0 \ @@ -29,10 +25,11 @@ LDFLAGS+= -L${LOCALBASE}/lib EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} +.include <bsd.port.options.mk> post-patch: @${REINPLACE_CMD} -e "s,art_lgpl,art_lgpl_2," ${WRKSRC}/setup.py -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MEXAMPLES} post-install: @${MKDIR} ${EXAMPLESDIR} ${CP} ${WRKSRC}/test* ${EXAMPLESDIR} diff --git a/graphics/py-paint/pkg-plist b/graphics/py-paint/pkg-plist index 7043947e266d..b5e9f0decbf2 100644 --- a/graphics/py-paint/pkg-plist +++ b/graphics/py-paint/pkg-plist @@ -1,5 +1,5 @@ %%PYTHON_SITELIBDIR%%/paint.so -%%PORTDOCS%%%%EXAMPLESDIR%%/test_bar.py -%%PORTDOCS%%%%EXAMPLESDIR%%/test_paint.py -%%PORTDOCS%%%%EXAMPLESDIR%%/testpie.py -%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_bar.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_paint.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testpie.py +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% |