a77e7015fe
- assume that Python 2.4 and 2.5 are compatible and allow checking for fallout. - remove PYTHON_VERSIONS_COMPATIBLE that are obsoleted by the 2.3+ default. Modify the others to deal with the removals.
30 lines
867 B
Makefile
30 lines
867 B
Makefile
# $NetBSD: Makefile,v 1.18 2008/04/25 20:39:12 joerg Exp $
|
|
#
|
|
|
|
DISTNAME= doclifter-2.3
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= http://catb.org/~esr/doclifter/
|
|
|
|
MAINTAINER= wiz@NetBSD.org
|
|
HOMEPAGE= http://catb.org/~esr/doclifter/
|
|
COMMENT= Translates documents written in troff macros to DocBook
|
|
|
|
NO_BUILD= yes
|
|
|
|
PYTHON_PATCH_SCRIPTS= 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 ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/doclifter.1 ${PREFIX}/${PKGMANDIR}/man1
|
|
${INSTALL_SCRIPT} ${WRKSRC}/manlifter ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/manlifter.1 ${PREFIX}/${PKGMANDIR}/man1
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|