e8d8834f6a
Also add some patches to remove use of deprecated symbols and fix other problems when looking for or compiling against libpng-1.4.x.
40 lines
1 KiB
Makefile
40 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.18 2010/06/13 22:44:22 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= orbital_eunuchs_sniper-1.30
|
|
PKGREVISION= 3
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://icculus.org/oes/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://icculus.org/oes/
|
|
COMMENT= Overhead shooting game
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --with-games-dir=${PREFIX}/libexec
|
|
|
|
INSTALLATION_DIRS= share/doc/orbital_eunuchs_sniper
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_LANGUAGES= c c++
|
|
REPLACE_INTERPRETER+= bash
|
|
REPLACE.bash.old= .*/bin/bash
|
|
REPLACE.bash.new= ${SH}
|
|
REPLACE_FILES.bash= src/snipe2d.in
|
|
|
|
.if ${MACHINE_ARCH} == "x86_64"
|
|
PLIST_SUBST+= CPU=amd64
|
|
.else
|
|
PLIST_SUBST+= CPU=${MACHINE_ARCH}
|
|
.endif
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/README \
|
|
${DESTDIR}${PREFIX}/share/doc/orbital_eunuchs_sniper
|
|
${INSTALL_DATA} ${WRKSRC}/readme.txt \
|
|
${DESTDIR}${PREFIX}/share/doc/orbital_eunuchs_sniper
|
|
|
|
.include "../../audio/SDL_mixer/buildlink3.mk"
|
|
.include "../../devel/SDL/buildlink3.mk"
|
|
.include "../../graphics/SDL_image/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|