39 lines
862 B
Makefile
39 lines
862 B
Makefile
# New ports collection makefile for: html
|
|
# Date created: Sept 19, 1997
|
|
# Whom: jfieber
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= html
|
|
PORTVERSION= 4.01
|
|
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= ${MKCATALOG}:${PORTSDIR}/textproc/mkcatalog
|
|
|
|
NO_MTREE= yes
|
|
NO_BUILD= yes
|
|
NO_WRKSUBDIR= yes
|
|
PLIST_SUB= DTD_NAME=${PORTNAME} MKCATALOG=${MKCATALOG}
|
|
|
|
INSTDIR= ${PREFIX}/share/sgml/html
|
|
MKCATALOG= ${PREFIX}/sbin/mkcatalog
|
|
|
|
pre-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}
|
|
|
|
post-install:
|
|
@${MKCATALOG} -q install ${PORTNAME}
|
|
|
|
.include <bsd.port.mk>
|