summaryrefslogtreecommitdiffstats
path: root/www/py-forgethtml/Makefile
blob: 14988599b1a5ce3f5c6c638f23e3554f350408e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Ports collection makefile for:	py-forgethtml
# Date created:				20 November 2004
# Whom:					Anders Nordby <anders@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	forgethtml
PORTVERSION=	20041021
CATEGORIES=	www python
MASTER_SITES=	http://forgethtml.sourceforge.net/
MASTER_SITE_SUBDIR=	${PORTNAME}
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	${PORTNAME}-cvs-2004-10-21

MAINTAINER=	anders@FreeBSD.org
COMMENT=	Python module for object-oriented HTML generation

USE_PYTHON=	yes
USE_PYDISTUTILS=	yes

WRKSRC=		${WRKDIR}/${PORTNAME}

post-build:
	@cd ${WRKSRC}/lib && ${PYTHON_CMD} -c 'import forgetHTML'
	@cd ${WRKSRC}/lib && ${PYTHON_CMD} -O -c 'import forgetHTML'

post-install:
	${INSTALL_DATA} ${WRKSRC}/lib/forgetHTML.pyc ${PYTHON_SITELIBDIR}/
	${INSTALL_DATA} ${WRKSRC}/lib/forgetHTML.pyo ${PYTHON_SITELIBDIR}/

.include <bsd.port.mk>
OpenPOWER on IntegriCloud