1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/textproc/linuxdoc/Makefile

35 lines
899 B
Makefile

# Created by: jfieber
# $FreeBSD$
PORTNAME= linuxdoc
PORTVERSION= 1.1
PORTREVISION= 2
CATEGORIES= textproc
MASTER_SITES= http://dist.bsdlab.org/ \
http://fallout.campusview.indiana.edu/ports/distfiles/
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= The Linuxdoc SGML DTD
RUN_DEPENDS= ${ISOCAT}:${PORTSDIR}/textproc/iso8879 \
${XMLCATMGR}:${PORTSDIR}/textproc/xmlcatmgr
EXTRACT_ONLY= # empty
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/linuxdoc
ISOCAT= ${PREFIX}/share/sgml/iso8879/catalog
XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr
CATALOG_PORTS_SGML= ${PREFIX}/share/sgml/catalog.ports
do-install:
${MKDIR} ${STAGEDIR}${INSTDIR}
zcat ${DISTDIR}/${DISTFILES} |(cd ${STAGEDIR}${INSTDIR}; ${PAX} -r)
${CHMOD} ${SHAREMODE} ${STAGEDIR}${INSTDIR}/*
.include <bsd.port.mk>