2a786b5b51
- Pet portlint PR: ports/188547 Submitted by: Bartek Rutkowski <ports@robakdesign.com> Approved by: portmgr@ (blanket)
31 lines
687 B
Makefile
31 lines
687 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
|
|
|
|
USE_PYTHON= 2
|
|
USE_PYDISTUTILS= yes
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-pytemplate
|
|
|
|
EXAMPLES= daemonexample.py example.py threadexample.py
|
|
|
|
post-install:
|
|
.if !defined(NOPORTEXAMPLES)
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
.for f in ${EXAMPLES}
|
|
@${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${EXAMPLESDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|