summaryrefslogtreecommitdiff
path: root/graphics/plotmtv
diff options
context:
space:
mode:
authorjoerg <joerg>2008-06-12 02:14:13 +0000
committerjoerg <joerg>2008-06-12 02:14:13 +0000
commit168a3246f0e3c46b0ef3b5dcf5d18607cff1583f (patch)
treec12b9c282e2706cb6bac87456615dfdf2b256e55 /graphics/plotmtv
parent63309a20a533bc79929c9bd5b3bf872561762300 (diff)
downloadpkgsrc-168a3246f0e3c46b0ef3b5dcf5d18607cff1583f.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"