openbsd-ports/games/xsoldier/Makefile

35 lines
757 B
Makefile

# $OpenBSD: Makefile,v 1.24 2009/08/10 06:31:43 kili Exp $
COMMENT= space-based shoot'em up game for X11
DISTNAME= xsoldier-1.4
PKGNAME= ${DISTNAME}p0
CATEGORIES= games x11
HOMEPAGE= http://www.interq.or.jp/libra/oohara/xsoldier/
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= ICE SM X11 Xpm c pthread-stubs xcb
MASTER_SITES= ${HOMEPAGE}
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --localstatedir=/var
MAKE_FLAGS= CC_OPTIMIZE="${CFLAGS}"
USE_X11= Yes
NO_REGRESS= Yes
# template for pkg install
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/xsoldier
${INSTALL_DATA} ${WRKSRC}/scorefile.txt \
${PREFIX}/share/examples/xsoldier/xsoldier.scores
.include <bsd.port.mk>