freebsd-ports/games/abuse_sdl/Makefile
Niclas Zeising be6c15b5c6 Add USES=xorg USES=gl, ports categories g
Add USES=xorg and USES=gl to ports in categories starting with 'g'.
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-05 22:16:14 +00:00

39 lines
893 B
Makefile

# Created by: Dag-Erling C. Smørgrav <des@FreeBSD.org>
# $FreeBSD$
PORTNAME= abuse_sdl
PORTVERSION= 0.8
PORTREVISION= 7
CATEGORIES= games
MASTER_SITES= GENTOO \
http://abuse.zoy.org/raw-attachment/wiki/download/
DISTNAME= abuse-${DISTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= SDL port of the Abuse game engine
LICENSE= GPLv2
USES= pathfix gl sdl
USE_GL= gl
USE_SDL= mixer sdl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-assetdir=${DATADIR} --enable-release
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PORTDOCS= AUTHORS ChangeLog NEWS README
OPTIONS_DEFINE= DOCS
DESKTOP_ENTRIES="Abuse-SDL" "" "abuse" \
"abuse" "Game;StrategyGame;" ""
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/abuse.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>