freebsd-ports/textproc/linuxdoc/Makefile
Baptiste Daroussin 963854440c Add a new keywork xmlcatmgr
It simplifies the handling of the XML and SMGL catalog
It brings a big of consistency by always specifying the catalog path absolute
instead of mixing absolute and relative path.
The keyword is also written a PKG_ROOTDIR friendly to simplify cross installing

Reviewed by:	hrs
Differential Revision:	https://reviews.freebsd.org/D6539
2016-05-24 22:32:49 +00:00

29 lines
670 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}:textproc/iso8879 \
xmlcatmgr:textproc/xmlcatmgr
EXTRACT_ONLY= # empty
NO_BUILD= yes
NO_WRKSUBDIR= yes
INSTDIR= ${PREFIX}/share/sgml/linuxdoc
ISOCAT= ${PREFIX}/share/sgml/iso8879/catalog
do-install:
${MKDIR} ${STAGEDIR}${INSTDIR}
zcat ${DISTDIR}/${DISTFILES} |(cd ${STAGEDIR}${INSTDIR}; ${PAX} -r)
${CHMOD} ${SHAREMODE} ${STAGEDIR}${INSTDIR}/*
.include <bsd.port.mk>