1999-03-20 08:50:50 +00:00
|
|
|
# Ports collection Makefile for: HTMLgen
|
|
|
|
# Version required: 2.1
|
|
|
|
# Date created: 03/20/1999
|
1999-08-31 06:53:31 +00:00
|
|
|
# Whom: nectar@FreeBSD.org
|
1999-03-20 08:50:50 +00:00
|
|
|
#
|
1999-08-31 02:43:35 +00:00
|
|
|
# $FreeBSD$
|
1999-03-20 08:50:50 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= HTMLgen
|
|
|
|
PKGNAME= py-HTMLgen-2.1
|
1999-05-28 20:55:37 +00:00
|
|
|
CATEGORIES= www python
|
1999-03-20 08:50:50 +00:00
|
|
|
MASTER_SITES= http://starship.skyport.net/crew/friedrich/ \
|
1999-05-28 20:55:37 +00:00
|
|
|
http://www.nectar.cc/distfiles/
|
1999-03-20 08:50:50 +00:00
|
|
|
|
1999-08-31 06:53:31 +00:00
|
|
|
MAINTAINER= nectar@FreeBSD.org
|
1999-03-20 08:50:50 +00:00
|
|
|
|
|
|
|
BUILD_DEPENDS= python:${PORTSDIR}/lang/python
|
|
|
|
RUN_DEPENDS= python:${PORTSDIR}/lang/python
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/HTMLgen
|
|
|
|
PLIST= ${WRKDIR}/PLIST
|
|
|
|
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/HTMLgen
|
|
|
|
FIND?= find
|
|
|
|
|
|
|
|
pre-install:
|
|
|
|
@${CP} ${PKGDIR}/PLIST ${PLIST}
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${CAT} ${PKGDIR}/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>
|