# Created by: jfieber # $FreeBSD$ PORTNAME= iso12083 PORTVERSION= 1993 PORTREVISION= 2 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= kuriyama/iso12083 DISTFILES= article.dtd book.dtd maths.dtd serial.dtd EXTRACT_ONLY= # empty MAINTAINER= kuriyama@FreeBSD.org COMMENT= SGML DTDs from the The Electronic Publishing Special Interest Group RUN_DEPENDS= ${XMLCATMGR}:${PORTSDIR}/textproc/xmlcatmgr DIST_SUBDIR= iso12083 NO_MTREE= yes NO_BUILD= yes NO_WRKSUBDIR= yes PLIST_SUB= DTD_NAME=${PORTNAME} XMLCATMGR=${XMLCATMGR} PLIST_SUB+= CATALOG_PORTS_SGML=${CATALOG_PORTS_SGML} INSTDIR= ${PREFIX}/share/sgml/iso12083 XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr CATALOG_PORTS_SGML= ${PREFIX}/share/sgml/catalog.ports NO_STAGE= yes pre-install: @[ -d ${INSTDIR} ] || ${MKDIR} ${INSTDIR} do-install: @for i in ${DISTFILES}; do \ ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/$$i ${INSTDIR}/$$i; \ done @${INSTALL_DATA} ${FILESDIR}/catalog ${INSTDIR}/catalog post-install: @${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${PORTNAME}/catalog .include