aboutsummaryrefslogblamecommitdiff
path: root/textproc/xhtml-modularization/Makefile
blob: fbad884ce93f651326acf56a1d6205c24f7a982c (plain) (tree)
1
2
3
4
5
6
7
8
9

                                    
                 
                        

                                                                               
 
                                   
                                                           
                                                           
 
                                            
 

                       
                   
                   
                   

                           
                                                         
 


                             
 

                                  
           
                                                                         
                         
                                                                                                       
       
                                                                                                                 


                                              
                         
                                                                 
       


                                           
                              
                                                                                  
       
                                                     
                               
                                                                                             
       

                      
PORTNAME=	xhtml-modularization
PORTVERSION=	1.0.${RECDATE}
PORTREVISION=	1
CATEGORIES=	textproc
MASTER_SITES=	https://www.w3.org/TR/2001/REC-xhtml-modularization-${RECDATE}/
DISTNAME=	xhtml-modularization

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	W3C's Modularization of XHTML DTDs and docs
WWW=		https://www.w3.org/TR/xhtml-modularization/

RUN_DEPENDS=	xmlcatmgr:textproc/xmlcatmgr

USES=		tar:tgz

NO_ARCH=	yes
NO_BUILD=	yes
NO_MTREE=	yes

SUB_FILES=	catalog.xml
WRKSRC=		${WRKDIR}/xhtml-modularization-${RECDATE}

RECDATE=	20010410

OPTIONS_DEFINE=	DOCS EXAMPLES

.include "${.CURDIR}/contents.inc"

do-install:
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/xml/dtd/xhtml-modularization
.for f in ${contents_DTD}
	${INSTALL_DATA} ${WRKSRC}/DTD/${f} ${STAGEDIR}${PREFIX}/share/xml/dtd/xhtml-modularization/${f}
.endfor
	${INSTALL_DATA} ${WRKDIR}/catalog.xml ${STAGEDIR}${PREFIX}/share/xml/dtd/xhtml-modularization/catalog.xml

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}/images
.for f in ${contents_DOC}
	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/${f}
.endfor

post-install-EXAMPLES-on:
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for f in ${contents_EXAMPLES}
	${INSTALL_DATA} ${WRKSRC}/DTD/examples/${f} ${STAGEDIR}${EXAMPLESDIR}/${f}
.endfor
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/templates
.for f in ${contents_TEMPLATES}
	${INSTALL_DATA} ${WRKSRC}/DTD/templates/${f} ${STAGEDIR}${EXAMPLESDIR}/templates/${f}
.endfor

.include <bsd.port.mk>