summaryrefslogblamecommitdiff
path: root/www/py-HTMLgen/Makefile
blob: 8ecf02414453ebdef3d27ff17aa60588266d1682 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                  
                                                          
 
           



                                      
                                  
                                                                     
                                                       
 
                                          







                                                      














                                                            
# Ports collection Makefile for:	HTMLgen
# Version required:			2.1
# Date created:				03/20/1999
# Whom:					nectar@FreeBSD.org
#
# $FreeBSD$
#

DISTNAME=		HTMLgen
PKGNAME=		py-HTMLgen-2.1
CATEGORIES=		www python
MASTER_SITES=		http://starship.skyport.net/crew/friedrich/ \
			http://www.nectar.cc/distfiles/

MAINTAINER=		nectar@FreeBSD.org

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>