blob: 6cad75cf4116e1db31b3eb54ef44960b8f1a7cd9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# $NetBSD: Makefile,v 1.2 2015/01/01 07:02:58 ryoon Exp $
ZANATACVER= 1.3.18
DISTNAME= zanata-python-client-${ZANATACVER}
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel
MASTER_SITES= -https://github.com/zanata/zanata-python-client/archive/v${ZANATACVER}.tar.gz
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= http://zanata.org/
COMMENT= Zanata translation service client written in Python
LICENSE= gnu-gpl-v3 AND gnu-lgpl-v2.1
DEPENDS+= ${PYPKGPREFIX}-httplib2:../../www/py-httplib2
DEPENDS+= ${PYPKGPREFIX}-polib:../../devel/py-polib
USE_LANGUAGES= # none
SUBST_CLASSES+= version
SUBST_STAGE.version= pre-configure
SUBST_MESSAGE.version= Setting version
SUBST_FILES.version+= VERSION-GEN
SUBST_VARS.version+= PKGVERSION_NOREV
# Generate version file to avoid runtime error.
pre-configure:
cd ${WRKSRC}/zanataclient && ${SH} ../VERSION-GEN > VERSION-FILE
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
|