summaryrefslogtreecommitdiff
path: root/net/lambdamoo-doc
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-02-11 21:58:29 +0000
committerjoerg <joerg@pkgsrc.org>2010-02-11 21:58:29 +0000
commit1f0ec9473ffca4ae93f5d69807084cca883fb420 (patch)
tree546cb5bced724a7f7f47415dd221ea8c20d8f3dc /net/lambdamoo-doc
parent7b0151f3cad9db6c6d581a4564df22b43918a839 (diff)
downloadpkgsrc-1f0ec9473ffca4ae93f5d69807084cca883fb420.tar.gz
DESTDIR support
Diffstat (limited to 'net/lambdamoo-doc')
-rw-r--r--net/lambdamoo-doc/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/net/lambdamoo-doc/Makefile b/net/lambdamoo-doc/Makefile
index 087638afbf1..706dfb02e7a 100644
--- a/net/lambdamoo-doc/Makefile
+++ b/net/lambdamoo-doc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2006/10/04 21:53:17 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2010/02/11 21:59:11 joerg Exp $
DISTNAME= lambdamoo-doc-1.8.0p6
CATEGORIES= net
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://sourceforge.net/projects/lambdamoo/
COMMENT= Documentation for lambdamoo
+PKG_DESTDIR_SUPPORT= user-destdir
+
EXTRACT_ONLY= ProgrammersManual.texinfo
WRKSRC= ${WRKDIR}
@@ -21,13 +23,14 @@ do-build:
${WRKSRC}/ProgrammersManual.texinfo \
>${WRKSRC}/ProgrammersManual.txt
+INSTALLATION_DIRS+= share/doc/lambdamoo
+
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/lambdamoo
${INSTALL_DATA} ${DISTDIR}/HelpSystem-02Jun93.txt \
- ${PREFIX}/share/doc/lambdamoo
+ ${DESTDIR}${PREFIX}/share/doc/lambdamoo
${INSTALL_DATA} ${WRKSRC}/ProgrammersManual.texinfo \
- ${PREFIX}/share/doc/lambdamoo
+ ${DESTDIR}${PREFIX}/share/doc/lambdamoo
${INSTALL_DATA} ${WRKSRC}/ProgrammersManual.txt \
- ${PREFIX}/share/doc/lambdamoo
+ ${DESTDIR}${PREFIX}/share/doc/lambdamoo
.include "../../mk/bsd.pkg.mk"