diff options
Diffstat (limited to 'geography/mapserver/Makefile')
-rw-r--r-- | geography/mapserver/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/geography/mapserver/Makefile b/geography/mapserver/Makefile index 74b67726179..0a5bfbe1981 100644 --- a/geography/mapserver/Makefile +++ b/geography/mapserver/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2006/12/15 20:32:57 joerg Exp $ +# $NetBSD: Makefile,v 1.16 2008/03/04 14:44:05 jlam Exp $ # DISTNAME= mapserver-4.0 @@ -10,6 +10,8 @@ MAINTAINER= hdp@cs.msu.edu HOMEPAGE= http://mapserver.gis.umn.edu/ COMMENT= Environment for building spatially enabled Internet apps +PKG_DESTDIR_SUPPORT= user-destdir + USE_PKGLOCALEDIR= yes GNU_CONFIGURE= yes USE_LANGUAGES= c c++ @@ -21,11 +23,11 @@ CONFIGURE_ARGS+= --with-gd=${PREFIX:Q} \ INSTALLATION_DIRS= bin include lib do-install: - ${INSTALL_DATA} ${WRKSRC}/libmap.a ${PREFIX}/lib - ${INSTALL_DATA} ${WRKSRC}/map.h ${PREFIX}/include + ${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} ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/${f:Q} ${DESTDIR}${PREFIX}/bin .endfor .include "../../converters/libiconv/buildlink3.mk" |