freebsd-ports/devel/p5-AppConfig-Std/Makefile
Anton Berezin 867df7cdac Add p5-AppConfig-Std 1.07, a subclass of AppConfig that provides a set
of standard configuration variables and command-line switches.

PR:		40809
Submitted by:	Kimura Fuyuki <fuyuki@hadaly.org>
2002-07-25 22:57:50 +00:00

29 lines
839 B
Makefile

# New ports collection makefile for: p5-AppConfig-Std
# Date created: 20 July 2002
# Whom: Kimura Fuyuki <fuyuki@hadaly.org>
#
# $FreeBSD$
#
PORTNAME= AppConfig-Std
PORTVERSION= 1.07
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= AppConfig
PKGNAMEPREFIX= p5-
MAINTAINER= fuyuki@hadaly.org
RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/AppConfig.pm:${PORTSDIR}/devel/p5-AppConfig \
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-PodParser
PERL_CONFIGURE= yes
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= AppConfig::Std.3
post-patch:
${PERL} -pi -e 's|(VERSION_FROM\s+=>\s+)(.*)(,.*)$$|$$1$$2$$3\nMAN3PODS=>{$$2=>q!\\\$$(INST_MAN3DIR)/${MAN3}!},|;' \
${WRKSRC}/Makefile.PL
.include <bsd.port.mk>