pkgsrc/www/py-django-devel/options.mk
joerg 58a2c5f99a Import 1.0-alpha of Django as py-django-devel. There are some important
API changes and this makes migration smoother.
2008-07-23 10:20:41 +00:00

32 lines
846 B
Makefile

# $NetBSD: options.mk,v 1.1.1.1 2008/07/23 10:20:41 joerg Exp $
PKG_OPTIONS_VAR = PKG_OPTIONS.django
PKG_SUPPORTED_OPTIONS= mysql psycopg1 psycopg2 sqlite
PKG_SUGGESTED_OPTIONS= psycopg1
.include "../../mk/bsd.options.mk"
PLIST_VARS+= ${PKG_SUPPORTED_OPTIONS}
.if !empty(PKG_OPTIONS:Mmysql)
DEPENDS+= ${PYPKGPREFIX}-mysqldb-[0-9]*:../../databases/py-mysqldb
PLIST.mysql= yes
.endif
.if !empty(PKG_OPTIONS:Mpsycopg1)
DEPENDS+= ${PYPKGPREFIX}-psycopg-[0-9]*:../../databases/py-psycopg
.endif
.if !empty(PKG_OPTIONS:Mpsycopg2)
DEPENDS+= ${PYPKGPREFIX}-psycopg2-[0-9]*:../../databases/py-psycopg2
PLIST.psycopg2= yes
.endif
.if !empty(PKG_OPTIONS:Mpsycopg1) || !empty(PKG_OPTIONS:Mpsycopg2)
PLIST.psycopg1= yes
.endif
.if !empty(PKG_OPTIONS:Msqlite)
DEPENDS+= ${PYPKGPREFIX}-sqlite2-[0-9]*:../../databases/py-sqlite2
PLIST.sqlite= yes
.endif