1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/devel/py-simpy/Makefile
Wen Heping e4ebd0202a - Update to 2.1.0
- Update my mail address to FreeBSD
2010-06-04 01:19:16 +00:00

45 lines
1.0 KiB
Makefile

# ex:ts=8
# Ports collection makefile for: py-simpy
# Date created: Jun 29, 2004
# Whom: ijliao
#
# $FreeBSD$
PORTNAME= simpy
PORTVERSION= 2.1.0
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP \
SF/${PORTNAME}/${PORTNAME}/SimPy-${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= SimPy-${PORTVERSION}
MAINTAINER= wen@FreeBSD.org
COMMENT= Simulation in Python
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= SimPy
OPTIONS= TKINTER "Install py-tkinter for plot" off
OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
.include <bsd.port.pre.mk>
.if defined(WITH_TKINTER)
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter
.endif
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
(cd ${WRKSRC}/SimPyDocs && ${COPYTREE_SHARE} . ${DOCSDIR})
.endif
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
(cd ${WRKSRC}/SimPyModels && ${FIND} . | \
${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR})
.endif
.include <bsd.port.post.mk>