- Strip shared library

- Bump PORTREVISION for package change
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2015-09-02 17:03:23 +00:00
parent 2bd296cd89
commit 0e7ad38c34
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=395874

View file

@ -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}/