diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
commit | 3b0d97b0de8516db29699676c860489da3f7f0e1 (patch) | |
tree | bb388f6b2532587595653e67cce25229ed050cb8 /editors/vilearn | |
parent | 10abca39942a8f34d088f39ccc073fee44271274 (diff) | |
download | pkgsrc-3b0d97b0de8516db29699676c860489da3f7f0e1.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'editors/vilearn')
-rw-r--r-- | editors/vilearn/Makefile | 6 | ||||
-rw-r--r-- | editors/vilearn/distinfo | 4 | ||||
-rw-r--r-- | editors/vilearn/patches/patch-aa | 10 |
3 files changed, 12 insertions, 8 deletions
diff --git a/editors/vilearn/Makefile b/editors/vilearn/Makefile index 27f209e6d53..39866a4305e 100644 --- a/editors/vilearn/Makefile +++ b/editors/vilearn/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2007/11/25 11:46:59 wiz Exp $ +# $NetBSD: Makefile,v 1.7 2008/06/20 01:09:17 joerg Exp $ # DISTNAME= vilearn-1.0 @@ -10,6 +10,10 @@ MAINTAINER= abs@NetBSD.org HOMEPAGE= http://vilearn.org/ COMMENT= Online vi tutorial, from basic to advanced +PKG_DESTDIR_SUPPORT= user-destdir + EXTRACT_CMD= ${GZCAT} ${DOWNLOADED_DISTFILE} | ${SED} '1,/^wes$$/d' | ${SH} +INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 + .include "../../mk/bsd.pkg.mk" diff --git a/editors/vilearn/distinfo b/editors/vilearn/distinfo index f7585f31473..be00e7e5494 100644 --- a/editors/vilearn/distinfo +++ b/editors/vilearn/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.4 2005/02/23 17:15:13 agc Exp $ +$NetBSD: distinfo,v 1.5 2008/06/20 01:09:17 joerg Exp $ SHA1 (vilearn-1.0.shar.Z) = 08aed424df46f30c93c604f3dc79d2affe1ec70e RMD160 (vilearn-1.0.shar.Z) = 081d6c4055d7de7e6739e217501ca1fa7054e2fc Size (vilearn-1.0.shar.Z) = 25787 bytes -SHA1 (patch-aa) = 8410d97ecf7d764af139878476663a4e484a8352 +SHA1 (patch-aa) = 7ddff60dc58e7d866e5d81a91a792553a47912ef diff --git a/editors/vilearn/patches/patch-aa b/editors/vilearn/patches/patch-aa index df5322cd785..bcaee82feef 100644 --- a/editors/vilearn/patches/patch-aa +++ b/editors/vilearn/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.2 2003/09/25 12:56:34 jmmv Exp $ +$NetBSD: patch-aa,v 1.3 2008/06/20 01:09:17 joerg Exp $ --- Makefile.orig Wed Sep 24 16:22:05 2003 +++ Makefile Wed Sep 24 16:26:08 2003 @@ -31,16 +31,16 @@ $NetBSD: patch-aa,v 1.2 2003/09/25 12:56:34 jmmv Exp $ install : all - -mkdir ${TUTORIALS} -+ ${BSD_INSTALL_DATA_DIR} ${TUTORIALS} ++ ${BSD_INSTALL_DATA_DIR} ${DESTDIR}${TUTORIALS} for i in ${TUTS} ; do \ - rm -f ${TUTORIALS}/$$i; \ - install -c -m 444 $$i ${TUTORIALS}/$$i ; \ -+ ${BSD_INSTALL_DATA} $$i ${TUTORIALS}/$$i ; \ ++ ${BSD_INSTALL_DATA} $$i ${DESTDIR}${TUTORIALS}/$$i ; \ done - install -m 755 vilearn ${BINDIR}/vilearn - install -m 444 vilearn.${SEC} ${MANDIR}/man${SEC}/vilearn.${SEC} -+ ${BSD_INSTALL_SCRIPT} vilearn ${BINDIR}/vilearn -+ ${BSD_INSTALL_MAN} vilearn.${SEC} ${MANDIR}/man${SEC}/vilearn.${SEC} ++ ${BSD_INSTALL_SCRIPT} vilearn ${DESTDIR}${BINDIR}/vilearn ++ ${BSD_INSTALL_MAN} vilearn.${SEC} ${DESTDIR}${MANDIR}/man${SEC}/vilearn.${SEC} clean : rm -f vilearn vilearn.${SEC} |