pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/p5-Module-Install-RTx



Module Name:    pkgsrc
Committed By:   spz
Date:           Tue Jul 16 06:20:18 UTC 2019

Modified Files:
        pkgsrc/devel/p5-Module-Install-RTx: Makefile distinfo
Added Files:
        pkgsrc/devel/p5-Module-Install-RTx/patches:
            patch-lib_Module_Install_RTx.pm

Log Message:
make
INSTALLVENDORMAN1DIR => "@PREFIX@/@PKGMANDIR@/man1"
INSTALLVENDORMAN3DIR => "@PREFIX@/@PKGMANDIR@/man3"
and INSTALLVENDORARCH located with the rest of the plugin
instead of hardwiring them to /usr/share/man/*


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 pkgsrc/devel/p5-Module-Install-RTx/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/p5-Module-Install-RTx/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/p5-Module-Install-RTx/patches/patch-lib_Module_Install_RTx.pm

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/p5-Module-Install-RTx/Makefile
diff -u pkgsrc/devel/p5-Module-Install-RTx/Makefile:1.23 pkgsrc/devel/p5-Module-Install-RTx/Makefile:1.24
--- pkgsrc/devel/p5-Module-Install-RTx/Makefile:1.23    Sun Jun 30 20:15:20 2019
+++ pkgsrc/devel/p5-Module-Install-RTx/Makefile Tue Jul 16 06:20:17 2019
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.23 2019/06/30 20:15:20 nia Exp $
+# $NetBSD: Makefile,v 1.24 2019/07/16 06:20:17 spz Exp $
 
 DISTNAME=      Module-Install-RTx-0.40
 PKGNAME=       p5-${DISTNAME}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    devel perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Module/}
 
@@ -15,5 +15,10 @@ DEPENDS+=    p5-Module-Install-[0-9]*:../..
 
 PERL5_PACKLIST=                auto/Module/Install/RTx/.packlist
 
+SUBST_CLASSES+=         manpath
+SUBST_STAGE.manpath=    pre-configure
+SUBST_FILES.manpath=    lib/Module/Install/RTx.pm
+SUBST_VARS.manpath=    PREFIX PKGMANDIR
+
 .include "../../lang/perl5/module.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/p5-Module-Install-RTx/distinfo
diff -u pkgsrc/devel/p5-Module-Install-RTx/distinfo:1.10 pkgsrc/devel/p5-Module-Install-RTx/distinfo:1.11
--- pkgsrc/devel/p5-Module-Install-RTx/distinfo:1.10    Sun Mar  4 11:22:12 2018
+++ pkgsrc/devel/p5-Module-Install-RTx/distinfo Tue Jul 16 06:20:17 2019
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.10 2018/03/04 11:22:12 wiz Exp $
+$NetBSD: distinfo,v 1.11 2019/07/16 06:20:17 spz Exp $
 
 SHA1 (Module-Install-RTx-0.40.tar.gz) = a56c22047dfa0d0dbf01f8c08026b8a6be31054c
 RMD160 (Module-Install-RTx-0.40.tar.gz) = db6ab2a3835d58e9c0c4f1cbf1be5b457516dedf
 SHA512 (Module-Install-RTx-0.40.tar.gz) = c97408f9062764db827f437570a174e843249e15019c06ed2681c5c19819d22a1e9d230c715cca58bd8dc660ae904e82ca8e9fff1cbff5645a3397c17ff893c5
 Size (Module-Install-RTx-0.40.tar.gz) = 27220 bytes
+SHA1 (patch-lib_Module_Install_RTx.pm) = 707f961ddaccfcae7295ebf54c7c43ce45ff7069

Added files:

Index: pkgsrc/devel/p5-Module-Install-RTx/patches/patch-lib_Module_Install_RTx.pm
diff -u /dev/null pkgsrc/devel/p5-Module-Install-RTx/patches/patch-lib_Module_Install_RTx.pm:1.1
--- /dev/null   Tue Jul 16 06:20:18 2019
+++ pkgsrc/devel/p5-Module-Install-RTx/patches/patch-lib_Module_Install_RTx.pm  Tue Jul 16 06:20:18 2019
@@ -0,0 +1,19 @@
+$NetBSD: patch-lib_Module_Install_RTx.pm,v 1.1 2019/07/16 06:20:18 spz Exp $
+
+fix up installpaths
+
+--- lib/Module/Install/RTx.pm.orig     2018-03-02 20:05:16.000000000 +0000
++++ lib/Module/Install/RTx.pm
+@@ -173,9 +173,9 @@ install ::
+     # INSTALLDIRS=vendor should install manpages into /usr/share/man.
+     # That is the default path in most distributions. Need input from
+     # Redhat, Centos etc.
+-    $self->makemaker_args( INSTALLVENDORMAN1DIR => "/usr/share/man/man1" );
+-    $self->makemaker_args( INSTALLVENDORMAN3DIR => "/usr/share/man/man3" );
+-    $self->makemaker_args( INSTALLVENDORARCH => "/usr/share/man" );
++    $self->makemaker_args( INSTALLVENDORMAN1DIR => "@PREFIX@/@PKGMANDIR@/man1" );
++    $self->makemaker_args( INSTALLVENDORMAN3DIR => "@PREFIX@/@PKGMANDIR@/man3" );
++    $self->makemaker_args( INSTALLVENDORARCH => "$RT::PluginPath/$name/$Config{api_versionstring}/$Config{archname}" );
+ 
+     if (%has_etc) {
+         print "For first-time installation, type 'make initdb'.\n";



Home | Main Index | Thread Index | Old Index