summaryrefslogtreecommitdiff
path: root/databases/py-postgresql/Makefile
diff options
context:
space:
mode:
authordarcy <darcy@pkgsrc.org>2004-08-30 08:33:34 +0000
committerdarcy <darcy@pkgsrc.org>2004-08-30 08:33:34 +0000
commit5e18f7a22908c0d84cc841afbb6af94116843288 (patch)
tree65054463a3c6d80cf34a57f96aecdfeaa46cb903 /databases/py-postgresql/Makefile
parentd272739d89493486c55d8de7880ce23d1bbf69fd (diff)
downloadpkgsrc-5e18f7a22908c0d84cc841afbb6af94116843288.tar.gz
Recreate files for py-postgresql. PyGreSQL has been moved back out of the
PostgreSQL tree and I have released this version that is no longer tied to a specific version of PostgreSQL.
Diffstat (limited to 'databases/py-postgresql/Makefile')
-rw-r--r--databases/py-postgresql/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/databases/py-postgresql/Makefile b/databases/py-postgresql/Makefile
new file mode 100644
index 00000000000..1d5d6f097e3
--- /dev/null
+++ b/databases/py-postgresql/Makefile
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile,v 1.36 2004/08/30 08:33:34 darcy Exp $
+
+DISTNAME= PyGreSQL-3.5
+PKGNAME= ${PYPKGPREFIX}-postgresql-3.5
+CATEGORIES= databases python
+MASTER_SITES= ftp://ftp.druid.net/pub/distrib/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= darcy@NetBSD.org
+HOMEPAGE= http://www.PyGreSQL.org/
+COMMENT= Python interface to PostgreSQL
+
+MAKE_ENV+= MANDIR=${LOCALBASE}/man
+MAKE_ENV+= BINDIR=${LOCALBASE}/bin
+USE_BUILDLINK3= yes
+USE_GNU_TOOLS+= make
+
+MAKEFILE= GNUmakefile
+MAKE_ENV+= INSTALLED_LIBPQ=1
+#MAKEFLAGS+= PYTHON_VERSION=${PYVERSSUFFIX}
+
+PY_PATCHPLIST= yes
+PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
+
+PYDISTUTILSPKG= yes
+PYBINMODULE= yes
+DOCDIR= ${PREFIX}/share/doc/${PYPKGPREFIX}-postgresql
+
+post-install:
+ ${INSTALL_DATA_DIR} ${DOCDIR}/tutorial
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
+ for inst_file in ${WRKSRC}/tutorial/*.py; do \
+ ${INSTALL_DATA} $${inst_file} ${DOCDIR}/tutorial; \
+ done
+
+.include "../../lang/python/extension.mk"
+.include "../../mk/pgsql.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
+