1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/graphics/threeDS/Makefile
Kris Kennaway c7e32a1c5f Chase the checksum: the previous distfile was supposedly a .tgz but was
actually a .tar.  No content changes.  Also, prevent the installation of
*.orig patch droppings.
2001-03-10 05:24:55 +00:00

32 lines
872 B
Makefile

# New ports collection makefile for: threeDS
# Date created: 5 December 2000
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= threeDS
PORTVERSION= 0.2
PORTREVISION= 1
CATEGORIES= graphics python
MASTER_SITES= http://www.demonseed.net/~jp/code/threeDS/
MAINTAINER= sobomax@FreeBSD.org
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/OpenGL/__init__.py:${PORTSDIR}/graphics/py-opengl
USE_PYTHON= yes
do-build:
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -l ${WRKSRC}
do-install:
${MKDIR} ${PREFIX}/share/threeDS
${MKDIR} ${PREFIX}/lib/${PYTHON_VERSION}/site-packages
${RM} -f ${WRKSRC}/*.orig
${INSTALL_DATA} ${WRKSRC}/threeDS.py* ${PREFIX}/lib/${PYTHON_VERSION}/site-packages
${INSTALL_SCRIPT} ${WRKSRC}/view3ds.py* ${PREFIX}/share/threeDS
${LN} -sf ${PREFIX}/share/threeDS/view3ds.py ${PREFIX}/bin/view3ds
.include <bsd.port.mk>