openbsd-ports/textproc/TclXML/Makefile

39 lines
886 B
Makefile

# $OpenBSD: Makefile,v 1.17 2009/03/18 19:45:02 sthen Exp $
COMMENT= pure-Tcl implementation of XML parser
DISTNAME= TclXML-1.2.1
PKGNAME= ${DISTNAME}p0
CATEGORIES= textproc
MASTER_SITES= ftp://ftp.zveno.com/TclXML/
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
# custom
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= lang/tcl
MODTCL_VERSION= 8.4
RUN_DEPENDS= ${MODTCL_RUN_DEPENDS}
NO_BUILD= Yes
NO_REGRESS= Yes
PKG_ARCH= *
INSTDIR= ${WRKINST}/${MODTCL_LIBDIR}/TclXML
DOCDIR= ${PREFIX}/share/doc/TclXML
do-install:
@${INSTALL_DATA_DIR} ${INSTDIR}
@${INSTALL_DATA} ${WRKSRC}/pkgIndex.tcl ${INSTDIR}
@${INSTALL_DATA} ${WRKSRC}/sgml.tcl ${INSTDIR}
@${INSTALL_DATA} ${WRKSRC}/xml.tcl ${INSTDIR}
@${INSTALL_DATA_DIR} ${DOCDIR}
@${INSTALL_DATA} ${WRKSRC}/docs/reference.html ${DOCDIR}
.include <bsd.port.mk>