2018-10-16 13:10:43 +00:00

39 lines
824 B
Makefile

# $OpenBSD: Makefile,v 1.21 2018/10/16 13:10:43 kirby Exp $
COMMENT= cartographic projection utilities
DISTNAME= proj-5.2.0
CATEGORIES= devel geo
SHARED_LIBS= proj 9.1 # 14.0
DISTFILES = ${DISTNAME}${EXTRACT_SUFX} \
proj-datumgrid-1.8${EXTRACT_SUFX}
HOMEPAGE= http://proj4.org
MAINTAINER= Landry Breuil <landry@openbsd.org>
# MIT
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= http://download.osgeo.org/proj/
# c++11
COMPILER= base-clang ports-gcc
CONFIGURE_STYLE= gnu
WANTLIB= c m pthread
CONFIGURE_ENV= LDFLAGS='-pthread'
# needed for tests only..
USE_GMAKE = Yes
GRIDS = BETA2007.gsb nzgd2kgrid0005.gsb ntv1_can.dat ntf_r93.gsb egm96_15.gtx \
stpaul stlrnc stgeorge prvi null hawaii conus alaska WO WI TN MD FL
post-extract:
.for f in ${GRIDS}
@mv ${WRKDIR}/${f} ${WRKSRC}/nad
.endfor
.include <bsd.port.mk>