From 31426e557795495adeb04aa9e16edb4c93184379 Mon Sep 17 00:00:00 2001 From: bapt Date: Mon, 29 Apr 2013 22:27:05 +0000 Subject: Convert a bunch of ports from WITHOUT_NLS -> ${PORT_OPTIONS:MNLS} While here: - trim headers - convert to new options framework --- games/zaz/Makefile | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'games/zaz') diff --git a/games/zaz/Makefile b/games/zaz/Makefile index fcc534e1ef7d..61693d1798cf 100644 --- a/games/zaz/Makefile +++ b/games/zaz/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: zaz -# Date created: 25 Aug 2009 -# Whom: Dmitry Marakasov -# +# Created by: Dmitry Marakasov # $FreeBSD$ -# PORTNAME= zaz PORTVERSION= 1.0.0 @@ -32,7 +28,9 @@ CONFIGURE_ARGS= --with-icondir="${PREFIX}/share/pixmaps" PORTDOCS= * # Unconditially disable NLS for now: the game segfaults with 8bit locales -.if !defined(WITHOUT_NLS) +.include + +.if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" .else @@ -43,7 +41,7 @@ PLIST_SUB+= NLS="@comment " post-patch: @${REINPLACE_CMD} -e '/^zazdocdir =/ s|$${prefix}/doc|$${prefix}/share/doc|' \ ${WRKSRC}/Makefile.in -.if defined(NOPORTDOCS) +.if ! ${PORT_OPTIONS:MDOCS} @${REINPLACE_CMD} -e '/^install-data-am:/ s|install-dist_docDATA||' \ ${WRKSRC}/Makefile.in .endif -- cgit