summaryrefslogtreecommitdiff
path: root/devel/py-logilab-common/Makefile
blob: bb055e9f0ce082b77aca9a673810d2b7141f74c9 (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
31
32
33
34
35
# $NetBSD: Makefile,v 1.2 2011/02/25 09:47:22 wiz Exp $
#

VERS=			0.53.0
DISTNAME=		logilab-common-${VERS}
PKGNAME=		${PYPKGPREFIX}-${DISTNAME}
EGG_NAME=		logilab_common-${VERS}
CATEGORIES=		devel python
MASTER_SITES=	http://ftp.logilab.org/pub/common/

MAINTAINER=		kamel.derouiche@gmail.com
HOMEPAGE=		http://www.logilab.org/project/logilab-common
COMMENT=		Useful miscellaneous modules used by Logilab projects
LICENSE=		gnu-lgpl-v2.1

PKG_DESTDIR_SUPPORT=			user-destdir

PYTHON_VERSIONS_ACCEPTED= 27 26 25 24

#comment this out to avoid problems to find the binary by other programs
PLIST_SUBST+=   PYVERSSUFFIX=${PYVERSSUFFIX}

INSTALLATION_DIRS=  ${PKGMANDIR}/man1

post-extract:
	${MV} ${WRKSRC}/bin/pytest ${WRKSRC}/bin/pytest${PYVERSSUFFIX}

post-install:
	${INSTALL_MAN} ${WRKSRC}/doc/pytest.1 \
		${DESTDIR}${PREFIX}/${PKGMANDIR}/man1

.include "../../lang/python/egg.mk"
#.include "../../devel/py-readline/buildlink3.mk"
.include "../../time/py-mxDateTime/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"