pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc user-destdir support



details:   https://anonhg.NetBSD.org/pkgsrc/rev/10223dc4cfdc
branches:  trunk
changeset: 395384:10223dc4cfdc
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Jul 07 21:58:38 2009 +0000

description:
user-destdir support

diffstat:

 textproc/html2text/Makefile       |  10 ++++++----
 textproc/html2wml/Makefile        |   8 +++++---
 textproc/hunspell-de/Makefile     |   8 +++++---
 textproc/hunspell-en_GB/Makefile  |  10 ++++++----
 textproc/hunspell-en_US/Makefile  |   8 +++++---
 textproc/isearch/Makefile         |  15 ++++++++-------
 textproc/isearch/distinfo         |   4 ++--
 textproc/isearch/patches/patch-aa |  14 +++++++-------
 8 files changed, 44 insertions(+), 33 deletions(-)

diffs (222 lines):

diff -r a5cd8c81bc3f -r 10223dc4cfdc textproc/html2text/Makefile
--- a/textproc/html2text/Makefile       Tue Jul 07 21:57:28 2009 +0000
+++ b/textproc/html2text/Makefile       Tue Jul 07 21:58:38 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2008/01/03 14:05:38 obache Exp $
+# $NetBSD: Makefile,v 1.15 2009/07/07 22:01:50 joerg Exp $
 
 DISTNAME=      html2text-1.3.2a
 CATEGORIES=    textproc
@@ -9,6 +9,8 @@
 HOMEPAGE=      http://www.mbayer.de/html2text/
 COMMENT=       Advanced HTML-to-text converter
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_LANGUAGES=         c c++
 GCC_REQD+=             3.0
 HAS_CONFIGURE=         yes
@@ -20,8 +22,8 @@
        ${GUNZIP_CMD} -d ${WRKSRC}/html2text.1.gz ${WRKSRC}/html2textrc.5.gz
 
 do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/html2text ${PREFIX}/bin
-       ${INSTALL_MAN} ${WRKSRC}/html2text.1 ${PREFIX}/${PKGMANDIR}/man1
-       ${INSTALL_MAN} ${WRKSRC}/html2textrc.5 ${PREFIX}/${PKGMANDIR}/man5/html2textrc.5
+       ${INSTALL_PROGRAM} ${WRKSRC}/html2text ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_MAN} ${WRKSRC}/html2text.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+       ${INSTALL_MAN} ${WRKSRC}/html2textrc.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/html2textrc.5
 
 .include "../../mk/bsd.pkg.mk"
diff -r a5cd8c81bc3f -r 10223dc4cfdc textproc/html2wml/Makefile
--- a/textproc/html2wml/Makefile        Tue Jul 07 21:57:28 2009 +0000
+++ b/textproc/html2wml/Makefile        Tue Jul 07 21:58:38 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2008/01/03 14:15:01 obache Exp $
+# $NetBSD: Makefile,v 1.20 2009/07/07 22:01:28 joerg Exp $
 
 DISTNAME=      html2wml-0.4.8r2
 PKGNAME=       html2wml-0.4.8.2
@@ -11,6 +11,8 @@
 # HOMEPAGE=    http://maddingue.free.fr/softwares/html2wml.html
 COMMENT=       On-the-fly HTML to WML conversion
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 DEPENDS+=      p5-libwww>=5.53:../../www/p5-libwww
 DEPENDS+=      p5-XML-Parser>=2.30:../../textproc/p5-XML-Parser
 DEPENDS+=      p5-Text-Template>=1.31:../../textproc/p5-Text-Template
@@ -24,7 +26,7 @@
 INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
 
 do-install:
-       ${INSTALL_SCRIPT} ${WRKSRC}/html2wml.cgi ${PREFIX}/bin/html2wml
-       ${INSTALL_MAN} ${WRKSRC}/doc/html2wml.man ${PREFIX}/${PKGMANDIR}/man1/html2wml.1
+       ${INSTALL_SCRIPT} ${WRKSRC}/html2wml.cgi ${DESTDIR}${PREFIX}/bin/html2wml
+       ${INSTALL_MAN} ${WRKSRC}/doc/html2wml.man ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/html2wml.1
 
 .include "../../mk/bsd.pkg.mk"
diff -r a5cd8c81bc3f -r 10223dc4cfdc textproc/hunspell-de/Makefile
--- a/textproc/hunspell-de/Makefile     Tue Jul 07 21:57:28 2009 +0000
+++ b/textproc/hunspell-de/Makefile     Tue Jul 07 21:58:38 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2009/01/09 11:34:42 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2009/07/07 22:00:41 joerg Exp $
 #
 
 DISTNAME=      igerman98-20090107
@@ -11,6 +11,8 @@
 HOMEPAGE=      http://www.j3e.de/ispell/igerman98/
 COMMENT=       German dictionaries for hunspell
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 BUILD_DEPENDS+=        ispell-base>=3.1.20nb1:../../textproc/ispell-base
 DEPENDS+=      hunspell>=1.1.5:../../textproc/hunspell
 
@@ -32,7 +34,7 @@
 INSTALLATION_DIRS=     share/hunspell
 
 do-install:
-       ${INSTALL_DATA} ${WRKSRC}/hunspell/de*aff ${PREFIX}/share/hunspell
-       ${INSTALL_DATA} ${WRKSRC}/hunspell/de*dic ${PREFIX}/share/hunspell
+       ${INSTALL_DATA} ${WRKSRC}/hunspell/de*aff ${DESTDIR}${PREFIX}/share/hunspell
+       ${INSTALL_DATA} ${WRKSRC}/hunspell/de*dic ${DESTDIR}${PREFIX}/share/hunspell
 
 .include "../../mk/bsd.pkg.mk"
diff -r a5cd8c81bc3f -r 10223dc4cfdc textproc/hunspell-en_GB/Makefile
--- a/textproc/hunspell-en_GB/Makefile  Tue Jul 07 21:57:28 2009 +0000
+++ b/textproc/hunspell-en_GB/Makefile  Tue Jul 07 21:58:38 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/09/11 18:37:53 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2009/07/07 21:59:34 joerg Exp $
 #
 
 VERSION=       20061130
@@ -12,6 +12,8 @@
 HOMEPAGE=      http://en-gb.pyxidium.co.uk/dictionary/
 COMMENT=       British English dictionary for hunspell
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 DIST_SUBDIR=   hunspell-dictionaries/en_GB-${VERSION}
 # don't want -L
 EXTRACT_OPTS_ZIP=      -aqo
@@ -24,10 +26,10 @@
 do-build:
 
 do-install:
-       ${INSTALL_DATA} ${WRKSRC}/en_GB.* ${PREFIX}/share/hunspell
+       ${INSTALL_DATA} ${WRKSRC}/en_GB.* ${DESTDIR}${PREFIX}/share/hunspell
        ${INSTALL_DATA} ${WRKSRC}/README_en_GB.txt \
-               ${PREFIX}/share/doc/hunspell-en_GB
+               ${DESTDIR}${PREFIX}/share/doc/hunspell-en_GB
        ${INSTALL_DATA} ${WRKSRC}/dictionary.lst \
-               ${PREFIX}/share/doc/hunspell-en_GB
+               ${DESTDIR}${PREFIX}/share/doc/hunspell-en_GB
 
 .include "../../mk/bsd.pkg.mk"
diff -r a5cd8c81bc3f -r 10223dc4cfdc textproc/hunspell-en_US/Makefile
--- a/textproc/hunspell-en_US/Makefile  Tue Jul 07 21:57:28 2009 +0000
+++ b/textproc/hunspell-en_US/Makefile  Tue Jul 07 21:58:38 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/09/11 18:38:15 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2009/07/07 21:58:38 joerg Exp $
 #
 
 VERSION=       20060207
@@ -12,6 +12,8 @@
 HOMEPAGE=      http://wiki.services.openoffice.org/wiki/Dictionaries
 COMMENT=       US American English dictionaries for hunspell
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 DIST_SUBDIR=   hunspell-dictionaries/en_US-${VERSION}
 # don't want -L
 EXTRACT_OPTS_ZIP=      -aqo
@@ -24,8 +26,8 @@
 do-build:
 
 do-install:
-       ${INSTALL_DATA} ${WRKSRC}/en_US.* ${PREFIX}/share/hunspell
+       ${INSTALL_DATA} ${WRKSRC}/en_US.* ${DESTDIR}${PREFIX}/share/hunspell
        ${INSTALL_DATA} ${WRKSRC}/README_en_US.txt \
-               ${PREFIX}/share/doc/hunspell-en_US
+               ${DESTDIR}${PREFIX}/share/doc/hunspell-en_US
 
 .include "../../mk/bsd.pkg.mk"
diff -r a5cd8c81bc3f -r 10223dc4cfdc textproc/isearch/Makefile
--- a/textproc/isearch/Makefile Tue Jul 07 21:57:28 2009 +0000
+++ b/textproc/isearch/Makefile Tue Jul 07 21:58:38 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2006/06/02 13:38:53 joerg Exp $
+# $NetBSD: Makefile,v 1.9 2009/07/07 22:00:07 joerg Exp $
 
 DISTNAME=              Isearch-1.47.01
 PKGNAME=               isearch-1.47.01
@@ -9,15 +9,16 @@
 HOMEPAGE=              http://www.etymon.com/Isearch/
 COMMENT=               Advanced text indexing and searching system
 
-GNU_CONFIGURE=         yes
+PKG_DESTDIR_SUPPORT=   user-destdir
 
+GNU_CONFIGURE=         yes
 USE_LANGUAGES=         c c++
 
+INSTALLATION_DIRS=     share/doc/isearch share/doc/html/isearch
+
 post-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/isearch
-       ${INSTALL_DATA} ${WRKSRC}/TUTORIAL ${PREFIX}/share/doc/isearch
-       ${INSTALL_DATA} ${WRKSRC}/doc/DebugFirewall.doc ${PREFIX}/share/doc/isearch
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/isearch
-       ${INSTALL_DATA} ${WRKSRC}/html/*.html ${PREFIX}/share/doc/html/isearch/
+       ${INSTALL_DATA} ${WRKSRC}/TUTORIAL ${DESTDIR}${PREFIX}/share/doc/isearch
+       ${INSTALL_DATA} ${WRKSRC}/doc/DebugFirewall.doc ${DESTDIR}${PREFIX}/share/doc/isearch
+       ${INSTALL_DATA} ${WRKSRC}/html/*.html ${DESTDIR}${PREFIX}/share/doc/html/isearch/
 
 .include "../../mk/bsd.pkg.mk"
diff -r a5cd8c81bc3f -r 10223dc4cfdc textproc/isearch/distinfo
--- a/textproc/isearch/distinfo Tue Jul 07 21:57:28 2009 +0000
+++ b/textproc/isearch/distinfo Tue Jul 07 21:58:38 2009 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.6 2007/12/01 16:42:26 rillig Exp $
+$NetBSD: distinfo,v 1.7 2009/07/07 22:00:07 joerg Exp $
 
 SHA1 (Isearch-1.47.01.tar.gz) = 86761d6055fdd7b954b7ac9d9fd3d0084d758e3f
 RMD160 (Isearch-1.47.01.tar.gz) = 2e7f4c21d8a2d3cb194823a881ee7315f88de66c
 Size (Isearch-1.47.01.tar.gz) = 484760 bytes
-SHA1 (patch-aa) = 5c8291a92f84cc47131e45586879cf986e6a5c4d
+SHA1 (patch-aa) = 028f38a707054d6bcf92f9855e333846fc841410
 SHA1 (patch-ab) = 1bdf80b2a355ac17ff090c7ae25d231bea5ab017
 SHA1 (patch-ac) = 232ef20b661a9e5fd32814da256a59c7146b7b69
 SHA1 (patch-ad) = 7f53e7dfb6c5e37d2c4f6cb12e087c678d07df25
diff -r a5cd8c81bc3f -r 10223dc4cfdc textproc/isearch/patches/patch-aa
--- a/textproc/isearch/patches/patch-aa Tue Jul 07 21:57:28 2009 +0000
+++ b/textproc/isearch/patches/patch-aa Tue Jul 07 21:58:38 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.2 2002/05/03 22:36:09 jtb Exp $
+$NetBSD: patch-aa,v 1.3 2009/07/07 22:00:07 joerg Exp $
 
 --- Makefile.orig      Mon Apr 29 11:36:52 2002
 +++ Makefile   Mon Apr 29 11:42:53 2002
@@ -67,12 +67,12 @@
 -      cp $(BIN_DIR)/Iget $(INSTALL)
 -      cp $(BIN_DIR)/zsearch $(INSTALL)
 -      cp $(BIN_DIR)/zpresent $(INSTALL)
-+      $(BSD_INSTALL_PROGRAM) $(BIN_DIR)/Iindex $(INSTALL)
-+      $(BSD_INSTALL_PROGRAM) $(BIN_DIR)/Isearch $(INSTALL)
-+      $(BSD_INSTALL_PROGRAM) $(BIN_DIR)/Iutil $(INSTALL)
-+      $(BSD_INSTALL_PROGRAM) $(BIN_DIR)/Iget $(INSTALL)
-+      $(BSD_INSTALL_PROGRAM) $(BIN_DIR)/zsearch $(INSTALL)
-+      $(BSD_INSTALL_PROGRAM) $(BIN_DIR)/zpresent $(INSTALL)
++      $(BSD_INSTALL_PROGRAM) $(BIN_DIR)/Iindex ${DESTDIR}$(INSTALL)
++      $(BSD_INSTALL_PROGRAM) $(BIN_DIR)/Isearch ${DESTDIR}$(INSTALL)
++      $(BSD_INSTALL_PROGRAM) $(BIN_DIR)/Iutil ${DESTDIR}$(INSTALL)
++      $(BSD_INSTALL_PROGRAM) $(BIN_DIR)/Iget ${DESTDIR}$(INSTALL)
++      $(BSD_INSTALL_PROGRAM) $(BIN_DIR)/zsearch ${DESTDIR}$(INSTALL)
++      $(BSD_INSTALL_PROGRAM) $(BIN_DIR)/zpresent ${DESTDIR}$(INSTALL)
        @echo ""
        @echo "To install Isearch-cgi, cd into the Isearch-cgi directory"
        @echo "Then run the configure script"



Home | Main Index | Thread Index | Old Index