macppc testing from cwen@, ok solene@ Gigalomania is an open source 2D Real Time Strategy god game. The gameplay consists of researching and developing new technology with which to conquer your enemies, from rocks and sticks to nuclear weapons and spaceships. You can advance through ten different ages, from the stone age to the future. There are 28 different maps to play through.
34 lines
772 B
Makefile
34 lines
772 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2019/12/17 16:17:06 bcallah Exp $
|
|
|
|
COMMENT = open source 2D real time strategy god game
|
|
DISTNAME = gigalomania-1.0.1
|
|
CATEGORIES = games x11
|
|
|
|
HOMEPAGE = http://gigalomania.sourceforge.net/
|
|
MAINTAINER = Brian Callahan <bcallah@openbsd.org>
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB += ${COMPILER_LIBCXX} SDL2 SDL2_image SDL2_mixer c m
|
|
|
|
MASTER_SITES = https://mirrors.nycbug.org/pub/distfiles/
|
|
|
|
COMPILER = base-clang ports-gcc
|
|
|
|
LIB_DEPENDS = devel/sdl2-image \
|
|
devel/sdl2-mixer
|
|
|
|
RUN_DEPENDS = devel/desktop-file-utils
|
|
|
|
MAKE_FLAGS = CXX="${CXX}" \
|
|
CXXFLAGS="${CXXFLAGS} -DDATADIR='\"${LOCALBASE}/share/gigalomania\"'"
|
|
|
|
NO_TEST = Yes
|
|
|
|
do-gen:
|
|
sed -i 's,$${TRUEPREFIX},${TRUEPREFIX},g' \
|
|
${WRKSRC}/gigalomania.desktop
|
|
|
|
.include <bsd.port.mk>
|