7eeb51b534
Do it for all packages that * mention perl, or * have a directory name starting with p5-*, or * depend on a package starting with p5- like last time, for 5.18, where this didn't lead to complaints. Let me know if you have any this time.
30 lines
843 B
Makefile
30 lines
843 B
Makefile
# $NetBSD: Makefile,v 1.25 2014/05/29 23:37:15 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= chktex-1.6.3
|
|
PKGREVISION= 5
|
|
CATEGORIES= print
|
|
MASTER_SITES= http://baruch.ev-en.org/proj/chktex/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://baruch.ev-en.org/proj/chktex/
|
|
COMMENT= LaTeX semantic checker
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
BUILD_DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin
|
|
BUILD_DEPENDS+= tex-ntgclass-[0-9]*:../../print/tex-ntgclass
|
|
BUILD_DEPENDS+= tex-tools-[0-9]*:../../print/tex-tools
|
|
DEPENDS+= lynx-[0-9]*:../../www/lynx
|
|
|
|
EGDIR= ${PREFIX}/share/examples/chktex
|
|
CONF_FILES= ${EGDIR}/chktexrc ${PKG_SYSCONFDIR}/chktexrc
|
|
|
|
USE_TOOLS+= gmake perl:run
|
|
GNU_CONFIGURE= YES
|
|
CFLAGS+= -D__unix__
|
|
CONFIGURE_ENV+= PERL5=${PERL5:Q}
|
|
MAKE_ENV+= INSTALL_SCRIPT=${INSTALL_SCRIPT:Q} EGDIR=${EGDIR:Q}
|
|
|
|
INSTALLATION_DIRS+= ${EGDIR}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|