2013-09-21 01:17:30 +02:00
|
|
|
# Created by: Cheng-Lung Sung <clsung@dragon2.net>
|
2003-11-04 17:30:35 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= Text-ParagraphDiff
|
2004-06-03 15:49:30 +02:00
|
|
|
PORTVERSION= 2.70
|
2003-11-04 17:30:35 +01:00
|
|
|
CATEGORIES= textproc perl5
|
2008-04-17 16:30:31 +02:00
|
|
|
MASTER_SITES= CPAN
|
2003-11-04 17:30:35 +01:00
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
2003-12-21 01:23:25 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-11-04 17:30:35 +01:00
|
|
|
COMMENT= Visual difference for paragraphed text
|
|
|
|
|
2012-06-04 18:53:46 +02:00
|
|
|
BUILD_DEPENDS= p5-Algorithm-Diff>=0:${PORTSDIR}/devel/p5-Algorithm-Diff \
|
|
|
|
p5-HTML-Parser>=0:${PORTSDIR}/www/p5-HTML-Parser
|
2012-01-21 18:40:15 +01:00
|
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
2003-11-04 17:30:35 +01:00
|
|
|
|
2013-08-02 20:21:05 +02:00
|
|
|
USES= perl5
|
|
|
|
USE_PERL5= configure
|
2003-11-04 17:30:35 +01:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
|
2004-01-19 15:11:19 +01:00
|
|
|
SCRIPTS= tdiff
|
|
|
|
EXAMPLES= diff.html new.txt old.txt
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/p5-Text-ParagraphDiff
|
2003-11-04 17:30:35 +01:00
|
|
|
MAN3= Text::ParagraphDiff.3
|
|
|
|
|
2013-09-21 01:17:30 +02:00
|
|
|
NO_STAGE= yes
|
2004-01-19 15:11:19 +01:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
cd ${WRKSRC}/bin && \
|
|
|
|
${INSTALL_SCRIPT} ${SCRIPTS} ${EXAMPLESDIR}
|
|
|
|
cd ${WRKSRC}/examples && \
|
|
|
|
${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
|
|
|
|
.endif
|
|
|
|
|
2007-04-06 08:48:45 +02:00
|
|
|
.include <bsd.port.mk>
|