blob: 3de781f9deafcb5b747a40f2a319b332cabba0c6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# 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
.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
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
.if ${PERL_LEVEL} <= 500503
@${RM} ${WRKSRC}/lib/CSS/Tiny.pm.orig
.endif
.include <bsd.port.post.mk>
|