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

Annotation of pkgsrc/databases/py-peewee/Makefile, Revision 1.53

1.53    ! adam        1: # $NetBSD: Makefile,v 1.52 2019/03/06 08:37:57 adam Exp $
1.1       fhajny      2:
1.53    ! adam        3: DISTNAME=      peewee-3.9.2
1.1       fhajny      4: PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
1.36      fhajny      5: CATEGORIES=    databases python
                      6: MASTER_SITES=  ${MASTER_SITE_PYPI:=p/peewee/}
1.1       fhajny      7:
1.48      wiz         8: MAINTAINER=    fhajny@NetBSD.org
1.1       fhajny      9: HOMEPAGE=      http://www.peewee-orm.com/
                     10: COMMENT=       Small, expressive ORM for PostgreSQL, MySQL and SQLite
                     11: LICENSE=       mit
                     12:
1.15      fhajny     13: BUILD_DEPENDS+=        ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
1.50      adam       14: DEPENDS+=      ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
                     15: #DEPENDS+=     sqlite3-[0-9]*
1.15      fhajny     16:
1.16      fhajny     17: MAKE_FLAGS+=   SPHINXBUILD=sphinx-build${PYVERSSUFFIX}
                     18:
1.15      fhajny     19: FILES_SUBST+=  PKGMANDIR=${PKGMANDIR}
1.1       fhajny     20: MESSAGE_SUBST+=        PYPKGPREFIX=${PYPKGPREFIX}
                     21:
1.2       fhajny     22: REPLACE_PYTHON+=       pwiz.py
                     23:
1.46      jperkin    24: SUBST_CLASSES+=                lpath
                     25: SUBST_STAGE.lpath=     pre-configure
                     26: SUBST_FILES.lpath=     setup.py
                     27: SUBST_VARS.lpath=      BUILDLINK_PREFIX.sqlite3
                     28:
1.15      fhajny     29: INSTALLATION_DIRS+=    ${PKGMANDIR}/man1
                     30:
                     31: post-build:
                     32:        cd ${WRKSRC}/docs && ${BUILD_MAKE_CMD} man
                     33:
                     34: post-install:
1.49      adam       35:        cd ${DESTDIR}${PREFIX}/bin && ${MV} pwiz.py pwiz-${PYVERSSUFFIX} || ${TRUE}
1.15      fhajny     36:        ${INSTALL_MAN} ${WRKSRC}/docs/_build/man/peewee.1 \
1.49      adam       37:                ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/peewee-${PYVERSSUFFIX}.1
1.19      fhajny     38:
1.31      fhajny     39: .include "../../databases/sqlite3/buildlink3.mk"
1.8       fhajny     40: .include "../../devel/py-cython/buildlink3.mk"
1.2       fhajny     41: .include "../../lang/python/application.mk"
1.43      adam       42: .include "../../lang/python/egg.mk"
1.1       fhajny     43: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>