diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-03-16 14:08:08 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-03-16 14:08:08 +0000 |
commit | 3a54aaadea77e03d095aea485f62ffa9a6278a3c (patch) | |
tree | 7da021d5895230546812d1594f57649b9fca9989 | |
parent | - Add LICENSE_FILE (diff) |
- Add LICENSE
- Strip library
Notes
Notes:
svn path=/head/; revision=381395
-rw-r--r-- | graphics/py-paint/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/graphics/py-paint/Makefile b/graphics/py-paint/Makefile index b2616b55ac93..941eadae4d44 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} |