mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
63d0782052
bomns * Banish the Autotools to the land of wind and ghosts. CMake for the win. * Beginnings of netplay, thanks to Charles. See the "netplay" branch. * No longer compiles unused/broken AI code bomnsedit * None bomnslauncher * GTK1 launcher is archived and no longer built (it sucks, don't worry) * bomnslauncher2 renamed bomnslauncher - Transfer maintainership to games@ team - Add license (GPLv2) - Switch to USES=cmake and change to fetch from GITHUB - Remove not existent Option and OPTIONS_SUB - Remove pkgconfig, USE_BZIP2 and obsolete patches, changed by upstream - Add CMAKE_ARGS+= -Wno-dev and USE_CSTD=gnu89 - Add DOCS and Option - Symlink the icon - Change WWW
42 lines
894 B
Makefile
42 lines
894 B
Makefile
# Created by: Alejandro Pulver <alejandro@varnet.biz>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= bomns
|
|
PORTVERSION= 0.99.3
|
|
CATEGORIES= games
|
|
|
|
MAINTAINER= games@FreeBSD.org
|
|
COMMENT= Best old-school Deathmatch game ever (only for two players)
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= keithfancher
|
|
GH_PROJECT= Bomns-for-Linux
|
|
GH_TAGNAME= ${GH_COMMIT}
|
|
GH_COMMIT= 113be27
|
|
|
|
USES= cmake
|
|
USE_SDL= mixer sdl
|
|
USE_GNOME= gtk20
|
|
CMAKE_ARGS+= -Wno-dev
|
|
USE_CSTD= gnu89
|
|
INSTALLS_ICONS= yes
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
CONFIGURE_ENV+= LIBS=-L${LOCALBASE}/lib
|
|
|
|
PORTDOCS= AUTHORS ChangeLog README
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-install:
|
|
${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
|
|
${STAGEDIR}${PREFIX}/share/pixmaps/
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|