1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/games/hex-a-hop/Makefile
Marcus von Appen fbd0197639 - Update devel/sdl12 to 1.2.15
- Update audio/sdl_mixer to 1.2.15
- Update graphics/sdl_image to 1.2.12
- Update graphics/sdl_ttf to 2.0.11
- Update graphics/sdl_gfx to 2.0.23
- Update net/sdl_net to 1.2.8
- Bump PORTREVISIONs on ports that depend on one or more packages due to
ABI and shared library version changes
- Update Mk/bsd.sdl.mk accordingly for the new shared library versions

Tested by:	exp-run by pav
2012-02-18 10:18:33 +00:00

62 lines
1.2 KiB
Makefile

# New ports collection makefile for: hex-a-hop
# Date created: 21 February 2006
# Whom: jamie
#
# $FreeBSD$
#
PORTNAME= hex-a-hop
PORTVERSION= 1.1.0
PORTREVISION= 1
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>