1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

- remove *.orig and unbreak this port on 4.x

This commit is contained in:
Yen-Ming Lee 2005-04-29 16:46:24 +00:00
parent 7c3ab656e2
commit 651d26ee02
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=134362

View File

@ -18,11 +18,6 @@ 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
@ -34,4 +29,12 @@ 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>