mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
37 lines
883 B
Makefile
37 lines
883 B
Makefile
# Created by: jfieber
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= html
|
|
PORTVERSION= 4.01
|
|
PORTREVISION= 2
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
MASTER_SITE_SUBDIR= kuriyama
|
|
EXTRACT_ONLY= # empty
|
|
|
|
MAINTAINER= kuriyama@FreeBSD.org
|
|
COMMENT= All W3C published SGML DTDs for HTML
|
|
|
|
RUN_DEPENDS= ${XMLCATMGR}:${PORTSDIR}/textproc/xmlcatmgr
|
|
|
|
NO_MTREE= yes
|
|
NO_BUILD= yes
|
|
NO_WRKSUBDIR= yes
|
|
|
|
PLIST_SUB= DTD_NAME=${PORTNAME} XMLCATMGR=${XMLCATMGR}
|
|
PLIST_SUB+= CATALOG_PORTS_SGML=${CATALOG_PORTS_SGML}
|
|
|
|
INSTDIR= ${STAGEDIR}${PREFIX}/share/sgml/html
|
|
XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr
|
|
CATALOG_PORTS_SGML= ${PREFIX}/share/sgml/catalog.ports
|
|
|
|
pre-su-install:
|
|
@[ -d ${INSTDIR} ] || ${MKDIR} ${INSTDIR}
|
|
|
|
do-install:
|
|
@zcat ${DISTDIR}/${DISTFILES} |(cd ${INSTDIR}; ${PAX} -r)
|
|
@${CHMOD} ${SHAREMODE} `${FIND} ${INSTDIR} -type f`
|
|
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
|
|
|
|
.include <bsd.port.mk>
|