2002-05-11 23:57:40 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= abuse_sdl
|
2011-08-09 17:40:44 +02:00
|
|
|
PORTVERSION= 0.8
|
2013-04-29 01:01:27 +02:00
|
|
|
PORTREVISION= 3
|
2002-05-11 23:57:40 +02:00
|
|
|
CATEGORIES= games
|
2011-08-09 17:40:44 +02:00
|
|
|
MASTER_SITES= GENTOO/distfiles \
|
|
|
|
http://abuse.zoy.org/raw-attachment/wiki/download/
|
2012-09-13 16:17:00 +02:00
|
|
|
DISTNAME= abuse-${DISTVERSION}
|
2002-05-11 23:57:40 +02:00
|
|
|
|
2013-10-22 22:38:29 +02:00
|
|
|
MAINTAINER= nemysis@FreeBSD.org
|
2012-09-13 16:17:00 +02:00
|
|
|
COMMENT= SDL port of the Abuse game engine
|
2002-05-11 23:57:40 +02:00
|
|
|
|
2012-09-13 16:17:00 +02:00
|
|
|
LICENSE= GPLv2
|
2009-11-20 23:32:45 +01:00
|
|
|
|
2013-10-22 22:38:29 +02:00
|
|
|
USES= pathfix
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_GL= gl
|
2011-08-09 17:40:44 +02:00
|
|
|
USE_SDL= mixer sdl
|
2003-08-07 09:49:49 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2011-08-09 17:40:44 +02:00
|
|
|
CONFIGURE_ARGS= --with-assetdir=${DATADIR} --enable-release
|
2009-11-05 19:52:25 +01:00
|
|
|
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2003-08-07 09:49:49 +02:00
|
|
|
|
2012-09-13 16:17:00 +02:00
|
|
|
PORTDOCS= AUTHORS ChangeLog NEWS README TODO
|
|
|
|
|
2013-04-29 01:01:27 +02:00
|
|
|
DESKTOP_ENTRIES="Abuse-SDL" "${COMMENT}" "abuse" \
|
|
|
|
"abuse" "Game;StrategyGame;" false
|
|
|
|
|
2012-09-13 16:17:00 +02:00
|
|
|
post-install:
|
2013-10-22 22:38:29 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/abuse.png ${STAGEDIR}${PREFIX}/share/pixmaps/
|
2012-09-13 16:17:00 +02:00
|
|
|
|
2013-10-22 22:38:29 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
2012-09-13 16:17:00 +02:00
|
|
|
|
2002-05-11 23:57:40 +02:00
|
|
|
.include <bsd.port.mk>
|