2002-05-27 10:17:59 +02:00
|
|
|
# New ports collection makefile for: Pod::Parser
|
|
|
|
# Date created: 18 Dec 2001
|
|
|
|
# Whom: Sergey Skvortsov <skv@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2005-06-11 18:13:12 +02:00
|
|
|
PORTNAME= Pod-Parser
|
2006-11-10 21:22:05 +01:00
|
|
|
PORTVERSION= 1.35
|
2002-05-27 10:17:59 +02:00
|
|
|
CATEGORIES= textproc perl5
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
|
|
MASTER_SITE_SUBDIR= Pod
|
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
|
|
|
MAINTAINER= skv@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Modules to work with POD (Plain Old Documentation)
|
2002-05-27 10:17:59 +02:00
|
|
|
|
2005-06-11 18:13:12 +02:00
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools
|
2005-03-16 20:05:38 +01:00
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
|
2002-05-27 10:17:59 +02:00
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
|
|
|
|
MAN1= pod2usage.1 podchecker.1 podselect.1
|
|
|
|
MAN3= Pod::Checker.3 Pod::Find.3 Pod::InputObjects.3 \
|
|
|
|
Pod::ParseUtils.3 Pod::Parser.3 Pod::PlainText.3 Pod::Select.3 \
|
|
|
|
Pod::Usage.3
|
2004-08-05 03:10:27 +02:00
|
|
|
|
2004-08-10 21:01:26 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
2002-05-27 10:17:59 +02:00
|
|
|
|
2004-08-10 21:01:26 +02:00
|
|
|
.if ${PERL_LEVEL} < 500600
|
2005-03-16 20:05:38 +01:00
|
|
|
PLIST_SUB+= PL_FILES=""
|
|
|
|
.else
|
2004-08-10 21:01:26 +02:00
|
|
|
.undef MAN1
|
2005-03-16 20:05:38 +01:00
|
|
|
PLIST_SUB+= PL_FILES="@comment "
|
2004-08-10 21:01:26 +02:00
|
|
|
.endif
|
2002-11-15 02:37:43 +01:00
|
|
|
|
2004-08-10 21:01:26 +02:00
|
|
|
post-patch:
|
2005-03-16 20:05:38 +01:00
|
|
|
.if ${PERL_LEVEL} >= 500600
|
|
|
|
@${REINPLACE_CMD} -e '/EXE_FILES/d' ${WRKSRC}/Makefile.PL
|
2003-02-12 13:13:58 +01:00
|
|
|
.endif
|
2004-08-10 21:01:26 +02:00
|
|
|
@${FIND} ${WRKSRC} -name \*.orig -exec ${RM} {} \;
|
2002-11-15 02:37:43 +01:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|