diff options
Diffstat (limited to '')
-rw-r--r-- | games/ggz-txt-client/Makefile | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/games/ggz-txt-client/Makefile b/games/ggz-txt-client/Makefile index aebf6b871823..09d07d333ea6 100644 --- a/games/ggz-txt-client/Makefile +++ b/games/ggz-txt-client/Makefile @@ -1,10 +1,5 @@ -# ex:ts=8 -# Ports collection makefile for: ggz-txt-client -# Date created: Oct 8, 2002 -# Whom: ijliao -# +# Created by: ijliao # $FreeBSD$ -# PORTNAME= ggz-txt-client PORTVERSION= ${GGZ_VERSION} @@ -23,12 +18,14 @@ MAN6= ggz-txt.6 CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} -.if defined(WITHOUT_NLS) -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB+= NLS="@comment " -.else +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+= --disable-nls +PLIST_SUB+= NLS="@comment " .endif post-install: |