proper license, use default Tcl/Tk 8.5, use SUBST_CMD and MODTCL_BIN rather than a handrolled subst, drop no_x11 flavour.
37 lines
939 B
Makefile
37 lines
939 B
Makefile
# $OpenBSD: Makefile,v 1.34 2013/01/16 20:25:30 sthen Exp $
|
|
|
|
COMMENT= convert memos written in XML to the RFC format
|
|
|
|
DISTNAME= xml2rfc-1.34
|
|
CATEGORIES= textproc
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
MASTER_SITES= http://xml.resource.org/authoring/
|
|
HOMEPAGE= http://xml.resource.org/
|
|
|
|
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MODULES+= x11/tk
|
|
RUN_DEPENDS+= ${MODTK_RUN_DEPENDS}
|
|
NO_REGRESS= Yes
|
|
|
|
do-build:
|
|
${SUBST_CMD} -c ${FILESDIR}/xml2rfc ${WRKSRC}/xml2rfc
|
|
|
|
do-install:
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/xml2rfc ${PREFIX}/bin/xml2rfc
|
|
@${INSTALL_DATA_DIR} ${PREFIX}/share/xml2rfc
|
|
@${INSTALL_DATA} ${WRKSRC}/xml2rfc.tcl ${PREFIX}/share/xml2rfc
|
|
@${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xml2rfc
|
|
.for file in *.html *.txt *.xml *.dtd *.xsd *.rnc
|
|
@${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/xml2rfc
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|