2015-09-10 01:40:08 +02:00
|
|
|
# $NetBSD: Makefile,v 1.17 2015/09/09 23:40:08 gdt Exp $
|
2006-07-26 22:13:56 +02:00
|
|
|
|
2015-03-19 17:16:58 +01:00
|
|
|
VERSION= 1.9.4
|
|
|
|
PKGNAMEBASE= pyproj
|
|
|
|
DISTNAME= v${VERSION}rel
|
|
|
|
DIST_SUBDIR= pyproj
|
|
|
|
EGG_NAME= ${PKGNAMEBASE}-${VERSION}
|
|
|
|
PKGNAME= ${PYPKGPREFIX}-${PKGNAMEBASE:S/pyproj/proj/}-${VERSION}
|
2015-09-10 01:40:08 +02:00
|
|
|
PKGREVISION= 1
|
2006-07-26 22:13:56 +02:00
|
|
|
CATEGORIES= geography
|
2015-03-19 17:16:58 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=jswhit/pyproj/archive/}
|
2006-07-26 22:13:56 +02:00
|
|
|
|
|
|
|
MAINTAINER= gdt@NetBSD.org
|
2015-09-10 01:40:08 +02:00
|
|
|
HOMEPAGE= https://jswhit.github.io/pyproj/
|
2006-09-06 11:54:39 +02:00
|
|
|
COMMENT= Python wrapper for proj
|
2012-01-27 09:23:06 +01:00
|
|
|
LICENSE= mit
|
2006-07-26 22:13:56 +02:00
|
|
|
|
2015-03-19 17:16:58 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAMEBASE}-${VERSION}rel
|
|
|
|
|
2012-01-27 09:23:06 +01:00
|
|
|
INSTALLATION_DIRS= share/doc/${PKGNAME_NOREV}
|
2008-06-12 04:14:13 +02:00
|
|
|
|
2015-09-10 01:40:08 +02:00
|
|
|
# Horrible kludge: the package has a private copy of projects.h, which
|
|
|
|
# proj used to not install, and the private copy has RCSID-type macros
|
|
|
|
# which are needed. Until this is fixed upstream, avoid the
|
|
|
|
# proj-provided projects.h.
|
|
|
|
pre-build:
|
|
|
|
rm ${WRKDIR}/.buildlink/include/projects.h
|
|
|
|
|
2006-07-26 22:13:56 +02:00
|
|
|
post-install:
|
2015-03-19 17:16:58 +01:00
|
|
|
${INSTALL} ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/share/doc/${PKGNAME_NOREV}
|
2006-07-26 22:13:56 +02:00
|
|
|
|
2012-01-27 09:23:06 +01:00
|
|
|
.include "../../lang/python/distutils.mk"
|
2010-03-14 17:32:15 +01:00
|
|
|
.include "../../geography/proj/buildlink3.mk"
|
2006-07-26 22:13:56 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|