bcallah 7b0993adc1 Import games/spacetrader, an interstellar trading strategy game.
ok bentley@

Space Trader centers on buying and selling commodities in various star
systems around the galaxy. The player has one of several types of
spacecraft, and interacts with other traders, pirates, and police. The
goal is to earn enough money to retire to your own moon.

This package is a port of the original Palm OS game to C#.
2018-08-23 02:37:47 +00:00

36 lines
879 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2018/08/23 02:37:47 bcallah Exp $
V = 2.0.1
COMMENT = interstellar trading strategy game
DISTNAME = SpaceTraderSource${V:S/.//g}
PKGNAME = spacetrader-${V}
EXTRACT_SUFX = .zip
CATEGORIES = games x11
HOMEPAGE = https://www.spronck.net/spacetrader/index.html
MAINTAINER = Brian Callahan <bcallah@openbsd.org>
# GPLv2+
PERMIT_PACKAGE_CDROM = Yes
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=spacetraderwin/}
MODULES = lang/mono
NO_TEST = Yes
WRKDIST = ${WRKDIR}
do-build:
ln -s ${LOCALBASE}/bin/xbuild ${WRKDIR}/bin/xbuild
cd ${WRKSRC} && ${WRKDIR}/bin/xbuild /p:Configuration=Release
do-install:
${SUBST_CMD} -c -m ${BINMODE} ${FILESDIR}/spacetrader \
${PREFIX}/bin/spacetrader
${INSTALL_DATA_DIR} ${PREFIX}/share/spacetrader
${INSTALL_DATA} ${WRKSRC}/bin/Release/SpaceTrader.exe \
${PREFIX}/share/spacetrader
.include <bsd.port.mk>