freebsd-ports/games/knights-kde4/Makefile
Gerald Pfeifer 15945f8122 Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
2014-09-10 20:50:31 +00:00

43 lines
906 B
Makefile

# Created by: Stefan Jahn <stefan.jahn@nemesis-sektor.de>
# $FreeBSD$
PORTNAME= knights
PORTVERSION= 2.5.0
PORTREVISION= 6
CATEGORIES= games kde
MASTER_SITES= http://dl.dropbox.com/u/2888238/Knights/
MAINTAINER= syncer@gmail.com
COMMENT= KDE4 chess interface
RUN_DEPENDS= ${LOCALBASE}/bin/gnuchess:${PORTSDIR}/games/gnuchess
LICENSE= GPLv2
USES= cmake:outsource tar:bzip2
USE_KDE4= kdelibs kdehier kdeprefix automoc4 workspace libkdegames
USE_QT4= qmake_build moc_build rcc_build uic_build
OPTIONS_DEFINE= DOCS NLS
.include <bsd.port.options.mk>
.if ! ${PORT_OPTIONS:MDOCS}
CMAKE_ARGS+= -DBUILD_doc=FALSE
.endif
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
PLIST_SUB+= NLS="@comment "
CMAKE_ARGS+= -DBUILD_po=FALSE
.endif
post-patch:
.if empty(PORT_OPTIONS:MDOCS)
${REINPLACE_CMD} "s/^add_subdirectory( doc )//g" \
${WRKSRC}/CMakeLists.txt
.endif
.include <bsd.port.mk>