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

1.59    ! adam        1: # $NetBSD: Makefile,v 1.58 2019/06/10 07:36:14 adam Exp $
1.1       fhajny      2:
1.59    ! adam        3: DISTNAME=      peewee-3.10.0
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
1.15      fhajny     15:
1.16      fhajny     16: MAKE_FLAGS+=   SPHINXBUILD=sphinx-build${PYVERSSUFFIX}
                     17:
1.15      fhajny     18: FILES_SUBST+=  PKGMANDIR=${PKGMANDIR}
1.1       fhajny     19: MESSAGE_SUBST+=        PYPKGPREFIX=${PYPKGPREFIX}
                     20:
1.2       fhajny     21: REPLACE_PYTHON+=       pwiz.py
                     22:
1.46      jperkin    23: SUBST_CLASSES+=                lpath
                     24: SUBST_STAGE.lpath=     pre-configure
                     25: SUBST_FILES.lpath=     setup.py
                     26: SUBST_VARS.lpath=      BUILDLINK_PREFIX.sqlite3
                     27:
1.15      fhajny     28: INSTALLATION_DIRS+=    ${PKGMANDIR}/man1
                     29:
                     30: post-build:
                     31:        cd ${WRKSRC}/docs && ${BUILD_MAKE_CMD} man
                     32:
                     33: post-install:
1.49      adam       34:        cd ${DESTDIR}${PREFIX}/bin && ${MV} pwiz.py pwiz-${PYVERSSUFFIX} || ${TRUE}
1.15      fhajny     35:        ${INSTALL_MAN} ${WRKSRC}/docs/_build/man/peewee.1 \
1.49      adam       36:                ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/peewee-${PYVERSSUFFIX}.1
1.19      fhajny     37:
1.31      fhajny     38: .include "../../databases/sqlite3/buildlink3.mk"
1.8       fhajny     39: .include "../../devel/py-cython/buildlink3.mk"
1.2       fhajny     40: .include "../../lang/python/application.mk"
1.43      adam       41: .include "../../lang/python/egg.mk"
1.1       fhajny     42: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>