aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2015-09-03 01:03:23 +0800
committersunpoet <sunpoet@FreeBSD.org>2015-09-03 01:03:23 +0800
commita2625b2a67a24b3b8fc9ba8aebaf62a03ce86121 (patch)
treec6bdbee7b3792ede47f1e7160f159d474c249976 /databases
parentdb0311d69103fec3c23433ca047ee96923583955 (diff)
downloadfreebsd-ports-gnome-a2625b2a67a24b3b8fc9ba8aebaf62a03ce86121.tar.gz
freebsd-ports-gnome-a2625b2a67a24b3b8fc9ba8aebaf62a03ce86121.tar.zst
freebsd-ports-gnome-a2625b2a67a24b3b8fc9ba8aebaf62a03ce86121.zip
- Strip shared library
- Bump PORTREVISION for package change
Diffstat (limited to 'databases')
-rw-r--r--databases/py-psycopg2/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/databases/py-psycopg2/Makefile b/databases/py-psycopg2/Makefile
index 67aa02dc08c1..419f723f9563 100644
--- a/databases/py-psycopg2/Makefile
+++ b/databases/py-psycopg2/Makefile
@@ -3,6 +3,7 @@
PORTNAME= psycopg2
PORTVERSION= 2.6.1
+PORTREVISION= 1
CATEGORIES= databases python
MASTER_SITES= http://initd.org/psycopg/tarballs/PSYCOPG-${PORTVERSION:R:S|.|-|}/ \
CHEESESHOP
@@ -21,6 +22,9 @@ USES= pgsql python
PORTDOCS= AUTHORS INSTALL NEWS PKG-INFO README.rst
PORTEXAMPLES= *
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/psycopg2/_psycopg.so
+
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/