diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2009-08-28 23:00:57 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2009-08-28 23:00:57 +0000 |
commit | 47198320fcff9fb977f107cddac3f3cf5e07b317 (patch) | |
tree | 38f390b05f3ae792f89df35fb0acd0d820db23cb /games/zaz/Makefile | |
parent | 9259abbf2a586fb5492b095d751c33c5795bcb04 (diff) |
Notes
Diffstat (limited to 'games/zaz/Makefile')
-rw-r--r-- | games/zaz/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/games/zaz/Makefile b/games/zaz/Makefile index 30897b69ff50..fb327328e92a 100644 --- a/games/zaz/Makefile +++ b/games/zaz/Makefile @@ -6,7 +6,7 @@ # PORTNAME= zaz -PORTVERSION= 0.2.8 +PORTVERSION= 0.2.9 CATEGORIES= games MASTER_SITES= SF/${PORTNAME} @@ -30,6 +30,14 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/freetype2 -I${LOCALBASE}/include PORTDOCS= * +.if !defined(WITHOUT_NLS) +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+=--disable-nls +PLIST_SUB+= NLS="@comment " +.endif + post-patch: @${REINPLACE_CMD} -e '/^zazdocdir =/ s|$${prefix}/doc|$${prefix}/share/doc|' \ ${WRKSRC}/Makefile.in |