1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/textproc/p5-CSS-Tiny/Makefile
Lars Thegler 5013c5fafe Update to 1.08
PR:		ports/79176
Submitted by:	lth
Approved by:	maintainer
2005-04-02 10:41:56 +00:00

38 lines
972 B
Makefile

# New ports collection makefile for: p5-CSS-Tiny
# Date created: 2003-10-31
# Whom: Hansjoerg Pehofer <hansjoerg.pehofer@uibk.ac.at>
#
# $FreeBSD$
#
PORTNAME= CSS-Tiny
PORTVERSION= 1.08
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= CSS
PKGNAMEPREFIX= p5-
MAINTAINER= hansjoerg.pehofer@uibk.ac.at
COMMENT= Read/Write .css files with as little code as possible
PERL_CONFIGURE= yes
MAN3= CSS::Tiny.3
post-patch:
@${RM} ${WRKSRC}/inc/Module/Install/AutoInstall.pm
@${PERL} -pi -e '$$_="" if /AutoInstall/' ${WRKSRC}/MANIFEST
@${PERL} -pi -e '$$_="" if /Test::More|auto_install/' ${WRKSRC}/Makefile.PL
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} <= 500503
EXTRA_PATCHES= ${PATCHDIR}/500503-lib::CSS::Tiny.pm
.endif
.if ${PERL_LEVEL} < 500601
BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
RUN_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
.endif
.include <bsd.port.post.mk>