diff options
Diffstat (limited to 'games/glchess/Makefile')
-rw-r--r-- | games/glchess/Makefile | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/games/glchess/Makefile b/games/glchess/Makefile index 8f5b3ec8af36..6ace8df4e212 100644 --- a/games/glchess/Makefile +++ b/games/glchess/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: glchess -# Date created: Wed Jul 18 08:35:56 EDT 2001 -# Whom: Patrick Li <pat@databits.net> -# +# Created by: Patrick Li <pat@databits.net> # $FreeBSD$ -# PORTNAME= glchess PORTVERSION= 1.0.6 @@ -23,12 +19,14 @@ USE_PYDISTUTILS= yes GCONF_SCHEMAS= glchess.schemas -.if defined(WITHOUT_NLS) -PLIST_SUB+= NLS="@comment" -CONFIGURE_ARGS+= --disable-nls -.else +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MNLS} PLIST_SUB+= NLS="" USES+= gettext +.else +PLIST_SUB+= NLS="@comment" +CONFIGURE_ARGS+= --disable-nls .endif post-patch: @@ -49,7 +47,7 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/po/$$lang.mo \ ${PREFIX}/share/locale/$$lang/LC_MESSAGES/glchess.mo ; \ done) -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} .for file in ChangeLog README TODO ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} |