openbsd-ports/textproc/docbook-to-man/Makefile

30 lines
729 B
Makefile

# $OpenBSD: Makefile,v 1.8 2007/05/15 21:40:01 martynas Exp $
COMMENT= 'convert docbook to man'
CATEGORIES= textproc converters
VERSION= 0.0
HOMEPAGE= http://www.oasis-open.org/docbook/tools/dtm/
MASTER_SITES= http://www.oasis-open.org/docbook/tools/dtm/
DIST_SUBDIR= ${DISTNAME}-${VERSION}
DISTNAME=docbook-to-man
PKGNAME=docbook-to-man-${VERSION}p0
WANTLIB= c
# basic in debian
PERMIT_PACKAGE_FTP=Yes
PERMIT_PACKAGE_CDROM=Yes
PERMIT_DISTFILES_FTP=Yes
PERMIT_DISTFILES_CDROM=Yes
CONFIGURE_STYLE=imake noman
RUN_DEPENDS= ::textproc/sp ::textproc/docbook ::textproc/openjade
NO_REGRESS= Yes
pre-configure:
perl -pi.bak -e 's,/tmp/dtm\.\$$\$$\.psinc,\$$TMPFILE,;' ${WRKDIST}/cmd/docbook-to-man.sh
.include <bsd.port.mk>