pkgsrc/textproc/mdoclint/Makefile
wiz 2e65d464e8 Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
2015-06-12 10:50:58 +00:00

37 lines
807 B
Makefile

# $NetBSD: Makefile,v 1.43 2015/06/12 10:51:21 wiz Exp $
DISTNAME= mdoclint-1.33
PKGREVISION= 1
CATEGORIES= textproc
MASTER_SITES= # none
DISTFILES= # none
OWNER= wiz@NetBSD.org
#HOMEPAGE= #
COMMENT= Tool for verifying man pages
LICENSE= 2-clause-bsd
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
CONFLICTS= mdocml<1.6.9
WRKSRC= ${WRKDIR}
NO_BUILD= yes
USE_LANGUAGES= # none
USE_TOOLS+= perl:run
SUBST_CLASSES+= perl
SUBST_STAGE.perl= do-configure
SUBST_FILES.perl= mdoclint
SUBST_SED.perl+= -e 's,@PERL5@,${PERL5},g'
SUBST_MESSAGE.perl= Fixing path to perl.
do-extract:
cd ${FILESDIR} && cp mdoclint* ${WRKSRC}/
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/mdoclint ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${FILESDIR}/mdoclint.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"