pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/mhonarc Install the man pages back into ${PREFIX}...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/927670fddc40
branches:  trunk
changeset: 498002:927670fddc40
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Wed Aug 10 02:55:27 2005 +0000

description:
Install the man pages back into ${PREFIX}/man/man1 so that they can
be found without any special configuration for man.  While here, hard
code all of the paths for the install script to insulate ourselves
against future changes in perl.  Bump the PKGREVISION to 2.

diffstat:

 mail/mhonarc/Makefile |  16 ++++++++--------
 mail/mhonarc/PLIST    |  10 +++++-----
 2 files changed, 13 insertions(+), 13 deletions(-)

diffs (61 lines):

diff -r ea48d9c6dcaa -r 927670fddc40 mail/mhonarc/Makefile
--- a/mail/mhonarc/Makefile     Wed Aug 10 01:34:53 2005 +0000
+++ b/mail/mhonarc/Makefile     Wed Aug 10 02:55:27 2005 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.22 2005/08/09 08:06:59 tron Exp $
+# $NetBSD: Makefile,v 1.23 2005/08/10 02:55:27 jlam Exp $
 
 DISTNAME=      MHonArc-2.6.11
 PKGNAME=       mhonarc-2.6.11
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    mail
 MASTER_SITES=  http://www.mhonarc.org/release/MHonArc/tar/
 EXTRACT_SUFX=  .tar.bz2
@@ -14,16 +14,16 @@
 USE_TOOLS+=    perl:run
 NO_BUILD=      YES
 
-pre-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/lib/mhonarc
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mhonarc
+INSTALLATION_DIRS=     bin lib man share/doc
 
 do-install:
-       ( cd ${WRKSRC} && ${PERL5} ./install.me \
+       cd ${WRKSRC} && ${PERL5} ./install.me \
                -prefix ${PREFIX} \
-               -perl ${LOCALBASE}/bin/perl \
+               -perl ${PERL5} \
+               -binpath ${PREFIX}/bin \
                -libpath ${PREFIX}/lib/mhonarc \
                -docpath ${PREFIX}/share/doc/mhonarc \
-               -batch )
+               -manpath ${PREFIX}/man \
+               -batch
 
 .include "../../mk/bsd.pkg.mk"
diff -r ea48d9c6dcaa -r 927670fddc40 mail/mhonarc/PLIST
--- a/mail/mhonarc/PLIST        Wed Aug 10 01:34:53 2005 +0000
+++ b/mail/mhonarc/PLIST        Wed Aug 10 02:55:27 2005 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2005/08/09 08:06:59 tron Exp $
+@comment $NetBSD: PLIST,v 1.8 2005/08/10 02:55:27 jlam Exp $
 bin/mha-dbedit
 bin/mha-dbrecover
 bin/mha-decode
@@ -159,10 +159,10 @@
 lib/mhonarc/osinit.pl
 lib/mhonarc/qprint.pl
 lib/mhonarc/readmail.pl
-lib/perl5/man/man1/mha-dbedit.1
-lib/perl5/man/man1/mha-dbrecover.1
-lib/perl5/man/man1/mha-decode.1
-lib/perl5/man/man1/mhonarc.1
+man/man1/mha-dbedit.1
+man/man1/mha-dbrecover.1
+man/man1/mha-decode.1
+man/man1/mhonarc.1
 share/doc/mhonarc/app-api.html
 share/doc/mhonarc/app-bugs.html
 share/doc/mhonarc/app-diagnos.html



Home | Main Index | Thread Index | Old Index