diff options
author | heinz <heinz> | 2007-04-12 20:23:30 +0000 |
---|---|---|
committer | heinz <heinz> | 2007-04-12 20:23:30 +0000 |
commit | a5e6b5547d91997f02e20da39d2f0b827be839a0 (patch) | |
tree | b3ba923a1280fd5685a30807875129164d302b1e /mail/p5-razor-agents | |
parent | bf04ef8438a8311d32287abde44b96a27fa9f301 (diff) | |
download | pkgsrc-a5e6b5547d91997f02e20da39d2f0b827be839a0.tar.gz |
Introduced a variable to Makefile.PL (see patch-aa) for the correct
handling of PKGMANDIR.
Diffstat (limited to 'mail/p5-razor-agents')
-rw-r--r-- | mail/p5-razor-agents/Makefile | 5 | ||||
-rw-r--r-- | mail/p5-razor-agents/distinfo | 3 | ||||
-rw-r--r-- | mail/p5-razor-agents/patches/patch-aa | 22 |
3 files changed, 28 insertions, 2 deletions
diff --git a/mail/p5-razor-agents/Makefile b/mail/p5-razor-agents/Makefile index 36178a1a5ed..6ddedb552b9 100644 --- a/mail/p5-razor-agents/Makefile +++ b/mail/p5-razor-agents/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.25 2007/04/12 20:21:24 heinz Exp $ +# $NetBSD: Makefile,v 1.26 2007/04/12 20:23:30 heinz Exp $ DISTNAME= razor-agents-2.82 PKGNAME= p5-${DISTNAME} +PKGREVISION= 1 SVR4_PKGNAME= p5ra CATEGORIES= mail perl5 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=razor/} @@ -20,6 +21,8 @@ DEPENDS+= p5-URI-[0-9]*:../../www/p5-URI PKG_INSTALLATION_TYPES= overwrite pkgviews PKG_DESTDIR_SUPPORT= user-destdir +MAKE_FLAGS+= MANSUBDIR=${PKGMANDIR:Q} + PERL5_PACKLIST= auto/razor-agents/.packlist REPLACE_PERL+= lib/Razor2/*.pm lib/Razor2/*/*.pm diff --git a/mail/p5-razor-agents/distinfo b/mail/p5-razor-agents/distinfo index 0824872d16f..2b21f39d3e0 100644 --- a/mail/p5-razor-agents/distinfo +++ b/mail/p5-razor-agents/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.12 2006/07/15 12:38:39 heinz Exp $ +$NetBSD: distinfo,v 1.13 2007/04/12 20:23:30 heinz Exp $ SHA1 (razor-agents-2.82.tar.bz2) = 76b9efdd2b09726e68b19ecf8bd98293ac646db8 RMD160 (razor-agents-2.82.tar.bz2) = 4015686818e24084319ae2c13c82bbf74df54035 Size (razor-agents-2.82.tar.bz2) = 79021 bytes +SHA1 (patch-aa) = 0b5dbc5f9ba966ca1cd5123ffdf6d290bd7d3621 diff --git a/mail/p5-razor-agents/patches/patch-aa b/mail/p5-razor-agents/patches/patch-aa new file mode 100644 index 00000000000..cbb963c8606 --- /dev/null +++ b/mail/p5-razor-agents/patches/patch-aa @@ -0,0 +1,22 @@ +$NetBSD: patch-aa,v 1.7 2007/04/12 20:23:30 heinz Exp $ + +--- Makefile.PL.orig 2006-02-27 23:16:08.000000000 +0100 ++++ Makefile.PL +@@ -53,13 +53,14 @@ sub constants { + my $man5 = sprintf <<'MAKE', $prefix; + + # begin razor-agents ++MANSUBDIR ?= share/man + MAN5PODS = docs/razor-agent.conf.pod \ + docs/razor-whitelist.pod \ + docs/razor-agents.pod + INST_MAN5DIR = blib/man5 +-INSTALLMAN5DIR = $(DESTDIR)$(PREFIX)/share/man/man5 +-INSTALLSITEMAN5DIR = $(DESTDIR)$(SITEPREFIX)/share/man/man5 +-INSTALLVENDORMAN5DIR = $(DESTDIR)$(VENDORPREFIX)/share/man/man5 ++INSTALLMAN5DIR = $(DESTDIR)$(PREFIX)/$(MANSUBDIR)/man5 ++INSTALLSITEMAN5DIR = $(DESTDIR)$(SITEPREFIX)/$(MANSUBDIR)/man5 ++INSTALLVENDORMAN5DIR = $(DESTDIR)$(VENDORPREFIX)/$(MANSUBDIR)/man5 + MAN5EXT = 5 + # end razor-agents + |