aboutsummaryrefslogtreecommitdiff
path: root/textproc/lacheck/Makefile
blob: e8a6cb0b67da0d877c67d549bfecc26e9157c279 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
PORTNAME=	lacheck
PORTVERSION=	1.26
PORTREVISION=	1
CATEGORIES=	textproc
MASTER_SITES=	ftp://ftp.math.utah.edu/pub/lacheck/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Tool for finding common mistakes in LaTeX documents

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

.include <bsd.port.mk>