aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-04-12 15:06:40 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-04-12 15:06:40 +0000
commitae3e0f84197bc9fb1b0cc4ea2039b098197bae26 (patch)
treefe6fbbdb7360f38961a8278f048f47f66e5dd0fc /textproc
parent205c05c45d2e664a3042851d938742ce20ffd22b (diff)
downloadports-ae3e0f84197bc9fb1b0cc4ea2039b098197bae26.tar.gz
ports-ae3e0f84197bc9fb1b0cc4ea2039b098197bae26.zip
Unbreak.
PR: 208721 Submitted by: tkato432 yahoo com Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=413137
Diffstat (limited to 'textproc')
-rw-r--r--textproc/lacheck/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/textproc/lacheck/Makefile b/textproc/lacheck/Makefile
index 1fc00e9c86f9..12e76f061ff0 100644
--- a/textproc/lacheck/Makefile
+++ b/textproc/lacheck/Makefile
@@ -3,19 +3,23 @@
PORTNAME= lacheck
PORTVERSION= 1.26
+PORTREVISION= 1
CATEGORIES= textproc
-MASTER_SITES= ftp://cam.ctan.org/tex-archive/support/lacheck/ \
- http://www.heim2.tu-clausthal.de/~upp/lacheck/
+MASTER_SITES= ftp://ftp.math.utah.edu/pub/lacheck/
MAINTAINER= ports@FreeBSD.org
COMMENT= Tool for finding common mistakes in LaTeX documents
-BROKEN= unfetchable
-
PLIST_FILES= bin/lacheck \
man/man1/lacheck.1.gz
ALL_TARGET= lacheck lacheck.1
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}| ; \
+ s|^CC|# CC|; s|^CFLAGS|# CFLAGS|' \
+ ${WRKSRC}/Makefile
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/lacheck ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/lacheck.1 ${STAGEDIR}${MANPREFIX}/man/man1