2003-06-29 11:30:08 +02:00
|
|
|
# New ports collection makefile for: Module::Build
|
|
|
|
# Date created: 29 June 2003
|
|
|
|
# Whom: Dmitry Sivachenko <demon@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= Module-Build
|
2009-08-28 05:09:44 +02:00
|
|
|
PORTVERSION= 0.35
|
2003-06-29 11:30:08 +02:00
|
|
|
CATEGORIES= devel perl5
|
2008-03-20 03:05:25 +01:00
|
|
|
MASTER_SITES= CPAN
|
2003-06-29 11:30:08 +02:00
|
|
|
PKGNAMEPREFIX= p5-
|
2008-09-26 16:45:59 +02:00
|
|
|
#DISTNAME= ${PORTNAME}-${PORTVERSION:C/\.(..)$/\1/}
|
2003-06-29 11:30:08 +02:00
|
|
|
|
2006-07-18 02:12:16 +02:00
|
|
|
MAINTAINER= clsung@FreeBSD.org
|
2003-06-29 11:30:08 +02:00
|
|
|
COMMENT= Build and install Perl modules
|
|
|
|
|
2008-03-22 14:28:15 +01:00
|
|
|
RUN_DEPENDS= p5-YAML>=0.35:${PORTSDIR}/textproc/p5-YAML \
|
|
|
|
p5-ExtUtils-CBuilder>=0.15:${PORTSDIR}/devel/p5-ExtUtils-CBuilder \
|
|
|
|
p5-ExtUtils-ParseXS>=1.02:${PORTSDIR}/devel/p5-ExtUtils-ParseXS
|
2006-04-20 20:42:09 +02:00
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
2003-06-29 11:30:08 +02:00
|
|
|
|
2004-04-02 09:31:45 +02:00
|
|
|
PERL_MODBUILD= yes
|
2003-06-29 11:30:08 +02:00
|
|
|
|
2005-12-04 12:46:02 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= Changes INSTALL README
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
|
|
|
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
|
|
|
.endif
|
|
|
|
|
2003-08-21 15:09:52 +02:00
|
|
|
MAN3= Module::Build.3 \
|
2006-05-22 05:39:51 +02:00
|
|
|
Module::Build::API.3 \
|
|
|
|
Module::Build::Authoring.3 \
|
2003-08-21 15:09:52 +02:00
|
|
|
Module::Build::Base.3 \
|
|
|
|
Module::Build::Compat.3 \
|
2004-10-12 15:58:47 +02:00
|
|
|
Module::Build::ConfigData.3 \
|
2003-08-21 15:09:52 +02:00
|
|
|
Module::Build::Cookbook.3 \
|
2006-05-22 05:39:51 +02:00
|
|
|
Module::Build::ModuleInfo.3 \
|
|
|
|
Module::Build::Notes.3 \
|
2003-08-21 15:09:52 +02:00
|
|
|
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 \
|
2006-05-22 05:39:51 +02:00
|
|
|
Module::Build::Platform::os2.3 \
|
|
|
|
Module::Build::YAML.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>
|