freebsd-ports/games/abuse_sdl/Makefile

43 lines
903 B
Makefile

# $FreeBSD$
PORTNAME= abuse_sdl
PORTVERSION= 0.8
PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= GENTOO/distfiles \
http://abuse.zoy.org/raw-attachment/wiki/download/
DISTNAME= abuse-${DISTVERSION}
MAINTAINER= nemysis@gmx.ch
COMMENT= SDL port of the Abuse game engine
LICENSE= GPLv2
USES= pathfix
USE_GL= gl
USE_SDL= mixer sdl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-assetdir=${DATADIR} --enable-release
MAN6= abuse.6 abuse-tool.6
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PORTDOCS= AUTHORS ChangeLog NEWS README TODO
DESKTOP_ENTRIES="Abuse-SDL" "${COMMENT}" "abuse" \
"abuse" "Game;StrategyGame;" false
NO_STAGE= yes
.include <bsd.port.options.mk>
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/abuse.png ${PREFIX}/share/pixmaps/
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>