openbsd-ports/games/abuse/Makefile
jasper 0859386f3d - update abuse to 0.7.11, which is now gplv2/public domain so adjust
PERMIT_* accordingly.

from new maintainer antti harri
2011-04-14 10:56:25 +00:00

59 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.34 2011/04/14 10:56:25 jasper Exp $
COMMENT = SDL port of the legendary 2D platform shooter
DISTNAME = abuse-0.7.1
EPOCH = 0
ABUSE_FRABS = abuse-frabs-2.11
CATEGORIES = games x11
HOMEPAGE = http://abuse.zoy.org/
MAINTAINER = Antti Harri <iku@openbsd.fi>
# 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 iconv stdc++ usbhid SDL sndio
MASTER_SITES = ${HOMEPAGE}raw-attachment/wiki/Downloads/
BUILD_DEPENDS = ${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 = gnu
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}/configure.ac \
${WRKSRC}/src/sdlport/setup.cpp
cd ${WRKSRC}; \
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
AUTOCONF_VERSION=${AUTOCONF_VERSION} \
autoreconf -fi
post-install:
cd ${PREFIX}/share/ && \
gzip -dc ${FULLDISTDIR}/${ABUSE_FRABS}.tar.gz | \
tar xf -
mv ${PREFIX}/share/${ABUSE_FRABS} ${PREFIX}/share/abuse-frabs
.include <bsd.port.mk>