1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/textproc/docbook-xsl-ns/Makefile
Hiroki Sato 0e0f388452 - Add LICENSE.
- Add STAGEDIR support.
- Use PORTDOCS.
- Use COPYTREE_SHARE.
- Install nextCatalog for http://docbook.sourceforge.net/release/xsl-ns/current
  in the share/xml/catalog.xml.
- Remove rewriteURI/System for http://docbook.sourceforge.net/release/xsl/*.
- Remove pkg-deinstall.
- Fix WWW: line in pkg-descr.

Approved by:	gabor (maintainer)
2013-11-11 17:41:15 +00:00

55 lines
1.4 KiB
Makefile

# $FreeBSD$
PORTNAME= docbook-xsl-ns
PORTVERSION= 1.78.1
PORTREVISION= 4
CATEGORIES= textproc
MASTER_SITES= SF/docbook/${PORTNAME}/${PORTVERSION}:src \
SF/docbook/docbook-xsl-doc/${PORTVERSION}:doc
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:src
MAINTAINER= gabor@FreeBSD.org
COMMENT= Namespace-aware DocBook XSLT stylesheets
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= xmlcatmgr:${PORTSDIR}/textproc/xmlcatmgr
RUN_DEPENDS= docbook>=0:${PORTSDIR}/textproc/docbook \
xmlcatmgr:${PORTSDIR}/textproc/xmlcatmgr
USE_BZIP2= yes
NO_BUILD= yes
EXTRACT_AFTER_ARGS= --exclude=".*" --exclude="*.sh" --exclude "*.LOG"
PKGINSTALL= ${WRKDIR}/pkg-install
PKGDEINSTALL= ${WRKDIR}/pkg-install
SUB_FILES= pkg-install
SUB_LIST+= INSTDIR="${INSTDIR}" \
XMLCATMGR="${XMLCATMGR}" \
CATALOG_PORTS="${LOCALBASE}/share/xml/catalog.ports"
PORTDOCS= *
INSTDIR= share/xsl/docbook-ns
DOCSRC= ${WRKDIR}/docbook-xsl-${PORTVERSION}
XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
DISTFILES+= docbook-xsl-doc-${PORTVERSION}${EXTRACT_SUFX}:doc
.endif
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/${INSTDIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${INSTDIR}
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${DOCSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>