1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/databases/py-psycopg2/Makefile
Ruslan Makhmatkhanov eeeda33da1 - update to 2.4.4
- change USE_PYTHON to `yes' (Python3 is supported)
- update WWW
- sort pkg-plist

Approved by:   miwi (mentor)
2011-12-28 09:25:06 +00:00

49 lines
1.2 KiB
Makefile

# New ports collection makefile for: py-psycopg2
# Date created: 1 August 2006
# Whom: Martin Wilke <miwi@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= psycopg2
PORTVERSION= 2.4.4
CATEGORIES= databases python
MASTER_SITES= http://initd.org/psycopg/tarballs/PSYCOPG-2-4/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= miwi
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 ChangeLog 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 <bsd.port.mk>