2004-11-22 11:59:29 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2004/11/22 16:59:29 espie Exp $
|
2004-01-29 12:13:37 -05:00
|
|
|
|
|
|
|
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
|
2003-10-13 13:15:05 -04:00
|
|
|
|
|
|
|
COMMENT= "Python interface to the Sybase relational database system"
|
|
|
|
|
|
|
|
DISTNAME= sybase-0.36
|
|
|
|
PKGNAME= py-${DISTNAME}
|
|
|
|
CATEGORIES= databases
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.object-craft.com.au/projects/sybase/
|
|
|
|
MASTER_SITES= ${HOMEPAGE}download/
|
|
|
|
|
2004-01-30 03:39:48 -05:00
|
|
|
MAINTAINER= Xavier Santolaria <xsa@openbsd.org>
|
2003-10-13 13:15:05 -04:00
|
|
|
|
|
|
|
# BSD
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-11-22 11:59:29 -05:00
|
|
|
WANTLIB= intl
|
2003-10-13 13:15:05 -04:00
|
|
|
|
2004-08-04 15:46:14 -04:00
|
|
|
MODULES= lang/python
|
2003-10-13 13:15:05 -04:00
|
|
|
|
|
|
|
MODPY_DISTUTILS_BUILD= build_ext
|
|
|
|
MODPY_DISTUTILS_BUILDARGS= -DHAVE_FREETDS=61
|
|
|
|
|
|
|
|
LIB_DEPENDS= tds.2,sybdb.3,ct.1::databases/freetds
|
|
|
|
|
|
|
|
MAKE_ENV+= SYBASE="${LOCALBASE}"
|
2003-10-13 13:18:22 -04:00
|
|
|
NO_REGRESS= Yes
|
2003-10-13 13:15:05 -04:00
|
|
|
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-sybase
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/README ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/timeout.readme ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/*.{py,sql} ${EXAMPLESDIR}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|