openbsd-ports/games/blockrage/Makefile
2013-10-13 20:40:36 +00:00

36 lines
932 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2013/10/13 20:40:36 bcallah Exp $
COMMENT = falling block puzzle game similar to Xixit
DISTNAME = blockrage-0.2.3
CATEGORIES = games x11
HOMEPAGE = http://blockrage.sourceforge.net/
MAINTAINER = Brian Callahan <bcallah@openbsd.org>
# GPLv2+
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += SDL c m pthread
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=blockrage/}
LIB_DEPENDS = devel/sdl
CONFIGURE_STYLE = simple
CONFIGURE_ARGS = --sysconfdir=${SYSCONFDIR}
ALL_TARGET = blockrage
NO_TEST = Yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/blockrage ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/blockrage/test
${INSTALL_DATA} ${WRKSRC}/data/test/* ${PREFIX}/share/blockrage/test
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/blockrage
${INSTALL_DATA} ${WRKSRC}/blockrage{.cfg,-fhs.rc} ${PREFIX}/share/examples/blockrage
${INSTALL_MAN} ${WRKSRC}/blockrage.6 ${PREFIX}/man/man6
.include <bsd.port.mk>