mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
7464f336e3
# Maintainers, please let me know if I break something in your port. Submitted by: hrs PR: ports/53819, ports/53820, ports/53821, ports/53822, ports/53823, ports/53824, ports/53825, ports/53826, ports/53827, ports/53828, ports/53829, ports/53830, ports/53831, ports/53832, ports/53833, ports/53834, ports/53835, ports/53836, ports/53837
42 lines
1.2 KiB
Makefile
42 lines
1.2 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= 1
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= http://www.oasis-open.org/docbook/${PORTNAME}/${PORTVERSION}/
|
|
|
|
MAINTAINER= ports@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
|
|
|
|
post-patch:
|
|
${SED} -e 's#@@XMLDIR@@#${XMLDIR}#' < ${FILESDIR}/catalog.xml > ${WRKSRC}/catalog.xml
|
|
|
|
do-install:
|
|
${MKDIR} ${XMLDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/*.ent\
|
|
${FILESDIR}/catalog ${WRKSRC}/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>
|