aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-04-12 23:06:40 +0800
committermat <mat@FreeBSD.org>2016-04-12 23:06:40 +0800
commit8f76b4293a216fce4ca60da42cf78c1560170fff (patch)
treefe6fbbdb7360f38961a8278f048f47f66e5dd0fc /textproc
parent3f104e42dad7b3736daa249bc607c94f159b8120 (diff)
downloadfreebsd-ports-gnome-8f76b4293a216fce4ca60da42cf78c1560170fff.tar.gz
freebsd-ports-gnome-8f76b4293a216fce4ca60da42cf78c1560170fff.tar.zst
freebsd-ports-gnome-8f76b4293a216fce4ca60da42cf78c1560170fff.zip
Unbreak.
PR: 208721 Submitted by: tkato432 yahoo com Sponsored by: Absolight
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