mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
89e07f4a18
Approved by: portmgr (implicit)
32 lines
680 B
Makefile
32 lines
680 B
Makefile
# 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
|
|
|
|
USES= python:2
|
|
USE_PYTHON= distutils
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-pytemplate
|
|
|
|
EXAMPLES= daemonexample.py example.py threadexample.py
|
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
.for f in ${EXAMPLES}
|
|
@${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${EXAMPLESDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|