freebsd-ports/devel/p5-Module-Build/Makefile

79 lines
2.1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: Module::Build
# Date created: 29 June 2003
# Whom: Dmitry Sivachenko <demon@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Module-Build
PORTVERSION= 0.3607
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
#DISTNAME= ${PORTNAME}-${PORTVERSION:C/\.(..)$/\1/}
MAINTAINER= clsung@FreeBSD.org
COMMENT= Build and install Perl modules
RUN_DEPENDS= p5-YAML-Tiny>=1.40:${PORTSDIR}/textproc/p5-YAML-Tiny \
p5-ExtUtils-CBuilder>=0.15:${PORTSDIR}/devel/p5-ExtUtils-CBuilder \
p5-ExtUtils-ParseXS>=1.02:${PORTSDIR}/devel/p5-ExtUtils-ParseXS \
p5-ExtUtils-Install>=1.54:${PORTSDIR}/devel/p5-ExtUtils-Install \
p5-Test-Harness>=3.16:${PORTSDIR}/devel/p5-Test-Harness
BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_MODBUILD= yes
.if !defined(NOPORTDOCS)
PORTDOCS= Changes INSTALL README
post-install:
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif
MAN3= inc::latest.3 \
Module::Build.3 \
Module::Build::Bundling.3 \
2006-05-22 05:39:51 +02:00
Module::Build::API.3 \
Module::Build::Authoring.3 \
Module::Build::Base.3 \
Module::Build::Compat.3 \
2004-10-12 15:58:47 +02:00
Module::Build::ConfigData.3 \
Module::Build::Cookbook.3 \
2006-05-22 05:39:51 +02:00
Module::Build::ModuleInfo.3 \
Module::Build::Notes.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 \
2004-01-14 10:48:55 +01:00
Module::Build::Platform::aix.3 \
2003-10-16 13:19:44 +02:00
Module::Build::Platform::cygwin.3 \
2004-01-14 10:48:55 +01:00
Module::Build::Platform::darwin.3 \
Module::Build::Platform::os2.3
2009-03-28 21:45:10 +01:00
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} >= 501000
PLIST_SUB+= EXE_FILES="@comment "
.else
PLIST_SUB+= EXE_FILES=""
2004-10-12 15:58:47 +02:00
MAN1= config_data.1
2009-03-28 21:45:10 +01:00
.endif
post-patch:
.if ${PERL_LEVEL} >= 501000
@${REINPLACE_CMD} -e '/script_files/d' ${WRKSRC}/Build.PL
.endif
2004-10-12 15:58:47 +02:00
2009-03-28 21:45:10 +01:00
.include <bsd.port.post.mk>