diff options
Diffstat (limited to 'games/ggz-gtk-games/Makefile')
-rw-r--r-- | games/ggz-gtk-games/Makefile | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/games/ggz-gtk-games/Makefile b/games/ggz-gtk-games/Makefile index 8c16d0235b26..e25b87539088 100644 --- a/games/ggz-gtk-games/Makefile +++ b/games/ggz-gtk-games/Makefile @@ -7,12 +7,12 @@ # PORTNAME= ggz-gtk-games -PORTVERSION= 0.0.12 -PORTREVISION= 1 +PORTVERSION= 0.0.13 CATEGORIES= games MASTER_SITES= http://mirrors.dotsrc.org/ggzgamingzone/ggz/%SUBDIR%/ \ http://ftp.ggzgamingzone.org/pub/ggz/%SUBDIR%/ MASTER_SITE_SUBDIR= ${PORTVERSION} +DIST_SUBDIR= ggz MAINTAINER= yinjieh@csie.nctu.edu.tw COMMENT= The GGZ Gaming Zone - GTK+ Games @@ -31,4 +31,18 @@ CONFIGURE_ARGS= --disable-debug CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS} -.include <bsd.port.mk> +.if defined(WITHOUT_NLS) +CONFIGURE_ARGS+= --disable-nls +PLIST_SUB+= NLS="@comment " +.else +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.endif + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500000 +IGNORE= depends on libggz which does not build on 4.x +.endif + +.include <bsd.port.post.mk> |