42 lines
1 KiB
Makefile
42 lines
1 KiB
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: py-simpy
|
|
# Date created: Jun 29, 2004
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= simpy
|
|
PORTVERSION= 1.5
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= SimPy-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Simulation in Python
|
|
|
|
USE_PYTHON= 2.2+
|
|
USE_PYDISTUTILS= yes
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
PORTDOCS= *
|
|
.endif
|
|
|
|
post-install:
|
|
@${FIND} ${PYTHON_SITELIBDIR}/SimPy ! -type d | \
|
|
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
|
|
@${FIND} ${PYTHON_SITELIBDIR}/SimPy -type d | ${SORT} -r | \
|
|
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
${CP} -R ${WRKSRC}/SimPyDocs/ ${DOCSDIR}
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
${CP} -R ${WRKSRC}/SimPyModels/ ${EXAMPLESDIR}
|
|
@${FIND} ${EXAMPLESDIR} ! -type d | \
|
|
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
|
|
@${FIND} ${EXAMPLESDIR} -type d | ${SORT} -r | \
|
|
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|