openbsd-ports/textproc/xml2rfc/Makefile

50 lines
1.2 KiB
Makefile
Raw Normal View History

2002-01-24 03:42:22 -05:00
# $OpenBSD: Makefile,v 1.22 2002/01/24 08:42:22 jakob Exp $
2001-03-30 09:49:37 -05:00
COMMENT= convert memos written in XML to the RFC format
1999-07-20 15:46:28 -04:00
2002-01-24 03:42:22 -05:00
VERSION= 1.10
2001-08-19 17:39:09 -04:00
DISTNAME= xml2rfc-${VERSION}
1999-07-20 15:46:28 -04:00
CATEGORIES= textproc
2001-12-21 19:20:32 -05:00
NEED_VERSION= 1.500
2001-08-19 17:39:09 -04:00
EXTRACT_SUFX= .tgz
MASTER_SITES= http://xml.resource.org/authoring/
2001-03-30 09:49:37 -05:00
HOMEPAGE= http://xml.resource.org/
2000-10-04 17:53:59 -04:00
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
1999-07-20 15:46:28 -04:00
2000-03-05 13:30:21 -05:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2000-02-12 03:41:07 -05:00
RUN_DEPENDS= ::lang/tcl/8.3 \
::textproc/TclXML \
2001-03-30 10:53:13 -05:00
FLAVORS= no_x11
FLAVOR?=
.if ${FLAVOR:L} == "no_x11"
USE_X11= No
.else
USE_X11= Yes
RUN_DEPENDS+= ::x11/tk/8.3
2001-03-30 10:53:13 -05:00
.endif
do-build:
.if ${FLAVOR:L} == "no_x11"
sed s,y0y0y0,${PREFIX}, ${FILESDIR}/xml2rfc.no_x11 >${WRKSRC}/xml2rfc
.else
sed s,y0y0y0,${PREFIX}, ${FILESDIR}/xml2rfc >${WRKSRC}/xml2rfc
.endif
1999-07-20 15:46:28 -04:00
do-install:
2001-03-30 10:53:13 -05:00
@${INSTALL_SCRIPT} ${WRKSRC}/xml2rfc ${PREFIX}/bin/xml2rfc
@${INSTALL_DATA_DIR} ${PREFIX}/share/xml2rfc
@${INSTALL_DATA} ${WRKSRC}/xml2rfc.tcl ${PREFIX}/share/xml2rfc
1999-07-20 15:46:28 -04:00
@${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xml2rfc
2001-12-21 19:20:32 -05:00
.for file in *.html *.txt *.xml *.dtd *.xslt
1999-07-20 15:46:28 -04:00
@${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/xml2rfc
.endfor
.include <bsd.port.mk>