mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
34 lines
783 B
Makefile
34 lines
783 B
Makefile
# Ports collection Makefile for: HTMLgen
|
|
# Date created: 03/20/1999
|
|
# Whom: nectar@FreeBSD.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= py-HTMLgen
|
|
PORTVERSION= 2.2.2
|
|
CATEGORIES= www python
|
|
MASTER_SITES= http://starship.python.net/crew/friedrich/
|
|
DISTNAME= HTMLgen
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A Python library for the generation of HTML documents
|
|
|
|
USE_PYTHON= yes
|
|
|
|
WRKSRC= ${WRKDIR}/HTMLgen
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/HTMLgen
|
|
|
|
pre-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${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>
|