2011-11-04 04:16:23 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.20 2011/11/04 08:16:24 jasper 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
|
2010-08-30 16:53:57 -04:00
|
|
|
PKGNAME= py-${DISTNAME}
|
2011-11-04 04:16:23 -04:00
|
|
|
REVISION = 8
|
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
|
|
|
|
|
2010-11-14 19:22:45 -05:00
|
|
|
LIB_DEPENDS = databases/freetds
|
2011-11-04 04:16:23 -04:00
|
|
|
WANTLIB += ct>=1 ${MODPY_WANTLIB}
|
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>
|