diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-03-16 22:08:08 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-03-16 22:08:08 +0800 |
commit | c9ab2778f2835a1ba0bf9228c1e42edd6464a68f (patch) | |
tree | 7da021d5895230546812d1594f57649b9fca9989 /graphics | |
parent | efb6ddb271428e5b022ca40cf136245810903f8a (diff) | |
download | freebsd-ports-gnome-c9ab2778f2835a1ba0bf9228c1e42edd6464a68f.tar.gz freebsd-ports-gnome-c9ab2778f2835a1ba0bf9228c1e42edd6464a68f.tar.zst freebsd-ports-gnome-c9ab2778f2835a1ba0bf9228c1e42edd6464a68f.zip |
- Add LICENSE
- Strip library
Diffstat (limited to 'graphics')
-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} |