[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / games / orbital_eunuchs_sniper

File: [cvs.NetBSD.org] / pkgsrc / games / orbital_eunuchs_sniper / Makefile (download)

Revision 1.25, Sun Jan 26 17:31:17 2020 UTC (2 months ago) by rillig
Branch: MAIN
CVS Tags: HEAD
Changes since 1.24: +2 -2 lines

all: migrate homepages from http to https

pkglint -r --network --only "migrate"

As a side-effect of migrating the homepages, pkglint also fixed a few
indentations in unrelated lines. These and the new homepages have been
checked manually.

# $NetBSD: Makefile,v 1.25 2020/01/26 17:31:17 rillig Exp $
#

DISTNAME=		orbital_eunuchs_sniper-1.30
PKGREVISION=		6
CATEGORIES=		games
MASTER_SITES=		http://icculus.org/oes/

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		https://icculus.org/oes/
COMMENT=		Overhead shooting game

GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--with-games-dir=${PREFIX}/libexec

INSTALLATION_DIRS=	share/doc/orbital_eunuchs_sniper

USE_LANGUAGES=		c c++
REPLACE_INTERPRETER+=	bash
REPLACE.bash.old=	.*/bin/bash
REPLACE.bash.new=	${SH}
REPLACE_FILES.bash=	src/snipe2d.in

.include "../../mk/bsd.prefs.mk"

.if ${MACHINE_ARCH} == "x86_64" && ${OPSYS} != "DragonFly"
CPU=			amd64
.elif ${OPSYS} == "NetBSD" && ${MACHINE_CPU:U} == "arm"
CPU!=			uname -m
.else
CPU=			${MACHINE_ARCH}
.endif

PLIST_SUBST+=		CPU=${CPU:Q}

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"