summaryrefslogtreecommitdiff
path: root/graphics/xplot-devel
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-01-29 23:50:26 +0000
committerjoerg <joerg@pkgsrc.org>2010-01-29 23:50:26 +0000
commit2ff9815b12f0d01628a7f819ced5e767e23b52d6 (patch)
tree1ee3f20800498240db8a2a67d583bb4c50613c95 /graphics/xplot-devel
parent838715459142ffd2687e9a19a6fc5eaeee7cb42e (diff)
downloadpkgsrc-2ff9815b12f0d01628a7f819ced5e767e23b52d6.tar.gz
DESTDIR support
Diffstat (limited to 'graphics/xplot-devel')
-rw-r--r--graphics/xplot-devel/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/graphics/xplot-devel/Makefile b/graphics/xplot-devel/Makefile
index 21fad56b3b3..2c43e5e67cd 100644
--- a/graphics/xplot-devel/Makefile
+++ b/graphics/xplot-devel/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2007/02/01 16:08:21 joerg Exp $
+# $NetBSD: Makefile,v 1.4 2010/01/29 23:54:31 joerg Exp $
DISTNAME= xplot-0.90.8
PKGREVISION= 1
@@ -9,16 +9,21 @@ HOMEPAGE= http://www.xplot.org/
MAINTAINER= gdt@NetBSD.org
COMMENT= Plotting program (development snapshot)
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_X11BASE= yes
GNU_CONFIGURE= yes
DOCFILES= ANNOUNCE README README.tcp_plots \
demo.0 demo.1 demo.2 demo.3 demo.4 demo.5 demo.6 demo.7
+INSTALLATION_DIRS+= share/doc/xplot
+INSTALL_MAKE_FLAGS+= bindir=${DESTDIR}${PREFIX}/bin \
+ mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 \
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xplot
.for file in ${DOCFILES}
- ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/xplot
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DESTDIR}${PREFIX}/share/doc/xplot
.endfor
.include "../../x11/libX11/buildlink3.mk"