aboutsummaryrefslogtreecommitdiff
path: root/databases/py-cdb
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-03-27 10:30:20 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-03-27 10:30:20 +0000
commit6fdd664665e6182bc82ae2bd551f910352fb00a6 (patch)
tree380b9143b7090f4b4bdc35490830f0b319f83ad6 /databases/py-cdb
parent49a789c115c94874b359e8b4631fa5965d2b9ddd (diff)
downloadports-6fdd664665e6182bc82ae2bd551f910352fb00a6.tar.gz
ports-6fdd664665e6182bc82ae2bd551f910352fb00a6.zip
Notes
Diffstat (limited to 'databases/py-cdb')
-rw-r--r--databases/py-cdb/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/databases/py-cdb/Makefile b/databases/py-cdb/Makefile
index 0cee46e5e696..c4ee251cb7bf 100644
--- a/databases/py-cdb/Makefile
+++ b/databases/py-cdb/Makefile
@@ -11,6 +11,9 @@ DISTNAME= python-${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Python interface to DJB's constant database library
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
USES= python:2
USE_PYTHON= distutils autoplist
@@ -23,6 +26,7 @@ PORTEXAMPLES= Example
OPTIONS_DEFINE= DOCS EXAMPLES
post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/cdbmodule.so
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}