37 lines
828 B
Makefile
37 lines
828 B
Makefile
# $OpenBSD: Makefile,v 1.20 2011/09/17 18:02:28 jakob Exp $
|
|
|
|
COMMENT= pure-Tcl implementation of XML parser
|
|
|
|
DISTNAME= TclXML-1.2.1
|
|
REVISION = 2
|
|
CATEGORIES= textproc
|
|
|
|
MASTER_SITES= ftp://ftp.zveno.com/TclXML/
|
|
|
|
# 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_TCLDIR}/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>
|