39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.29 2011/04/22 13:43:37 obache Exp $
|
|
#
|
|
|
|
DISTNAME= icebreaker-1.9.7
|
|
PKGREVISION= 11
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://mattdm.org/icebreaker/1.9.x/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://mattdm.org/icebreaker/
|
|
COMMENT= Penguin capturing simulation
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_TOOLS+= gmake
|
|
MAKE_ENV+= mandir="${PREFIX}/man" highscoredir="/var/games"
|
|
MAKE_ENV+= prefix=${PREFIX:Q}
|
|
|
|
SETGIDGAME= yes
|
|
SPECIAL_PERMS= bin/icebreaker ${SETGID_GAMES_PERMS}
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man6
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/icebreaker
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/icebreaker
|
|
cd ${WRKSRC} && ${INSTALL_DATA} *.ibt *.wav *.bmp \
|
|
${DESTDIR}${PREFIX}/share/icebreaker
|
|
${INSTALL_PROGRAM} ${WRKSRC}/icebreaker ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/icebreaker.6 \
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man6
|
|
${INSTALL_DATA} ${WRKSRC}/README \
|
|
${DESTDIR}${PREFIX}/share/doc/icebreaker
|
|
|
|
.include "../../audio/SDL_mixer/buildlink3.mk"
|
|
.include "../../multimedia/smpeg/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|