svn commit: r395874 - head/databases/py-psycopg2
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Wed Sep 2 17:03:24 UTC 2015
Author: sunpoet
Date: Wed Sep 2 17:03:23 2015
New Revision: 395874
URL: https://svnweb.freebsd.org/changeset/ports/395874
Log:
- Strip shared library
- Bump PORTREVISION for package change
Modified:
head/databases/py-psycopg2/Makefile
Modified: head/databases/py-psycopg2/Makefile
==============================================================================
--- head/databases/py-psycopg2/Makefile Wed Sep 2 17:03:19 2015 (r395873)
+++ head/databases/py-psycopg2/Makefile Wed Sep 2 17:03:23 2015 (r395874)
@@ -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}/
More information about the svn-ports-all
mailing list