freebsd-ports/games/crossfire-client/Makefile
Steve Wills b4bab1c271 devel/glib20: remove runtime dep on perl5
Since glib-mkenums was rewritten in python in glib 2.53.5, glib20 seems
to no longer need perl5 at runtime. This makes perl5 a build dep only.

Removing the run dep causes some other ports to fail, so add the build
dep to those where needed.

PR:		233138
Approved by:	gnome (kwm, maintainer, older version of patch)
Exp-run by:	antoine
2018-11-19 15:57:08 +00:00

33 lines
900 B
Makefile

# Created by: Andreas Klemm <andreas@klemm.gtn.com>
# $FreeBSD$
PORTNAME= crossfire-client
PORTVERSION= 1.72.0
CATEGORIES= games
MASTER_SITES= SF/crossfire/${PORTNAME}/${PORTVERSION}:DEFAULT,sounds
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
crossfire-sounds-${PORTVERSION}${EXTRACT_SUFX}:sounds
MAINTAINER= kevinz5000@gmail.com
COMMENT= Cooperative multiplayer graphical RPG and adventure game
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= vala:lang/vala
LIB_DEPENDS= libcurl.so:ftp/curl
USES= cmake perl5 pkgconfig tar:bzip2
USE_PERL5= build
USE_GNOME= gtk20
USE_SDL= sdl image mixer
INSTALLS_ICONS= YES
CMAKE_ARGS= -DLUA=OFF -DMETASERVER2=ON -DOPENGL=OFF -DSDL=ON -DSOUND=ON
post-install:
@${MKDIR} ${STAGEDIR}${DATADIR}/sounds
cd ${WRKDIR}/crossfire-sounds-${PORTVERSION} && \
${COPYTREE_SHARE} "*" ${STAGEDIR}${DATADIR}/sounds
.include <bsd.port.mk>