diff options
author | jlam <jlam> | 2008-03-04 15:39:09 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-04 15:39:09 +0000 |
commit | b5f6311af8bceb6f6ffa993ab73f802a0907c782 (patch) | |
tree | 59c0548a0298c3f264975f618451fab4e14e6b25 /graphics/ploticus-examples | |
parent | 6bbd21113d6839286420c35137f9be60efb9389e (diff) | |
download | pkgsrc-b5f6311af8bceb6f6ffa993ab73f802a0907c782.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" |