From c9ab2778f2835a1ba0bf9228c1e42edd6464a68f Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Mon, 16 Mar 2015 14:08:08 +0000 Subject: - Add LICENSE - Strip library --- graphics/py-paint/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'graphics') 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} -- cgit