From ba171a91fab519f587b027c1a2888cb6e3fce049 Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 12 Jun 2008 02:14:13 +0000 Subject: Add DESTDIR support. --- graphics/plotmtv/Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'graphics/plotmtv') diff --git a/graphics/plotmtv/Makefile b/graphics/plotmtv/Makefile index f8b00fd25cc..96f0da3a995 100644 --- a/graphics/plotmtv/Makefile +++ b/graphics/plotmtv/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2006/12/27 13:37:38 joerg Exp $ +# $NetBSD: Makefile,v 1.16 2008/06/12 02:14:32 joerg Exp $ DISTNAME= Plotmtv1.4.1 PKGNAME= plotmtv-1.4.1 @@ -10,17 +10,20 @@ EXTRACT_SUFX= .tar.Z MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= Multipurpose X11 plotting program +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/${DISTNAME} USE_IMAKE= yes +INSTALLATION_DIRS= share/examples/plotmtv + post-extract: @${MV} -f ${WRKSRC}/Docs/plotmtv.man ${WRKSRC}/Plot post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/plotmtv - ${INSTALL_DATA} ${WRKSRC}/Tests/*.mtv ${PREFIX}/share/examples/plotmtv + ${INSTALL_DATA} ${WRKSRC}/Tests/*.mtv ${DESTDIR}${PREFIX}/share/examples/plotmtv ${INSTALL_SCRIPT} ${WRKSRC}/Tests/run.sh ${WRKSRC}/Tests/run.csh \ - ${PREFIX}/share/examples/plotmtv + ${DESTDIR}${PREFIX}/share/examples/plotmtv .include "../../x11/libXaw/buildlink3.mk" .include "../../x11/libXt/buildlink3.mk" -- cgit v1.2.3