freebsd-ports/www/p5-Apache-Admin-Config/Makefile
Andrej Zverev 0c32f39711 - Convert to new Uses/perl5.mk framework
- Resolve issues with implicit lang/perl in extract and patch dependencies
- Trim Makefile header

Reviewed by:	bapt@ (exp-run)
Approved by:	bapt@ (portmrg@)
2013-07-31 06:54:09 +00:00

23 lines
539 B
Makefile

# Created by: Anton Berezin <tobez@tobez.org>
# $FreeBSD$
PORTNAME= Apache-Admin-Config
PORTVERSION= 0.95
CATEGORIES= www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl module to manipulate Apache configuration files
USES= perl5
USE_PERL5= configure patch
MAN3= Apache::Admin::Config.3
post-patch:
${PERL} -pi -e 's/(!\$$)/0 && $1/;' \
-e 's|(VERSION_FROM\s+=>\s+)(.*)(,.*)$$|$$1$$2$$3\nMAN3PODS=>{$$2=>q!\\\$$(INST_MAN3DIR)/${MAN3}!},|;' \
${WRKSRC}/Makefile.PL
.include <bsd.port.mk>