openbsd-ports/textproc/docbook2x/Makefile
sthen 88ea72915d Change SEPARATE_BUILD=(concurrent|simple) to Yes; bsd.port.mk doesn't
make a distinction between these.  ok aja@ dcoppa@
2012-03-29 13:38:12 +00:00

40 lines
853 B
Makefile

# $OpenBSD: Makefile,v 1.4 2012/03/29 13:39:00 sthen Exp $
COMMENT = convert DocBook to man pages and Texinfo
DISTNAME = docbook2X-0.8.8
PKGNAME = ${DISTNAME:L}
REVISION = 1
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/libxslt \
textproc/p5-XML-SAX
BUILD_DEPENDS = ${RUN_DEPENDS}
SEPARATE_BUILD = Yes
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>