diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 14:44:05 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 14:44:05 +0000 |
commit | 037b57d5ddf535a98a11963bfb6c13ede0dbfa32 (patch) | |
tree | a92e7f8eee54b9a8853da721181945e291a984d5 /geography/mapserver | |
parent | 366003509e4b212f95b56afc433d8121286ca34b (diff) | |
download | pkgsrc-037b57d5ddf535a98a11963bfb6c13ede0dbfa32.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'geography/mapserver')
-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" |