# Ports collection makefile for: xmlcatmgr # Date created: Sat May 24, 2003 # Whom: Hiroki Sato # # $FreeBSD$ # PORTNAME= xmlcatmgr PORTVERSION= 2.2 CATEGORIES= textproc MASTER_SITES= SF MAINTAINER= hrs@FreeBSD.org COMMENT= SGML and XML catalog manager MAN1= xmlcatmgr.1 GNU_CONFIGURE= yes CONFIGURE_ARGS= DEFAULT_CATALOG_SGML=${CATALOG_PORTS_SGML} \ DEFAULT_CATALOG_XML=${CATALOG_PORTS_XML} .if defined(NOPORTDOCS) CONFIGURE_ARGS+= --disable-docs .endif PKGINSTALL= ${WRKDIR}/pkg-install.sh PKGDEINSTALL= ${WRKDIR}/pkg-deinstall.sh COMMONVARS= ${WRKDIR}/commonvars.sh XMLCATMGR?= ${PREFIX}/bin/xmlcatmgr CATALOG_MASTER_SGML?= ${PREFIX}/share/sgml/catalog CATALOG_PORTS_SGML?= ${PREFIX}/share/sgml/catalog.ports CATALOG_MASTER_XML?= ${PREFIX}/share/xml/catalog CATALOG_PORTS_XML?= ${PREFIX}/share/xml/catalog.ports post-build: ( ${ECHO} '#!/bin/sh'; \ ${ECHO} 'PATH=$${PATH}:/bin:/usr/bin:${LOCALBASE}/bin:${X11BASE}/bin'; \ ${ECHO} 'export PATH;'; \ ) > ${COMMONVARS} .for V in XMLCATMGR CATALOG_MASTER_SGML CATALOG_MASTER_XML CATALOG_PORTS_SGML CATALOG_PORTS_XML ${ECHO} '${V}=${${V}}' >> ${COMMONVARS} .endfor ${CAT} ${COMMONVARS} ${FILESDIR}/pkg-install.in > ${PKGINSTALL} ${CAT} ${COMMONVARS} ${FILESDIR}/pkg-deinstall.in > ${PKGDEINSTALL} ${CHMOD} 0555 ${PKGINSTALL} ${PKGDEINSTALL} post-install: @${PKGINSTALL} ${PKGNAME} POST-INSTALL @${CAT} ${PKGMESSAGE} .include