aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2003-08-21 21:09:52 +0800
committermat <mat@FreeBSD.org>2003-08-21 21:09:52 +0800
commit4727c832442476c452f76e6de7b41021ca5844de (patch)
treebc04cbe3b885d8c25f0fb2a615b7c264aa205394 /devel
parentf1483604fea2480b6951fb1b986692de9b8418f0 (diff)
downloadfreebsd-ports-gnome-4727c832442476c452f76e6de7b41021ca5844de.tar.gz
freebsd-ports-gnome-4727c832442476c452f76e6de7b41021ca5844de.tar.zst
freebsd-ports-gnome-4727c832442476c452f76e6de7b41021ca5844de.zip
Update to 0.19_05
Add inc.build.mk which should be used by modules using Module::Build to build so that they respect PREFIX Grab maintainership PR: 55115 Approved by: demon (mentor)
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-Module-Build/Makefile28
-rw-r--r--devel/p5-Module-Build/distinfo2
-rw-r--r--devel/p5-Module-Build/inc.build.mk14
-rw-r--r--devel/p5-Module-Build/pkg-plist18
4 files changed, 48 insertions, 14 deletions
diff --git a/devel/p5-Module-Build/Makefile b/devel/p5-Module-Build/Makefile
index 9e5d32fa8d47..56c9f25ac411 100644
--- a/devel/p5-Module-Build/Makefile
+++ b/devel/p5-Module-Build/Makefile
@@ -6,21 +6,40 @@
#
PORTNAME= Module-Build
-PORTVERSION= 0.19
+PORTVERSION= 0.19.05
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
-MASTER_SITE_SUBDIR= Module
+MASTER_SITE_SUBDIR= Module/KWILLIAMS
PKGNAMEPREFIX= p5-
+DISTNAME= ${PORTNAME}-${PORTVERSION:C/\.(..)$/_\1/}
-MAINTAINER= demon@FreeBSD.org
+MAINTAINER= mat@FreeBSD.org
COMMENT= Build and install Perl modules
BUILD_DEPENDS= ${SITE_PERL}/Archive/Tar.pm:${PORTSDIR}/archivers/p5-Archive-Tar \
- ${SITE_PERL}/YAML.pm:${PORTSDIR}/textproc/p5-YAML
+ ${SITE_PERL}/YAML.pm:${PORTSDIR}/textproc/p5-YAML \
+ ${SITE_PERL}/Pod/Man.pm:${PORTSDIR}/textproc/p5-podlators
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
+MAN3= Module::Build.3 \
+ Module::Build::Base.3 \
+ Module::Build::Compat.3 \
+ Module::Build::Cookbook.3 \
+ Module::Build::PPMMaker.3 \
+ Module::Build::Platform::Amiga.3 \
+ Module::Build::Platform::Default.3 \
+ Module::Build::Platform::EBCDIC.3 \
+ Module::Build::Platform::MPEiX.3 \
+ Module::Build::Platform::MacOS.3 \
+ Module::Build::Platform::RiscOS.3 \
+ Module::Build::Platform::Unix.3 \
+ Module::Build::Platform::VMS.3 \
+ Module::Build::Platform::VOS.3 \
+ Module::Build::Platform::Windows.3 \
+ Module::Build::Platform::darwin.3
+
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} > 500600
@@ -30,4 +49,5 @@ BUILD_DEPENDS+= ${SITE_PERL}/ExtUtils/ParseXS.pm:${PORTSDIR}/devel/p5-ExtUtils-P
BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
.endif
+.include "inc.build.mk"
.include <bsd.port.post.mk>
diff --git a/devel/p5-Module-Build/distinfo b/devel/p5-Module-Build/distinfo
index dd33e98f8619..e5119b930207 100644
--- a/devel/p5-Module-Build/distinfo
+++ b/devel/p5-Module-Build/distinfo
@@ -1 +1 @@
-MD5 (Module-Build-0.19.tar.gz) = c1647888d63033446583f9697fb7b426
+MD5 (Module-Build-0.19_05.tar.gz) = be886d5da978abfed033e0005e42fdf4
diff --git a/devel/p5-Module-Build/inc.build.mk b/devel/p5-Module-Build/inc.build.mk
new file mode 100644
index 000000000000..2a83e19b06c5
--- /dev/null
+++ b/devel/p5-Module-Build/inc.build.mk
@@ -0,0 +1,14 @@
+# $FreeBSD$
+# To be used by modules using Module::Build
+
+.if ${PORTNAME} != Module-Build
+BUILD_DEPENDS+= ${SITE_PERL}/Module/Build.pm:${PORTSDIR}/devel/p5-Module-Build
+.endif
+
+CONFIGURE_ARGS+= install_path=lib="${PREFIX}/${SITE_PERL:S|^${LOCALBASE}/||}" \
+ install_path=arch="${PREFIX}/${SITE_PERL:S|^${LOCALBASE}/||}/${PERL_ARCH}" \
+ install_path=script="${PREFIX}/bin" \
+ install_path=bin="${PREFIX}/bin" \
+ install_path=libdoc="${MAN3PREFIX}/man/man3" \
+ install_path=bindoc="${MAN1PREFIX}/man/man1"
+
diff --git a/devel/p5-Module-Build/pkg-plist b/devel/p5-Module-Build/pkg-plist
index 53e278261f13..963c6054204b 100644
--- a/devel/p5-Module-Build/pkg-plist
+++ b/devel/p5-Module-Build/pkg-plist
@@ -1,19 +1,19 @@
%%SITE_PERL%%/Module/Build.pm
-%%SITE_PERL%%/Module/Build/Compat.pm
%%SITE_PERL%%/Module/Build/Base.pm
-%%SITE_PERL%%/Module/Build/PPMMaker.pm
+%%SITE_PERL%%/Module/Build/Compat.pm
%%SITE_PERL%%/Module/Build/Cookbook.pm
-%%SITE_PERL%%/Module/Build/Platform/darwin.pm
-%%SITE_PERL%%/Module/Build/Platform/MacOS.pm
-%%SITE_PERL%%/Module/Build/Platform/RiscOS.pm
-%%SITE_PERL%%/Module/Build/Platform/VOS.pm
-%%SITE_PERL%%/Module/Build/Platform/Windows.pm
-%%SITE_PERL%%/Module/Build/Platform/Unix.pm
+%%SITE_PERL%%/Module/Build/PPMMaker.pm
%%SITE_PERL%%/Module/Build/Platform/Amiga.pm
+%%SITE_PERL%%/Module/Build/Platform/Default.pm
%%SITE_PERL%%/Module/Build/Platform/EBCDIC.pm
%%SITE_PERL%%/Module/Build/Platform/MPEiX.pm
+%%SITE_PERL%%/Module/Build/Platform/MacOS.pm
+%%SITE_PERL%%/Module/Build/Platform/RiscOS.pm
+%%SITE_PERL%%/Module/Build/Platform/Unix.pm
%%SITE_PERL%%/Module/Build/Platform/VMS.pm
-%%SITE_PERL%%/Module/Build/Platform/Default.pm
+%%SITE_PERL%%/Module/Build/Platform/VOS.pm
+%%SITE_PERL%%/Module/Build/Platform/Windows.pm
+%%SITE_PERL%%/Module/Build/Platform/darwin.pm
@dirrm %%SITE_PERL%%/Module/Build/Platform
@dirrm %%SITE_PERL%%/Module/Build
@unexec rmdir %D/%%SITE_PERL%%/Module 2>/dev/null || true