summaryrefslogtreecommitdiff
path: root/geography/mapserver/Makefile
blob: a19e0776ab984d88f3e298c4f40e2401e1eb8060 (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
39
40
# $NetBSD: Makefile,v 1.19 2009/08/26 19:57:35 sno Exp $
#

DISTNAME=		mapserver-4.0
PKGREVISION=		6
CATEGORIES=		geography www
MASTER_SITES=		http://download.osgeo.org/mapserver/

MAINTAINER=		hdp@cs.msu.edu
HOMEPAGE=		http://mapserver.gis.umn.edu/
COMMENT=		Environment for building spatially enabled Internet apps

PKG_DESTDIR_SUPPORT=	user-destdir

MAKE_JOBS_SAFE=		no

USE_PKGLOCALEDIR=	yes
GNU_CONFIGURE=		yes
USE_LANGUAGES=		c c++

CONFIGURE_ARGS+=	--with-gd=${PREFIX:Q}				\
			--with-libiconv=${PREFIX:Q}			\
			--with-zlib=${BUILDLINK_PREFIX.zlib}

INSTALLATION_DIRS=	bin include lib

do-install:
	${INSTALL_DATA} ${WRKSRC}/libmap.a ${DESTDIR}${PREFIX}/lib
	${INSTALL_DATA} ${WRKSRC}/map.h ${DESTDIR}${PREFIX}/include
.for f in shp2img shp2pdf mapserv legend shptree shptreevis		\
	shptreetst scalebar sortshp
	${INSTALL_PROGRAM} ${WRKSRC}/${f:Q} ${DESTDIR}${PREFIX}/bin
.endfor

.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/gd/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"