aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-03-27 18:30:20 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-03-27 18:30:20 +0800
commitff0f2231f3fa37bbeca3b0eafcd0ea99cef61a4d (patch)
tree380b9143b7090f4b4bdc35490830f0b319f83ad6 /databases
parent5c8d58cf730f679aa82792dca141dac78b52ad54 (diff)
downloadfreebsd-ports-gnome-ff0f2231f3fa37bbeca3b0eafcd0ea99cef61a4d.tar.gz
freebsd-ports-gnome-ff0f2231f3fa37bbeca3b0eafcd0ea99cef61a4d.tar.zst
freebsd-ports-gnome-ff0f2231f3fa37bbeca3b0eafcd0ea99cef61a4d.zip
- Add LICENSE
- Strip library
Diffstat (limited to 'databases')
-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}