blob: 9c32c4693c4837f208cd60e8861a14bfc7683523 (
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
|
# New ports collection makefile for: hex-a-hop
# Date created: 21 February 2006
# Whom: jamie
#
# $FreeBSD$
#
PORTNAME= hex-a-hop
PORTVERSION= 1.1.0
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME:S/-//g}/${PORTNAME}/${PORTVERSION}
MAINTAINER= jamie@bishopston.net
COMMENT= A puzzle game based on hexagonal tiles
USE_SDL= sdl
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS= PANGO "Use sdl_pango instead of sdl_ttf" off \
SOUND "Compile sound support" on
DESKTOP_ENTRIES="Hex-a-Hop" "A puzzle game based on hexagonal tiles" \
"${DATADIR}/icon.bmp" \
"hex-a-hop" "Application;LogicGame;Game;" false
.include <bsd.port.pre.mk>
.if !defined(WITH_DEBUG)
CONFIGURE_ARGS+=--disable-debug
.endif
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
CONFIGURE_ENV+= ac_cv_header_libintl_h=yes
LDFLAGS+= -lintl
.else
CONFIGURE_ENV+= ac_cv_header_libintl_h=no
.endif
.if !defined(WITHOUT_PANGO)
USE_SDL+= pango
CONFIGURE_ARGS+=--disable-sdlttf
.else
USE_SDL+= ttf
.endif
.if !defined(WITHOUT_SOUND)
USE_SDL+= mixer
.else
CONFIGURE_ARGS+=--disable-sound
.endif
post-patch: .SILENT
${REINPLACE_CMD} -E '/CFLAGS|CXXFLAGS/s/-g//' ${WRKSRC}/configure
.include <bsd.port.post.mk>
|