2009-05-16 04:43:54 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.32 2009/05/16 08:43:54 jakob Exp $
|
2001-03-30 09:49:37 -05:00
|
|
|
|
2007-09-15 16:59:36 -04:00
|
|
|
COMMENT= convert memos written in XML to the RFC format
|
1999-07-20 15:46:28 -04:00
|
|
|
|
2009-05-16 04:43:54 -04:00
|
|
|
VERSION= 1.33
|
2001-08-19 17:39:09 -04:00
|
|
|
DISTNAME= xml2rfc-${VERSION}
|
2009-05-16 04:43:54 -04:00
|
|
|
PKGNAME= ${DISTNAME}
|
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
|
2001-02-02 08:04:29 -05:00
|
|
|
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
|
|
|
|
2001-03-30 10:53:13 -05:00
|
|
|
FLAVORS= no_x11
|
|
|
|
FLAVOR?=
|
|
|
|
|
2009-03-18 15:48:00 -04:00
|
|
|
MODTCL_VERSION= 8.4
|
|
|
|
MODTK_VERSION= 8.4
|
|
|
|
|
2001-03-30 10:53:13 -05:00
|
|
|
.if ${FLAVOR:L} == "no_x11"
|
2009-03-18 15:48:00 -04:00
|
|
|
MODULES= lang/tcl
|
|
|
|
RUN_DEPENDS= ${MODTCL_RUN_DEPENDS}
|
2001-03-30 10:53:13 -05:00
|
|
|
.else
|
2009-03-18 15:48:00 -04:00
|
|
|
MODULES+= x11/tk
|
|
|
|
RUN_DEPENDS+= ${MODTK_RUN_DEPENDS}
|
2001-03-30 10:53:13 -05:00
|
|
|
.endif
|
|
|
|
|
2009-03-18 15:48:00 -04:00
|
|
|
# XXX could use MODTCL_BIN etc. instead
|
2001-03-30 10:53:13 -05:00
|
|
|
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>
|