summaryrefslogblamecommitdiff
path: root/textproc/docbook-xsl/Makefile
blob: 2b4de3a0160021c963488208fddab18da2962313 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                  
                      




                                          
                                       





                                                                            

                                                           










                                              

                           
                                                            


                                          
# New ports collection makefile for:   docbook-xml
# Date created:        17 January 2002
# Whom:                des
#
# $FreeBSD$
#

PORTNAME=	docbook-xsl
PORTVERSION=	1.59.1
CATEGORIES=	textproc
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= docbook

MAINTAINER=	des@freebsd.org
COMMENT=	XSL DocBook stylesheets

RUN_DEPENDS=	${XMLDIR}/docbook/catalog:${PORTSDIR}/textproc/docbook-xml \
		${XMLDIR}/sdocbook/catalog:${PORTSDIR}/textproc/sdocbook-xml

XMLDIR=		${LOCALBASE}/share/xml
INSTDIR=	${PREFIX}/share/xsl/docbook
COPYDIRS=	common fo extensions html htmlhelp images \
		javahelp lib manpages params xhtml

NO_BUILD=	yes

post-extract:
	${FIND} ${WRKSRC} -name '.#*' -delete

do-install:
.ifndef NOPORTDOCS
	${MKDIR} ${DOCSDIR}
	(cd ${WRKSRC}/doc && ${TAR} -cf - . |\
		${TAR} -xf - -C${DOCSDIR})
.endif
	${MKDIR} ${INSTDIR}
	(cd ${WRKSRC} && ${TAR} -cf - VERSION ${COPYDIRS} |\
		${TAR} -xf - -C${INSTDIR})

.include <bsd.port.mk>