pkgsrc/games/duckmaze/Makefile
wiz c83ffb8583 Bump freetype2 and fontconfig dependencies to current pkgsrc versions,
to address issues with NetBSD-6(and earlier)'s fontconfig not being
new enough for pango.

While doing that, also bump freetype2 dependency to current pkgsrc
version.

Suggested by tron in PR 47882
2013-06-03 10:04:30 +00:00

36 lines
975 B
Makefile

# $NetBSD: Makefile,v 1.15 2013/06/03 10:04:58 wiz Exp $
#
DISTNAME= duckmaze-pc-0.2
PKGNAME= duckmaze-0.2
PKGREVISION= 12
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=duckmaze/}
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://duckmaze.sourceforge.net/
COMMENT= Puzzle game
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"