From b5f6311af8bceb6f6ffa993ab73f802a0907c782 Mon Sep 17 00:00:00 2001 From: jlam Date: Tue, 4 Mar 2008 15:39:09 +0000 Subject: Mechanical changes to add DESTDIR support to packages that install their files via a custom do-install target. --- graphics/ploticus-examples/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'graphics/ploticus-examples') 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" -- cgit v1.2.3