summaryrefslogtreecommitdiff
path: root/lang/yabasic
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-02-04 01:32:00 +0000
committerjoerg <joerg@pkgsrc.org>2010-02-04 01:32:00 +0000
commit8d056cec63afa3be50cd06630a25e29d1200018c (patch)
tree539416307033ba4918e210f8c2bc1676c3f3521c /lang/yabasic
parent15fd8e7fea35f9ca82cc22c897180fffa821535c (diff)
downloadpkgsrc-8d056cec63afa3be50cd06630a25e29d1200018c.tar.gz
DESTDIR support
Diffstat (limited to 'lang/yabasic')
-rw-r--r--lang/yabasic/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/lang/yabasic/Makefile b/lang/yabasic/Makefile
index c66c7aef2de..66857451ee7 100644
--- a/lang/yabasic/Makefile
+++ b/lang/yabasic/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2007/02/19 20:18:25 joerg Exp $
+# $NetBSD: Makefile,v 1.13 2010/02/04 01:33:10 joerg Exp $
DISTNAME= yabasic-2.722
PKGREVISION= 3
@@ -9,12 +9,15 @@ MAINTAINER= david@silicium.ath.cx
HOMEPAGE= http://www.yabasic.de/
COMMENT= Yet another Basic for Unix and Windows
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
+INSTALLATION_DIRS+= share/doc/html/yabasic
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/yabasic
${INSTALL_DATA} ${WRKSRC}/yabasic.htm \
- ${PREFIX}/share/doc/html/yabasic
+ ${DESTDIR}${PREFIX}/share/doc/html/yabasic
BUILDLINK_DEPMETHOD.libXt?= build