2001-09-03 15:45:15 +02:00
|
|
|
# New ports collection makefile for: pypanda
|
|
|
|
# Date created: 3 September 2001
|
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= pypanda
|
|
|
|
PORTVERSION= 0.6
|
2010-03-28 08:47:48 +02:00
|
|
|
PORTREVISION= 5
|
2001-09-03 15:45:15 +02:00
|
|
|
CATEGORIES= misc
|
2004-04-13 22:08:25 +02:00
|
|
|
MASTER_SITES= # none
|
2001-09-03 15:45:15 +02:00
|
|
|
|
2003-07-29 11:12:37 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Viewer for San Diego Zoo Pandacam written in Python
|
2001-09-03 15:45:15 +02:00
|
|
|
|
|
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pygame/__init__.py:${PORTSDIR}/devel/py-game
|
|
|
|
|
|
|
|
USE_PYTHON= yes
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
|
|
|
|
${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${MKDIR} ${DATADIR}
|
|
|
|
.for ext in py pyc pyo jpg png
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.${ext} ${DATADIR}
|
|
|
|
.endfor
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
|
|
|
|
@printf "#!/bin/sh\ncd ${DATADIR} && \
|
|
|
|
exec ${PYTHON_CMD} ${DATADIR}/pypanda.py\n" > ${WRKDIR}/pypanda.sh
|
|
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/pypanda.sh ${PREFIX}/bin/pypanda
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|