52 lines
1.2 KiB
Makefile
52 lines
1.2 KiB
Makefile
# Created by: nectar
|
|
|
|
PORTNAME= xhtml-basic
|
|
PORTVERSION= 1.0.${RECDATE}
|
|
PORTREVISION= 2
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= http://www.w3.org/TR/2000/REC-${PORTNAME}-${RECDATE}/
|
|
DISTNAME= ${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= W3C's XHTML Basic DTD
|
|
|
|
RUN_DEPENDS= xmlcatmgr:textproc/xmlcatmgr \
|
|
${LOCALBASE}/share/xml/dtd/xhtml-modularization/catalog.xml:textproc/xhtml-modularization
|
|
|
|
RECDATE= 20001219
|
|
|
|
USES= tar:tgz
|
|
NO_MTREE= yes
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
WRKSRC= ${WRKDIR}/REC-${PORTNAME}-${RECDATE}
|
|
|
|
PORTDATA= xhtml-basic10-model-1.mod \
|
|
xhtml-basic10.cat \
|
|
xhtml-basic10.dtd \
|
|
xml1.dcl
|
|
PORTDOCS= Overview.html \
|
|
W3C-REC.css \
|
|
logo-REC.png \
|
|
w3c_home.png \
|
|
xhtml-basic.css
|
|
PLIST_FILES= "@xmlcatmgr %%DATADIR%%/catalog.xml"
|
|
|
|
SUB_FILES= catalog.xml
|
|
DATADIR= ${PREFIX}/share/xml/dtd/xhtml-basic
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDATA} \
|
|
${STAGEDIR}${DATADIR})
|
|
${INSTALL_DATA} ${WRKDIR}/catalog.xml \
|
|
${STAGEDIR}${DATADIR}/catalog.xml
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} \
|
|
${STAGEDIR}${DOCSDIR})
|
|
|
|
.include <bsd.port.mk>
|