diff --git a/textproc/lacheck/Makefile b/textproc/lacheck/Makefile index 1de05f64cab7..02b0f313a4b9 100644 --- a/textproc/lacheck/Makefile +++ b/textproc/lacheck/Makefile @@ -1,23 +1,26 @@ PORTNAME= lacheck -PORTVERSION= 1.26 -PORTREVISION= 1 +DISTVERSION= 1.30 CATEGORIES= textproc -MASTER_SITES= https://ftp.math.utah.edu/pub/lacheck/ +MASTER_SITES= TEX_CTAN/systems/texlive/${TEXLIVE_YEAR} +DISTNAME= texlive-${TEXLIVE_VERSION}-source +DIST_SUBDIR= TeX -MAINTAINER= ports@FreeBSD.org +MAINTAINER= alven@FreeBSD.org COMMENT= Tool for finding common mistakes in LaTeX documents +WWW= https://www.ctan.org/tex-archive/support/lacheck/ -PLIST_FILES= bin/lacheck \ - share/man/man1/lacheck.1.gz -ALL_TARGET= lacheck lacheck.1 +LICENSE= GPLv1+ + +USES= cpe tar:xz tex +CPE_VENDOR= tug + +GNU_CONFIGURE= yes -post-patch: - @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}| ; \ - s|^CC|# CC|; s|^CFLAGS|# CFLAGS|' \ - ${WRKSRC}/Makefile +CONFLICTS_INSTALL= texlive-base -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/lacheck ${STAGEDIR}${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/lacheck.1 ${STAGEDIR}${PREFIX}/share/man/man1 +WRKSRC_SUBDIR= utils/${PORTNAME} + +PLIST_FILES= bin/lacheck \ + share/man/man1/lacheck.1.gz .include diff --git a/textproc/lacheck/distinfo b/textproc/lacheck/distinfo index 98aa5ef64195..27a68f9e7fbb 100644 --- a/textproc/lacheck/distinfo +++ b/textproc/lacheck/distinfo @@ -1,2 +1,3 @@ -SHA256 (lacheck-1.26.tar.gz) = 1f305046bfbd1da74a9dd5c01ad72c84ba3d9902c8c68fc7120b6b66dce85a7c -SIZE (lacheck-1.26.tar.gz) = 46894 +TIMESTAMP = 1760049463 +SHA256 (TeX/texlive-20250308-source.tar.xz) = fffdb1a3d143c177a4398a2229a40d6a88f18098e5f6dcfd57648c9f2417490f +SIZE (TeX/texlive-20250308-source.tar.xz) = 111136556 diff --git a/textproc/lacheck/pkg-descr b/textproc/lacheck/pkg-descr index 77d8251953a5..e6b1fce345cd 100644 --- a/textproc/lacheck/pkg-descr +++ b/textproc/lacheck/pkg-descr @@ -1,4 +1,4 @@ LaCheck is a general purpose consistency checker for LaTeX documents. It reads a LaTeX document and displays warning messages, if it finds -bad sequences. LaCheck is designed to help find common mistakes in +bad sequences. LaCheck is designed to help find common mistakes in LaTeX documents, especially those made by beginners.