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
commit73a0e8d3e8e268d0d184fd627346fc10b7a6a6d7 (patch)
tree539416307033ba4918e210f8c2bc1676c3f3521c /lang/yabasic
parent9ca229703bf644bd8d0c2a460fe36ef77cf31e94 (diff)
downloadpkgsrc-73a0e8d3e8e268d0d184fd627346fc10b7a6a6d7.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