pkgsrc/games/duckmaze/Makefile
wiz e8d8834f6a Bump PKGREVISION for libpng shlib name change.
Also add some patches to remove use of deprecated symbols and fix other
problems when looking for or compiling against libpng-1.4.x.
2010-06-13 22:43:46 +00:00

38 lines
1,002 B
Makefile

# $NetBSD: Makefile,v 1.7 2010/06/13 22:44:18 wiz Exp $
#
DISTNAME= duckmaze-pc-0.2
PKGNAME= duckmaze-0.2
PKGREVISION= 6
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=duckmaze/}
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://duckmaze.sourceforge.net/
COMMENT= A puzzle
PKG_DESTDIR_SUPPORT=user-destdir
USE_LANGUAGES= # none
USE_TOOLS+= pax
DM= ${WRKDIR}/duckmaze
REPLACE_PYTHON=level.py level_editor.py mopelib/mopelib.py duckmaze.py
do-build:
${ECHO} "#!/bin/sh" >${DM}
${ECHO} "cd ${PREFIX}/share/duckmaze" >>${DM}
${ECHO} "exec ${PYTHONBIN} duckmaze.py" >>${DM}
${CHMOD} a-x ${WRKSRC}/levels/level_*
do-install:
${INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/duckmaze
cd ${WRKSRC}; ${PAX} -rw . ${DESTDIR}${PREFIX}/share/duckmaze
${INSTALL_SCRIPT} ${DM} ${DESTDIR}${PREFIX}/bin
.include "../../lang/python/application.mk"
.include "../../devel/py-game/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"