File:
[cvs.NetBSD.org] /
pkgsrc /
games /
ufoai /
Makefile
Revision
1.39:
download - view:
text,
annotated -
select for diffs
Fri May 22 10:56:10 2020 UTC (4 years, 6 months ago) by
adam
Branches:
MAIN
CVS tags:
pkgsrc-2021Q1-base,
pkgsrc-2021Q1,
pkgsrc-2020Q4-base,
pkgsrc-2020Q4,
pkgsrc-2020Q3-base,
pkgsrc-2020Q3,
pkgsrc-2020Q2-base,
pkgsrc-2020Q2,
HEAD
revbump after updating security/nettle
# $NetBSD: Makefile,v 1.39 2020/05/22 10:56:10 adam Exp $
DISTNAME= ufoai-2.2.1
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ufoai/}
PKGREVISION= 31
CATEGORIES= games
DISTFILES= ${DISTNAME}-source.tar.bz2
DISTFILES+= ${DISTNAME}-data.tar
DISTFILES+= ${DISTNAME}-mappack.tar.bz2
WRKSRC= ${WRKDIR}/${DISTNAME}-source
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= UFO Alien Invasion
HOMEPAGE= http://ufoai.sourceforge.net/
GNU_CONFIGURE= yes
USE_TOOLS+= tar gmake bzip2 msgfmt
MAKE_JOBS_SAFE= no
INSTALLATION_DIRS= share/ufoai
INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX}
CHECK_INTERPRETER_SKIP+= share/ufoai/base/maps/*
do-extract:
cd ${WRKDIR} && ${BZIP2} -d -c ${DISTDIR}/${DISTNAME}-source.tar.bz2 | ${TAR} -xf -
post-build:
cd ${WRKSRC} && ${GMAKE} lang # && ${GMAKE} maps
post-install:
${TAR} -xf ${DISTDIR}/${DISTNAME}-data.tar -C ${DESTDIR}${PREFIX}/share/ufoai
${BZIP2} -d -c ${DISTDIR}/${DISTNAME}-mappack.tar.bz2 | ${TAR} -xf - -C ${DESTDIR}${PREFIX}/share/ufoai
.include "../../mk/jpeg.buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"
.include "../../audio/SDL_mixer/buildlink3.mk"
.include "../../devel/SDL_ttf/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>