freebsd-ports/textproc/p5-Text-ParagraphDiff/Makefile

36 lines
861 B
Makefile
Raw Normal View History

# Created by: Cheng-Lung Sung <clsung@dragon2.net>
# $FreeBSD$
PORTNAME= Text-ParagraphDiff
2004-06-03 15:49:30 +02:00
PORTVERSION= 2.70
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
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
RUN_DEPENDS:= ${BUILD_DEPENDS}
2013-08-02 20:21:05 +02:00
USES= perl5
USE_PERL5= configure
WRKSRC= ${WRKDIR}/${PORTNAME}
SCRIPTS= tdiff
EXAMPLES= diff.html new.txt old.txt
EXAMPLESDIR= ${PREFIX}/share/examples/p5-Text-ParagraphDiff
post-install:
.if !defined(NOPORTDOCS)
2013-11-07 04:52:41 +01:00
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/bin && \
2013-11-07 04:52:41 +01:00
${INSTALL_SCRIPT} ${SCRIPTS} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/examples && \
2013-11-07 04:52:41 +01:00
${INSTALL_DATA} ${EXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
.endif
.include <bsd.port.mk>