2007-09-15 16:34:00 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2007/09/15 20:34:02 simon Exp $
|
2004-01-29 12:13:37 -05:00
|
|
|
|
2006-06-03 05:19:52 -04:00
|
|
|
SHARED_ONLY= Yes
|
2003-10-13 13:15:05 -04:00
|
|
|
|
2007-09-15 16:34:00 -04:00
|
|
|
COMMENT= Python interface to the Sybase relational database system
|
2003-10-13 13:15:05 -04:00
|
|
|
|
|
|
|
DISTNAME= sybase-0.36
|
2006-06-03 05:19:52 -04:00
|
|
|
PKGNAME= py-${DISTNAME}p1
|
2003-10-13 13:15:05 -04:00
|
|
|
CATEGORIES= databases
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.object-craft.com.au/projects/sybase/
|
|
|
|
MASTER_SITES= ${HOMEPAGE}download/
|
|
|
|
|
|
|
|
# BSD
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2005-06-10 13:07:43 -04:00
|
|
|
MODULES= lang/python \
|
|
|
|
devel/gettext
|
2003-10-13 13:15:05 -04:00
|
|
|
|
|
|
|
MODPY_DISTUTILS_BUILD= build_ext
|
|
|
|
MODPY_DISTUTILS_BUILDARGS= -DHAVE_FREETDS=61
|
|
|
|
|
2006-08-01 18:46:16 -04:00
|
|
|
LIB_DEPENDS= ct.>=1::databases/freetds
|
2003-10-13 13:15:05 -04:00
|
|
|
|
|
|
|
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>
|