2005-05-07 12:53:54 +00:00
|
|
|
# New ports collection makefile for: monsterz
|
|
|
|
# Date created: Fri 29 apr 2005
|
|
|
|
# Whom: thierry@pompo.net
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= monsterz
|
2008-04-03 21:20:04 +00:00
|
|
|
PORTVERSION= 0.7.1
|
2010-03-28 06:47:48 +00:00
|
|
|
PORTREVISION= 3
|
2005-05-07 12:53:54 +00:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= http://sam.zoy.org/monsterz/
|
|
|
|
|
|
|
|
MAINTAINER= thierry@FreeBSD.org
|
|
|
|
COMMENT= Monsterz - arcade puzzle game
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/pygame/__init__.py:${PORTSDIR}/devel/py-game
|
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
|
|
|
|
USE_PYTHON= yes
|
2006-05-13 22:32:56 +00:00
|
|
|
MAKE_ENV= prefix=${PREFIX}
|
2005-05-07 12:53:54 +00:00
|
|
|
|
2006-05-13 22:32:56 +00:00
|
|
|
SCOREDIR= /var/games
|
|
|
|
PLIST_SUB= SCOREDIR=${SCOREDIR}
|
2005-05-07 12:53:54 +00:00
|
|
|
|
|
|
|
PORTDOCS= AUTHORS COPYING INSTALL README TODO
|
|
|
|
|
|
|
|
post-install:
|
2006-05-13 22:32:56 +00:00
|
|
|
${STRIP_CMD} ${PREFIX}/games/monsterz
|
|
|
|
${LN} -sf ${PREFIX}/games/monsterz ${PREFIX}/bin
|
|
|
|
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/share/games/monsterz
|
|
|
|
@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/share/games/monsterz
|
2005-05-07 12:53:54 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|