8e1eed49c1
framework. It permits to create properly scripts without struggling with configuration files, logging properties development. They are already available through a main class that the new script will inherit. WWW: http://bulot.org/wiki/doku.php?id=projects:python:pytemplate PR: ports/132121 Submitted by: Benoit Calvez <benoit at litchis.org>
34 lines
804 B
Makefile
34 lines
804 B
Makefile
# New ports collection makefile for: pytemplate
|
|
# Date created: 2009-02-24
|
|
# Whom: Benoit Calvez <benoit@litchis.org>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pytemplate
|
|
PORTVERSION= 1.5.1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= http://www.bulot.org/downloads/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= benoit@litchis.org
|
|
COMMENT= Pytemplate gives python developpers a starting framework
|
|
|
|
BUILD_DEPENDS= easy_install:${PORTSDIR}/devel/py-setuptools
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
USE_PYTHON= 2.4+
|
|
USE_PYDISTUTILS= yes
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-pytemplate
|
|
|
|
EXAMPLES= daemonexample.py example.py threadexample.py
|
|
|
|
post-install:
|
|
.if !defined(NOPORTEXAMPLES)
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
.for f in ${EXAMPLES}
|
|
@${INSTALL_DATA} ${WRKSRC}/${f} ${EXAMPLESDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|