mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-17 08:01:36 +00:00
090059a210
The affected ports are the ones with gettext as a run-dependency according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT in Makefile (29 of them). PR: ports/124340 Submitted by: edwin@ Approved by: portmgr (pav)
53 lines
1.3 KiB
Makefile
53 lines
1.3 KiB
Makefile
# New ports collection makefile for: latexdiff
|
|
# Date created: 01 Oct 2005
|
|
# Whom: Maxim Loginov <Zeliboba@mail.ru>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= latexdiff
|
|
PORTVERSION= 0.5
|
|
PORTREVISION= 1
|
|
CATEGORIES= print perl5
|
|
MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
|
|
MASTER_SITE_SUBDIR= support
|
|
DISTNAME= ${PORTNAME}
|
|
|
|
MAINTAINER= Zeliboba@mail.ru
|
|
COMMENT= Determine and mark up significant differences between latex files
|
|
|
|
RUN_DEPENDS+= ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \
|
|
bash:${PORTSDIR}/shells/bash
|
|
|
|
USE_PERL5_RUN= yes
|
|
USE_ZIP= yes
|
|
NO_BUILD= yes
|
|
|
|
MAN1= latexdiff.1 \
|
|
latexdiff-vc.1 \
|
|
latexrevise.1
|
|
|
|
PLIST_FILES= bin/latexdiff \
|
|
bin/latexdiff-fast \
|
|
bin/latexdiff-so \
|
|
bin/latexdiff-vc \
|
|
bin/latexdiff-wrap \
|
|
bin/latexrevise
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e "s,\/bin\/bash,${LOCALBASE}\/bin\/bash," \
|
|
${WRKSRC}/contrib/latexdiff-wrap
|
|
|
|
do-install:
|
|
${MKDIR} ${PREFIX}/bin ${MANPREFIX}/man/man1
|
|
( cd ${WRKSRC} && ${INSTALL_SCRIPT} latexdiff-fast latexdiff-so \
|
|
latexdiff-vc latexrevise contrib/latexdiff-wrap ${PREFIX}/bin && \
|
|
${INSTALL_MAN} latexdiff.1 latexdiff-vc.1 latexrevise.1 \
|
|
${MANPREFIX}/man/man1 )
|
|
${LN} -s ${PREFIX}/bin/latexdiff-so ${PREFIX}/bin/latexdiff
|
|
|
|
test:
|
|
( cd ${WRKSRC} && ${MAKE} test-so test-fast )
|
|
|
|
.include <bsd.port.mk>
|