# $OpenBSD: Makefile,v 1.37 2011/04/21 15:25:08 jasper Exp $ COMMENT = SDL port of the legendary 2D platform shooter DISTNAME = abuse-0.7.1 REVISION = 1 EPOCH = 0 ABUSE_FRABS = abuse-frabs-2.11 CATEGORIES = games x11 HOMEPAGE = http://abuse.zoy.org/ MAINTAINER = Antti Harri # GPLv2 and public domain PERMIT_PACKAGE_CDROM = Yes PERMIT_PACKAGE_FTP = Yes PERMIT_DISTFILES_CDROM =Yes PERMIT_DISTFILES_FTP = Yes WANTLIB = c m pthread GL stdc++ usbhid SDL sndio X11 Xau Xdamage \ Xdmcp Xext Xfixes Xxf86vm drm pthread-stubs xcb MASTER_SITES = ${HOMEPAGE}raw-attachment/wiki/Downloads/ MODULES = converters/libiconv # Needs AC_PROG_LIBTOOL BUILD_DEPENDS = devel/libtool \ ${MODGNU_AUTOCONF_DEPENDS} \ ${MODGNU_AUTOMAKE_DEPENDS} LIB_DEPENDS = devel/sdl DISTFILES = ${DISTNAME}.tar.gz ${ABUSE_FRABS}.tar.gz EXTRACT_ONLY = ${DISTNAME}.tar.gz USE_LIBTOOL = Yes AUTOCONF_VERSION = 2.61 AUTOMAKE_VERSION = 1.10 CONFIGURE_STYLE = gnu CONFIGURE_ENV = CPPFLAGS="-I${X11BASE}/include" \ LDFLAGS="-L${X11BASE}/lib" NO_REGRESS = Yes DATADIR = ${PREFIX}/share/abuse/frabs SUBST_VARS = DATADIR pre-configure: ${SUBST_CMD} ${WRKSRC}/src/sdlport/setup.cpp cd ${WRKSRC}; \ AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \ AUTOCONF_VERSION=${AUTOCONF_VERSION} \ autoreconf -fi post-install: cd ${PREFIX}/share/abuse && \ gzip -dc ${FULLDISTDIR}/${ABUSE_FRABS}.tar.gz | \ tar xf - && \ mv ${ABUSE_FRABS} frabs .include