svn commit: r381395 - head/graphics/py-paint
Dmitry Marakasov
amdmi3 at FreeBSD.org
Mon Mar 16 14:08:09 UTC 2015
Author: amdmi3
Date: Mon Mar 16 14:08:08 2015
New Revision: 381395
URL: https://svnweb.freebsd.org/changeset/ports/381395
QAT: https://qat.redports.org/buildarchive/r381395/
Log:
- Add LICENSE
- Strip library
Modified:
head/graphics/py-paint/Makefile
Modified: head/graphics/py-paint/Makefile
==============================================================================
--- head/graphics/py-paint/Makefile Mon Mar 16 14:07:55 2015 (r381394)
+++ head/graphics/py-paint/Makefile Mon Mar 16 14:08:08 2015 (r381395)
@@ -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 at 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}
More information about the svn-ports-all
mailing list