[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.6

1.6     ! tv          1: # $NetBSD: Makefile,v 1.5 2004/07/22 09:16:01 recht Exp $
1.1       drochner    2: #
                      3:
                      4: DISTNAME=      sybase-0.36
                      5: PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
1.6     ! tv          6: PKGREVISION=   1
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.2       recht      14: PYTHON_VERSIONS_ACCEPTED=      21pth 22pth 23pth
1.1       drochner   15:
                     16: BUILDLINK_DEPENDS.freetds=     freetds-0.61*
                     17: PYSETUPBUILDARGS=      build_ext -D HAVE_FREETDS=61 -U WANT_BULKCOPY
1.4       recht      18: USE_BUILDLINK3=                yes
1.1       drochner   19: PYDISTUTILSPKG=                yes
                     20:
                     21: SYBASE=                ${BUILDLINK_PREFIX.freetds}/freetds
                     22: MAKE_ENV+=     SYBASE=${SYBASE}
                     23:
                     24: post-patch:
                     25:        ${SED} "s|\(runtime_library_dirs = \)None|\1['${SYBASE}'+'/lib']|" \
                     26:                <${WRKSRC}/setup.py >${WRKSRC}/setup.py.tmp
                     27:        ${MV} ${WRKSRC}/setup.py.tmp ${WRKSRC}/setup.py
                     28:
1.4       recht      29: .include "../../databases/freetds/buildlink3.mk"
1.1       drochner   30: .include "../../lang/python/extension.mk"
                     31: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>