[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / databases / py-sybase

Annotation of pkgsrc/databases/py-sybase/Makefile, Revision 1.9

1.9     ! tv          1: # $NetBSD: Makefile,v 1.8 2005/01/23 20:41:45 recht Exp $
1.1       drochner    2: #
                      3:
                      4: DISTNAME=      sybase-0.36
                      5: PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
1.7       tsarna      6: PKGREVISION=   2
1.5       recht       7: CATEGORIES=    databases python
1.1       drochner    8: MASTER_SITES=  http://object-craft.com.au/projects/sybase/download/
                      9:
                     10: MAINTAINER=    tech-pkg@NetBSD.org
                     11: HOMEPAGE=      http://www.object-craft.com.au/projects/sybase/
                     12: COMMENT=       Sybase interface for Python using FreeTDS
                     13:
1.8       recht      14: PYTHON_VERSIONS_ACCEPTED=      21 22 23
1.1       drochner   15:
                     16: BUILDLINK_DEPENDS.freetds=     freetds-0.61*
                     17: PYSETUPBUILDARGS=      build_ext -D HAVE_FREETDS=61 -U WANT_BULKCOPY
                     18: PYDISTUTILSPKG=                yes
                     19:
                     20: SYBASE=                ${BUILDLINK_PREFIX.freetds}/freetds
                     21: MAKE_ENV+=     SYBASE=${SYBASE}
                     22:
                     23: post-patch:
                     24:        ${SED} "s|\(runtime_library_dirs = \)None|\1['${SYBASE}'+'/lib']|" \
                     25:                <${WRKSRC}/setup.py >${WRKSRC}/setup.py.tmp
                     26:        ${MV} ${WRKSRC}/setup.py.tmp ${WRKSRC}/setup.py
                     27:
1.4       recht      28: .include "../../databases/freetds/buildlink3.mk"
1.1       drochner   29: .include "../../lang/python/extension.mk"
                     30: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>