freebsd-ports/www/py-HTMLgen/Makefile
2013-09-22 18:05:04 +00:00

35 lines
836 B
Makefile

# Created by: nectar@FreeBSD.org
# $FreeBSD$
PORTNAME= HTMLgen
PORTVERSION= 2.2.2
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://dryice.name/computer/FreeBSD/distfiles/ \
http://starship.python.net/crew/friedrich/
MASTER_SITE_SUBDIR= dryice
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= HTMLgen
MAINTAINER= ports@FreeBSD.org
COMMENT= A Python library for the generation of HTML documents
USE_PYTHON= -2.7
NO_BUILD= yes
NO_STAGE= yes
.if !defined(NOPORTDOCS)
PORTDOCS= *
.endif
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
@${TAR} -C ${WRKSRC} -cf - README html image | \
${TAR} -C ${DOCSDIR} -xvf -
@${CHOWN} -R ${BINOWN}:${BINGRP} ${DOCSDIR}
@${FIND} ${DOCSDIR} -type d -exec ${CHMOD} 0555 {} \;
@${FIND} ${DOCSDIR} -type f -exec ${CHMOD} 0444 {} \;
.endif
.include <bsd.port.mk>