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-examples | |
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-examples')
-rw-r--r-- | graphics/ploticus-examples/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/graphics/ploticus-examples/Makefile b/graphics/ploticus-examples/Makefile index 5d9b96f92ee..19e03866799 100644 --- a/graphics/ploticus-examples/Makefile +++ b/graphics/ploticus-examples/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2007/02/15 14:58:22 joerg Exp $ +# $NetBSD: Makefile,v 1.10 2008/03/04 15:39:10 jlam Exp $ # DISTNAME= plnode141 @@ -12,6 +12,8 @@ MAINTAINER= rh@NetBSD.org # domain squatted COMMENT= Examples for the ploticus data plotting suite +PKG_DESTDIR_SUPPORT= user-destdir + NO_CONFIGURE= YES NO_BUILD= YES @@ -19,8 +21,8 @@ DIST_SUBDIR= ${PKGNAME_NOREV:S/-examples//} EXDIR= ${PREFIX}/share/examples/ploticus do-install: - ${INSTALL_DATA_DIR} ${EXDIR} - cd ${WRKSRC} && ${PAX} -rw -pp doc gallery tabgallery thumbnails thumbpng ${EXDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${EXDIR} + cd ${WRKSRC} && ${PAX} -rw -pp doc gallery tabgallery thumbnails thumbpng ${DESTDIR}${EXDIR} .include "../../x11/libX11/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |