2013-04-30 00:27:05 +02:00
|
|
|
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
2009-08-26 02:00:14 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= zaz
|
2010-10-06 01:47:35 +02:00
|
|
|
PORTVERSION= 1.0.0
|
2012-07-19 22:15:37 +02:00
|
|
|
PORTREVISION= 3
|
2009-08-26 02:00:14 +02:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= SF/${PORTNAME}
|
|
|
|
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
|
|
COMMENT= A puzzle game where the player has to arrange balls in triplets
|
|
|
|
|
2013-07-12 17:01:45 +02:00
|
|
|
LIB_DEPENDS= freetype:${PORTSDIR}/print/freetype2 \
|
|
|
|
theora:${PORTSDIR}/multimedia/libtheora \
|
|
|
|
vorbis:${PORTSDIR}/audio/libvorbis \
|
|
|
|
ftgl:${PORTSDIR}/graphics/ftgl
|
2009-08-26 02:00:14 +02:00
|
|
|
|
2010-05-11 17:21:31 +02:00
|
|
|
USE_BZIP2= yes
|
2009-08-26 02:00:14 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_SDL= sdl image
|
|
|
|
USE_GL= gl glu
|
|
|
|
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include/freetype2 -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
2009-10-11 16:25:41 +02:00
|
|
|
CONFIGURE_ARGS= --with-icondir="${PREFIX}/share/pixmaps"
|
2009-08-26 02:00:14 +02:00
|
|
|
|
|
|
|
PORTDOCS= *
|
|
|
|
|
2013-04-30 00:27:05 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2013-08-28 06:10:40 +02:00
|
|
|
# Unconditially disable NLS for now: the game segfaults with 8bit locales
|
|
|
|
#.if ${PORT_OPTIONS:MNLS}
|
|
|
|
#USES+= gettext
|
|
|
|
#PLIST_SUB+= NLS=""
|
|
|
|
#.else
|
2009-08-29 01:00:57 +02:00
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
2013-08-28 06:10:40 +02:00
|
|
|
#.endif
|
2009-08-29 01:00:57 +02:00
|
|
|
|
2009-08-26 02:00:14 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e '/^zazdocdir =/ s|$${prefix}/doc|$${prefix}/share/doc|' \
|
|
|
|
${WRKSRC}/Makefile.in
|
2013-04-30 00:27:05 +02:00
|
|
|
.if ! ${PORT_OPTIONS:MDOCS}
|
2010-02-03 01:52:57 +01:00
|
|
|
@${REINPLACE_CMD} -e '/^install-data-am:/ s|install-dist_docDATA||' \
|
2009-08-26 02:00:14 +02:00
|
|
|
${WRKSRC}/Makefile.in
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|