# $NetBSD: Makefile,v 1.30 2022/06/30 11:18:53 nia Exp $ # DISTNAME= doclifter-2.3 PKGREVISION= 8 CATEGORIES= textproc MASTER_SITES= http://catb.org/~esr/doclifter/ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://catb.org/~esr/doclifter/ COMMENT= Translates documents written in troff macros to DocBook NO_BUILD= yes REPLACE_PYTHON= doclifter manlifter SUBST_CLASSES+= bin-path SUBST_STAGE.bin-path= pre-configure SUBST_FILES.bin-path= manlifter SUBST_SED.bin-path= -e 's,@@BIN_PATH@@,${PREFIX}/bin,g' INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 do-install: ${INSTALL_SCRIPT} ${WRKSRC}/doclifter ${DESTDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/doclifter.1 \ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 ${INSTALL_SCRIPT} ${WRKSRC}/manlifter ${DESTDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/manlifter.1 \ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .include "../../lang/python/application.mk" .include "../../mk/bsd.pkg.mk"