summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-03-16 14:08:08 +0000
committeramdmi3 <amdmi3@FreeBSD.org>2015-03-16 14:08:08 +0000
commitc9ab2778f2835a1ba0bf9228c1e42edd6464a68f (patch)
tree7da021d5895230546812d1594f57649b9fca9989
parentefb6ddb271428e5b022ca40cf136245810903f8a (diff)
downloadFreeBSD-ports-c9ab2778f2835a1ba0bf9228c1e42edd6464a68f.zip
FreeBSD-ports-c9ab2778f2835a1ba0bf9228c1e42edd6464a68f.tar.gz
- Add LICENSE
- Strip library
-rw-r--r--graphics/py-paint/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/graphics/py-paint/Makefile b/graphics/py-paint/Makefile
index b2616b5..941eada 100644
--- a/graphics/py-paint/Makefile
+++ b/graphics/py-paint/Makefile
@@ -3,7 +3,7 @@
PORTNAME= paint
PORTVERSION= 0.3
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= graphics python
MASTER_SITES= SF/py${PORTNAME}/py${PORTNAME}/py${PORTNAME}%20${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,6 +12,9 @@ DISTNAME= pypaint-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple and flexible painting adaptor to libart for Python
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE.TXT
+
LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \
libttf.so:${PORTSDIR}/print/freetype
@@ -30,6 +33,7 @@ post-patch:
@${REINPLACE_CMD} -e "s,art_lgpl,art_lgpl_2," ${WRKSRC}/setup.py
post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/paint.so
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${CP} ${WRKSRC}/test* ${STAGEDIR}${EXAMPLESDIR}
OpenPOWER on IntegriCloud