openbsd-ports/textproc/docbook2x/Makefile
sthen 50955624d1 import docbook2x: ok dcoppa@
docbook2X is a software package that converts DocBook documents into
the traditional Unix man page format and the GNU Texinfo format.

It is free software under a MIT-style license.

Notable features include table support for man pages, internationalization
support, and easy customization of the output using XSLT. (Easy, because
unlike other converters, the docbook2X stylesheets are written in a modular
way, and the character escaping and whitespace issues with the man-page and
Texinfo formats are encapsulated away from the user.)
2011-05-04 14:07:18 +00:00

38 lines
825 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2011/05/04 14:07:18 sthen Exp $
COMMENT = convert DocBook to man pages and Texinfo
DISTNAME = docbook2X-0.8.8
PKGNAME = ${DISTNAME:L}
CATEGORIES = textproc
HOMEPAGE = http://docbook2x.sourceforge.net/
# MIT-like
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB += c
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=docbook2x/}
MODULES += converters/libiconv
RUN_DEPENDS = textproc/libxml \
textproc/p5-XML-SAX
BUILD_DEPENDS = ${RUN_DEPENDS}
SEPARATE_BUILD = simple
USE_GMAKE = Yes
USE_GROFF = Yes
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS = --datadir=${PREFIX}/share
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/libxml2
${INSTALL_DATA} ${FILESDIR}/docbook2X.spec ${PREFIX}/share/libxml2
.include <bsd.port.mk>