summaryrefslogtreecommitdiff
path: root/graphics/plotmtv
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
commitba171a91fab519f587b027c1a2888cb6e3fce049 (patch)
treec12b9c282e2706cb6bac87456615dfdf2b256e55 /graphics/plotmtv
parent3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff)
downloadpkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz
Add DESTDIR support.
Diffstat (limited to 'graphics/plotmtv')
-rw-r--r--graphics/plotmtv/Makefile11
1 files changed, 7 insertions, 4 deletions
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"