diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 15:39:09 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 15:39:09 +0000 |
commit | 4b86e2bfab114a3edb0ceea2883a66b1745f9f06 (patch) | |
tree | 59c0548a0298c3f264975f618451fab4e14e6b25 /graphics/ploticus | |
parent | a6923789124411b85aaa9c9d97b6522350124999 (diff) | |
download | pkgsrc-4b86e2bfab114a3edb0ceea2883a66b1745f9f06.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'graphics/ploticus')
-rw-r--r-- | graphics/ploticus/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/graphics/ploticus/Makefile b/graphics/ploticus/Makefile index 0fd3a8543bf..3310d9f3b8a 100644 --- a/graphics/ploticus/Makefile +++ b/graphics/ploticus/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.36 2007/02/15 14:58:21 joerg Exp $ +# $NetBSD: Makefile,v 1.37 2008/03/04 15:39:10 jlam Exp $ DISTNAME= pl231src PKGNAME= ploticus-2.31pl4 @@ -10,6 +10,8 @@ MAINTAINER= rh@NetBSD.org HOMEPAGE= http://ploticus.sourceforge.net/ COMMENT= Versatile data visualization engine +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/${DISTNAME}/src NO_CONFIGURE= yes @@ -26,8 +28,8 @@ MAKE_ENV+= XINCLUDEDIR="-I${X11BASE}/include" INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/pl ${PREFIX}/bin/pl - ${INSTALL_DATA_DIR} ${PREFABDST} + ${INSTALL_PROGRAM} ${WRKSRC}/pl ${DESTDIR}${PREFIX}/bin/pl + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFABDST} .for file in \ README chron.pl chunk_area chunk_chronfilter chunk_doheatmap \ chunk_heatmapfilter chunk_logstubs chunk_logtics chunk_read \ @@ -35,7 +37,7 @@ do-install: chunk_xaxis chunk_yaxis compare.pl cumufrac.pl dist.pl draw.pl \ heatmap.pl lines.pl multidist.pl pie.pl processdata.pl scat.pl \ stack.pl vbars.pl vdist.pl - ${INSTALL_DATA} ${PREFABSRC}/${file} ${PREFABDST}/${file} + ${INSTALL_DATA} ${PREFABSRC}/${file} ${DESTDIR}${PREFABDST}/${file} .endfor .include "../../devel/zlib/buildlink3.mk" |