blob: da7a627e2b5206d7ed7e86ba17e12a3f9b270a47 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
|
# New ports collection makefile for: crossfire-client
# Date created: So 27 Okt 1996 12:25:55 MET
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
#
# $FreeBSD$
#
PORTNAME= crossfire-client
PORTVERSION= 1.8.0
PORTREVISION= 6
CATEGORIES= games
MASTER_SITES= SF/crossfire/${PORTNAME}/${PORTVERSION} \
ftp://ftp.ifi.uio.no/pub/crossfire/ \
ftp://ftp.real-time.com/pub/games/crossfire/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
${PORTNAME}-images-1.7.1${EXTRACT_SUFX} \
${PORTNAME}-sounds-1.4.0${EXTRACT_SUFX}
MAINTAINER= ports@mark.reidel.info
COMMENT= Multiplayer graphical arcade and adventure game made for X11
USE_PERL5= yes
USE_XORG= xpm
WANT_GNOME= yes
USE_GNOME= gnometarget
USE_GMAKE= yes
USE_SDL= image sdl
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-sound-dir=${DATADIR}/sounds
MAN6= cfclient.6
.include <bsd.port.pre.mk>
PLIST_FILES= bin/cfclient \
bin/cfsndserv
.if ${HAVE_GNOME:Mgtk20}!="" || ${HAVE_GNOME:Mgtk12}!=""
MAN6+= gcfclient.6
.if ${HAVE_GNOME:Mgtk20}!=""
USE_GNOME+= gtk20
PLIST_FILES+=bin/gcfclient2
.endif
.if ${HAVE_GNOME:Mgtk12}!=""
USE_GNOME+= gtk12
PLIST_FILES+=bin/gcfclient
.endif
.else
CONFIGURE_ARGS+= --disable-gtk
.endif
PLIST_DIRS= %%DATADIR%%/sounds \
%%DATADIR%%
PLIST_FILES+= %%DATADIR%%/bmaps.client \
%%DATADIR%%/crossfire.base \
%%DATADIR%%/crossfire.clsc \
%%DATADIR%%/sounds/README \
%%DATADIR%%/sounds/Creaky-1.raw \
%%DATADIR%%/sounds/Evil_Laugh.raw \
%%DATADIR%%/sounds/Explosion.raw \
%%DATADIR%%/sounds/FloorTom.raw \
%%DATADIR%%/sounds/Gun-5.raw \
%%DATADIR%%/sounds/MetalCrash.raw \
%%DATADIR%%/sounds/Missed.raw \
%%DATADIR%%/sounds/Missle1.raw \
%%DATADIR%%/sounds/Puke.raw \
%%DATADIR%%/sounds/Tear.raw \
%%DATADIR%%/sounds/Teeswing.raw \
%%DATADIR%%/sounds/TowerClock.raw \
%%DATADIR%%/sounds/Whoosh.raw \
%%DATADIR%%/sounds/blip.raw \
%%DATADIR%%/sounds/boink2.raw \
%%DATADIR%%/sounds/bugle_charge.raw \
%%DATADIR%%/sounds/chord.raw \
%%DATADIR%%/sounds/click1.raw \
%%DATADIR%%/sounds/click2.raw \
%%DATADIR%%/sounds/drip.raw \
%%DATADIR%%/sounds/first_try.raw \
%%DATADIR%%/sounds/gong.raw \
%%DATADIR%%/sounds/lightning1.raw \
%%DATADIR%%/sounds/magic.raw \
%%DATADIR%%/sounds/ouch1.raw \
%%DATADIR%%/sounds/phit2.raw \
%%DATADIR%%/sounds/sci_fi_gun.raw \
%%DATADIR%%/sounds/squish.raw \
%%DATADIR%%/sounds/swish.raw \
post-install:
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKDIR}/bmaps.client ${DATADIR}
${INSTALL_DATA} ${WRKDIR}/crossfire.base ${DATADIR}
${INSTALL_DATA} ${WRKDIR}/crossfire.clsc ${DATADIR}
@${MKDIR} ${DATADIR}/sounds
${INSTALL_DATA} ${WRKDIR}/sounds/README ${DATADIR}/sounds
${INSTALL_DATA} ${WRKDIR}/sounds/*.raw ${DATADIR}/sounds
.include <bsd.port.post.mk>
|