# Created by: Martin Wilke # $FreeBSD$ PORTNAME= psycopg2 PORTVERSION= 2.5.1 CATEGORIES= databases python MASTER_SITES= http://initd.org/psycopg/tarballs/PSYCOPG-2-5/ \ CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= miwi@FreeBSD.org COMMENT= The high performance Python adapter for PostgreSQL USE_PGSQL= yes # Python3 ready USE_PYTHON= yes USE_PYDISTUTILS= yes DOCSDIR= ${PREFIX}/share/doc/py-psycopg2 EXAMPLESDIR= ${PREFIX}/share/examples/py-psycopg2 EXAMPLES= binary.py copy_from.py copy_to.py cursor.py dialtone.py \ dict.py dt.py encoding.py fetch.py lastrowid.py lobject.py \ mogrify.py myfirstrecipe.py notify.py simple.py somehackers.jpg \ threads.py typecast.py tz.py usercast.py whereareyou.jpg DOCS= AUTHORS INSTALL README NEWS PKG-INFO post-install: .if !defined(NOPORTEXAMPLES) @${MKDIR} ${EXAMPLESDIR} .for f in ${EXAMPLES} @${INSTALL_DATA} ${WRKSRC}/examples/${f} ${EXAMPLESDIR} .endfor .endif .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for f in ${DOCS} @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} .endfor .endif .include