pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/serialmail Support PKGMANDIR.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/edd43140b815
branches:  trunk
changeset: 356574:edd43140b815
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Mon Jan 02 03:33:52 2017 +0000

description:
Support PKGMANDIR.

diffstat:

 mail/serialmail/Makefile         |   7 ++++++-
 mail/serialmail/distinfo         |   4 ++--
 mail/serialmail/patches/patch-aa |  21 +++++++++++++--------
 3 files changed, 21 insertions(+), 11 deletions(-)

diffs (84 lines):

diff -r b6d2b6b96031 -r edd43140b815 mail/serialmail/Makefile
--- a/mail/serialmail/Makefile  Mon Jan 02 03:01:09 2017 +0000
+++ b/mail/serialmail/Makefile  Mon Jan 02 03:33:52 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2012/10/08 12:19:31 asau Exp $
+# $NetBSD: Makefile,v 1.9 2017/01/02 03:33:52 schmonz Exp $
 #
 
 DISTNAME=              serialmail-0.75
@@ -21,5 +21,10 @@
 
 SUBST_FILES.djbware+=  leapsecs_read.c
 
+SUBST_CLASSES+=                paths
+SUBST_STAGE.paths=     do-configure
+SUBST_FILES.paths=     hier.c
+SUBST_SED.paths=       -e 's,@PKGMANDIR@,${PKGMANDIR},g'
+
 .include "../../mk/djbware.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r b6d2b6b96031 -r edd43140b815 mail/serialmail/distinfo
--- a/mail/serialmail/distinfo  Mon Jan 02 03:01:09 2017 +0000
+++ b/mail/serialmail/distinfo  Mon Jan 02 03:33:52 2017 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.6 2015/11/03 23:27:20 agc Exp $
+$NetBSD: distinfo,v 1.7 2017/01/02 03:33:52 schmonz Exp $
 
 SHA1 (serialmail-0.75.tar.gz) = 76f8d5ae698cff25b3227e51cc99fff1f4a8b137
 RMD160 (serialmail-0.75.tar.gz) = 2d12152b9c7d007f76b4d129c2795cd192ba9f83
 SHA512 (serialmail-0.75.tar.gz) = f0c7f14330b44f12f8e5f3590416d707bb2daaca84db8fcd236ae05855269005a726d946269c0cbb25f51238fba350420e0e3a1d57f0ab227c447fafcae497dc
 Size (serialmail-0.75.tar.gz) = 55079 bytes
-SHA1 (patch-aa) = 3b4afee3080a7e82cfb57d159e723c6837eca790
+SHA1 (patch-aa) = 489ae2af99233087fcfb56dd899fe7283401bf7e
 SHA1 (patch-ab) = e9325df21f6dd114c0bc9327708c82f8b692c1d5
 SHA1 (patch-ac) = fd4af9ee031be8f3d2467dc7f94faeacc65bba85
diff -r b6d2b6b96031 -r edd43140b815 mail/serialmail/patches/patch-aa
--- a/mail/serialmail/patches/patch-aa  Mon Jan 02 03:01:09 2017 +0000
+++ b/mail/serialmail/patches/patch-aa  Mon Jan 02 03:33:52 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.2 2012/04/15 00:20:49 schmonz Exp $
+$NetBSD: patch-aa,v 1.3 2017/01/02 03:33:52 schmonz Exp $
 
 Install docs following hier(7), don't install catpages, set reasonable
 permissions, and avoid overwriting "setlock" from sysutils/daemontools.
@@ -21,8 +21,8 @@
 +  d(auto_home,"bin",-1,-1,0755);
 +  d(auto_home,"share/doc",-1,-1,0755);
 +  d(auto_home,"share/doc/serialmail",-1,-1,0755);
-+  d(auto_home,"man",-1,-1,0755);
-+  d(auto_home,"man/man1",-1,-1,0755);
++  d(auto_home,"@PKGMANDIR@",-1,-1,0755);
++  d(auto_home,"@PKGMANDIR@/man1",-1,-1,0755);
  
    c(auto_home,"bin","serialqmtp",-1,-1,0755);
    c(auto_home,"bin","serialsmtp",-1,-1,0755);
@@ -31,18 +31,23 @@
    c(auto_home,"bin","maildirserial",-1,-1,0755);
 -  c(auto_home,"bin","setlock",-1,-1,0755);
  
-   c(auto_home,"man/man1","serialqmtp.1",-1,-1,0644);
+-  c(auto_home,"man/man1","serialqmtp.1",-1,-1,0644);
 -  c(auto_home,"man/cat1","serialqmtp.0",-1,-1,0644);
-   c(auto_home,"man/man1","serialsmtp.1",-1,-1,0644);
+-  c(auto_home,"man/man1","serialsmtp.1",-1,-1,0644);
 -  c(auto_home,"man/cat1","serialsmtp.0",-1,-1,0644);
-   c(auto_home,"man/man1","maildirqmtp.1",-1,-1,0644);
+-  c(auto_home,"man/man1","maildirqmtp.1",-1,-1,0644);
 -  c(auto_home,"man/cat1","maildirqmtp.0",-1,-1,0644);
-   c(auto_home,"man/man1","maildirsmtp.1",-1,-1,0644);
+-  c(auto_home,"man/man1","maildirsmtp.1",-1,-1,0644);
 -  c(auto_home,"man/cat1","maildirsmtp.0",-1,-1,0644);
-   c(auto_home,"man/man1","maildirserial.1",-1,-1,0644);
+-  c(auto_home,"man/man1","maildirserial.1",-1,-1,0644);
 -  c(auto_home,"man/cat1","maildirserial.0",-1,-1,0644);
 -  c(auto_home,"man/man1","setlock.1",-1,-1,0644);
 -  c(auto_home,"man/cat1","setlock.0",-1,-1,0644);
++  c(auto_home,"@PKGMANDIR@/man1","serialqmtp.1",-1,-1,0644);
++  c(auto_home,"@PKGMANDIR@/man1","serialsmtp.1",-1,-1,0644);
++  c(auto_home,"@PKGMANDIR@/man1","maildirqmtp.1",-1,-1,0644);
++  c(auto_home,"@PKGMANDIR@/man1","maildirsmtp.1",-1,-1,0644);
++  c(auto_home,"@PKGMANDIR@/man1","maildirserial.1",-1,-1,0644);
  
 -  c(auto_home,"doc/serialmail","FROMISP",-1,-1,0644);
 -  c(auto_home,"doc/serialmail","TOISP",-1,-1,0644);



Home | Main Index | Thread Index | Old Index