# $NetBSD: Makefile,v 1.20 2010/09/16 11:31:16 adam Exp $ DISTNAME= pysqlite-2.6.0 PKGNAME= ${PYPKGPREFIX}-sqlite2-2.6.0 CATEGORIES= databases python MASTER_SITES= http://pysqlite.googlecode.com/files/ MAINTAINER= tsarna@NetBSD.org HOMEPAGE= http://pysqlite.googlecode.com/ COMMENT= SQLite database adapter for Python PKG_DESTDIR_SUPPORT= user-destdir PYDISTUTILSPKG= yes .include "../../lang/python/extension.mk" do-postinstall-test: .PHONY cd ${WRKDIR} && ${PYTHONBIN} -c "from pysqlite2 import test;test.test()" .include "../../databases/sqlite3/buildlink3.mk" .include "../../mk/bsd.pkg.mk"