1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/devel/py-simpy/Makefile

36 lines
787 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= simpy
PORTVERSION= 2.3.1
PORTREVISION= 1
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_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter
.endif
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${DOCSDIR})
.endif
.include <bsd.port.post.mk>