blob: 1bff453d124292642ac83bc3678fb4b083b8abb9 (
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
36
37
38
|
# $NetBSD: Makefile,v 1.11 2018/06/15 10:17:52 jperkin Exp $
VERSION_BASE= 5.1.0
VERSION_RC=
VERSION= ${VERSION_BASE}${VERSION_RC}
# proj RCs have names like 5.1.0RC1 but unpack to 5.1.0
WRKSRC= ${WRKDIR}/proj-${VERSION_BASE}
DISTNAME= proj-${VERSION}
CATEGORIES= geography
MASTER_SITES= https://download.osgeo.org/proj/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} proj-datumgrid-1.7${EXTRACT_SUFX}
MAINTAINER= gdt@NetBSD.org
HOMEPAGE= http://proj4.org/
COMMENT= Cartographic projection software
LICENSE= mit
PREV_PKGPATH= misc/proj
USE_LANGUAGES= c99
USE_LIBTOOL= yes
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
TEST_TARGET= check
# \todo Ideally, the files would be unpacked directly in nad.
DATUMGRID_FILES= \
BETA2007.gsb FL MD README.DATUMGRID TN WI WO alaska conus \
egm96_15.gtx hawaii ntf_r93.gsb ntv1_can.dat null \
nzgd2kgrid0005.gsb prvi stgeorge stlrnc stpaul
post-extract:
cd ${WRKDIR} && ${LN} ${DATUMGRID_FILES} ${WRKSRC}/nad
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|