1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/textproc/website/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

40 lines
981 B
Makefile

# Created by: Jean-Baptiste Quenot <jb.quenot@caraldi.com>
# $FreeBSD$
PORTNAME= website
PORTVERSION= 2.6.0
CATEGORIES= textproc www
MASTER_SITES= SF/docbook/${PORTNAME}/${PORTVERSION}
DISTNAME= docbook-${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Doctype and stylesheets for making websites
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= docbook-xsl>0:textproc/docbook-xsl
NO_ARCH= yes
NO_BUILD= yes
USES= tar:bzip2
OPTIONS_DEFINE= EXAMPLES
INSTDIR= share/xsl/website
PINSTDIR= ${PREFIX}/${INSTDIR}
COPYDIRS= extensions schema xsl
do-install:
@${MKDIR} ${STAGEDIR}${PINSTDIR}
${INSTALL_DATA} ${WRKSRC}/VERSION ${STAGEDIR}/${PINSTDIR}
${INSTALL_DATA} ${WRKSRC}/catalog ${STAGEDIR}/${PINSTDIR}/catalog.xml
.for i in ${COPYDIRS}
@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${i} ${STAGEDIR}${PINSTDIR})
.endfor
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@(cd ${WRKSRC}/example && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>