blob: dbcf32d85cd8b1b153b11ae10d7151e621ce6614 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# $NetBSD: Makefile,v 1.27 2014/05/17 16:10:49 wiz Exp $
#
DISTNAME= doclifter-2.3
PKGREVISION= 5
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"
|