1999-03-20 09:50:50 +01:00
|
|
|
# Ports collection Makefile for: HTMLgen
|
|
|
|
# Date created: 03/20/1999
|
1999-08-31 08:53:31 +02:00
|
|
|
# Whom: nectar@FreeBSD.org
|
1999-03-20 09:50:50 +01:00
|
|
|
#
|
1999-08-31 04:43:35 +02:00
|
|
|
# $FreeBSD$
|
1999-03-20 09:50:50 +01:00
|
|
|
#
|
|
|
|
|
2004-06-10 03:38:22 +02:00
|
|
|
PORTNAME= HTMLgen
|
|
|
|
PORTVERSION= 2.2.2
|
|
|
|
CATEGORIES= www python
|
2007-02-13 07:32:10 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL} \
|
|
|
|
http://dryice.name/computer/FreeBSD/distfiles/ \
|
|
|
|
http://starship.python.net/crew/friedrich/
|
|
|
|
MASTER_SITE_SUBDIR= dryice
|
2004-06-10 03:38:22 +02:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= HTMLgen
|
1999-03-20 09:50:50 +01:00
|
|
|
|
2007-02-13 07:32:10 +01:00
|
|
|
MAINTAINER= dryice@FreeBSD.org
|
2003-02-20 20:21:36 +01:00
|
|
|
COMMENT= A Python library for the generation of HTML documents
|
1999-03-20 09:50:50 +01:00
|
|
|
|
2004-06-10 03:38:22 +02:00
|
|
|
USE_PYTHON= yes
|
|
|
|
NO_BUILD= yes
|
1999-03-20 09:50:50 +01:00
|
|
|
|
2004-06-10 03:38:22 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= *
|
|
|
|
.endif
|
1999-03-20 09:50:50 +01:00
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
2004-06-10 03:38:22 +02:00
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
1999-03-20 09:50:50 +01:00
|
|
|
@${TAR} -C ${WRKSRC} -cf - README html image | \
|
2004-06-10 03:38:22 +02:00
|
|
|
${TAR} -C ${DOCSDIR} -xvf -
|
|
|
|
@${CHOWN} -R ${BINOWN}:${BINGRP} ${DOCSDIR}
|
|
|
|
@${FIND} ${DOCSDIR} -type d -exec ${CHMOD} 0555 {} \;
|
|
|
|
@${FIND} ${DOCSDIR} -type f -exec ${CHMOD} 0444 {} \;
|
1999-03-20 09:50:50 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|