openbsd-ports/textproc/xml2rfc/Makefile

52 lines
1.2 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.30 2007/09/15 20:59:42 merdely 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
2005-01-07 05:09:29 -05:00
VERSION= 1.26
2001-08-19 17:39:09 -04:00
DISTNAME= xml2rfc-${VERSION}
1999-07-20 15:46:28 -04:00
CATEGORIES= textproc
2002-10-28 17:43:46 -05:00
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
2003-11-15 10:12:53 -05:00
# no real license, just "any lawful use is allowed"
PERMIT_PACKAGE_CDROM= No
PERMIT_PACKAGE_FTP= No
PERMIT_DISTFILES_CDROM= No
PERMIT_DISTFILES_FTP= No
2000-02-12 03:41:07 -05:00
2003-12-27 18:34:42 -05:00
RUN_DEPENDS= :tcl-8.4.*:lang/tcl/8.4
2001-03-30 10:53:13 -05:00
FLAVORS= no_x11
FLAVOR?=
.if ${FLAVOR:L} == "no_x11"
USE_X11= No
.else
USE_X11= Yes
2003-12-27 18:34:42 -05:00
RUN_DEPENDS+= :tk-8.4.*:x11/tk/8.4
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
2002-10-28 17:43:46 -05:00
NO_REGRESS= Yes
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
2004-06-19 16:42:30 -04:00
.for file in *.html *.txt *.xml *.dtd *.xsd *.rnc
1999-07-20 15:46:28 -04:00
@${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/xml2rfc
.endfor
.include <bsd.port.mk>