mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
8b54cd7ae7
- Add rewrite rules for http://www.oasis-open.org/docbook/xmlcharent/. - Fix "xmlcatmgr remove" line in pkg-plist. - Add $FreeBSD$ line into installed catalog files. - Take maintainership. - Bump PORTREVISON.
39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
# New ports collection makefile for: xmlcharent # Date created: 31 January 2002
|
|
# Whom: Kimura Fuyuki <fuyuki@mj.0038.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xmlcharent
|
|
PORTVERSION= 0.3
|
|
PORTREVISION= 2
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= http://www.oasis-open.org/docbook/${PORTNAME}/${PORTVERSION}/
|
|
|
|
MAINTAINER= hrs@FreeBSD.org
|
|
COMMENT= XML character entities
|
|
|
|
RUN_DEPENDS= ${XMLCATMGR}:${PORTSDIR}/textproc/xmlcatmgr
|
|
|
|
USE_ZIP= yes
|
|
NO_WRKSUBDIR= yes
|
|
NO_BUILD= yes
|
|
PLIST_SUB= XMLCATMGR=${XMLCATMGR}
|
|
PLIST_SUB+= XMLDIR=${XMLDIR}
|
|
PLIST_SUB+= CATALOG_PORTS_SGML=${CATALOG_PORTS_SGML}
|
|
PLIST_SUB+= CATALOG_PORTS_XML=${CATALOG_PORTS_XML}
|
|
|
|
XMLDIR= ${PREFIX}/share/xml/${PORTNAME}
|
|
XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr
|
|
CATALOG_PORTS_SGML= ${PREFIX}/share/sgml/catalog.ports
|
|
CATALOG_PORTS_XML= ${PREFIX}/share/xml/catalog.ports
|
|
|
|
do-install:
|
|
${MKDIR} ${XMLDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/*.ent\
|
|
${FILESDIR}/catalog ${FILESDIR}/catalog.xml ${XMLDIR}
|
|
${XMLCATMGR} -sc ${CATALOG_PORTS_SGML} add CATALOG ${XMLDIR}/catalog
|
|
${XMLCATMGR} -c ${CATALOG_PORTS_XML} add nextCatalog ${XMLDIR}/catalog.xml
|
|
|
|
.include <bsd.port.mk>
|