1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-06 22:51:41 +00:00
freebsd-ports/www/py-HTMLgen/Makefile

37 lines
860 B
Makefile
Raw Normal View History

# Ports collection Makefile for: HTMLgen
# Date created: 03/20/1999
# Whom: nectar@FreeBSD.org
#
1999-08-31 02:43:35 +00:00
# $FreeBSD$
#
PORTNAME= py-HTMLgen
PORTVERSION= 2.1
CATEGORIES= www python
2000-07-21 20:30:20 +00:00
MASTER_SITES= ftp://ftp.python.org/pub/python/contrib-09-Dec-1999/Network/
DISTNAME= HTMLgen
MAINTAINER= nectar@FreeBSD.org
2000-09-21 00:39:12 +00:00
USE_PYTHON= yes
WRKSRC= ${WRKDIR}/HTMLgen
PLIST= ${WRKDIR}/PLIST
DOCDIR= ${PREFIX}/share/doc/HTMLgen
FIND?= find
pre-install:
2000-10-08 06:39:51 +00:00
@${CP} ${PKGDIR}/pkg-plist ${PLIST}
.if !defined(NOPORTDOCS)
2000-10-08 06:39:51 +00:00
@${CAT} ${PKGDIR}/pkg-plist.docs >> ${PLIST}
@${MKDIR} ${PREFIX}/share/doc/HTMLgen
@${TAR} -C ${WRKSRC} -cf - README html image | \
${TAR} -C ${DOCDIR} -xvf -
@${CHOWN} -R ${BINOWN}:${BINGRP} ${DOCDIR}
@${FIND} ${DOCDIR} -type d -exec ${CHMOD} 0555 {} \;
@${FIND} ${DOCDIR} -type f -exec ${CHMOD} 0444 {} \;
.endif
.include <bsd.port.mk>