openbsd-ports/textproc/xmlto/Makefile
2010-11-20 19:56:47 +00:00

40 lines
835 B
Makefile

# $OpenBSD: Makefile,v 1.7 2010/11/20 19:56:52 espie Exp $
COMMENT= front-end to an XSL toolchain
DISTNAME= xmlto-0.0.18
REVISION= 1
EXTRACT_SUFX= .tar.bz2
CATEGORIES= textproc
MAINTAINER= Mathieu Sauve-Frankel <msf@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB+= c
MASTER_SITES= http://cyberelk.net/tim/data/xmlto/stable/
RUN_DEPENDS= shells/bash \
misc/gnugetopt \
textproc/libxml \
textproc/libxslt \
textproc/docbook-xsl
BUILD_DEPENDS= ${RUN_DEPENDS} \
textproc/docbook
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --with-bash=${LOCALBASE}/bin/bash \
--with-getopt=${LOCALBASE}/bin/gnugetopt
USE_GROFF = Yes
pre-configure:
@perl -pi -e 's,/bin/bash,${LOCALBASE}/bin/bash,g' \
${WRKSRC}/xmlif/test/run-test
.include <bsd.port.mk>