aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-pytemplate/Makefile
blob: fe299d4d82c1a8942d47f730bbc0992be17403c6 (plain) (blame)
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
# Created by: Benoit Calvez <benoit@litchis.org>
# $FreeBSD$

PORTNAME=   pytemplate
PORTVERSION=    1.5.1
PORTREVISION=   2
CATEGORIES= devel python
MASTER_SITES=   http://www.bulot.org/downloads/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= benoit@litchis.org
COMMENT=    Pytemplate gives python developers a starting framework

LICENSE=    GPLv3

USE_PYTHON= -2.7
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>