diff options
author | bapt <bapt@FreeBSD.org> | 2013-04-30 06:27:05 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-04-30 06:27:05 +0800 |
commit | 31426e557795495adeb04aa9e16edb4c93184379 (patch) | |
tree | 8583dfe71adaea6ce266633e1799cd602516b801 /games/zaz | |
parent | b36431c8212c7fe9fc83e2f7412d5935b6e10e6e (diff) | |
download | freebsd-ports-gnome-31426e557795495adeb04aa9e16edb4c93184379.tar.gz freebsd-ports-gnome-31426e557795495adeb04aa9e16edb4c93184379.tar.zst freebsd-ports-gnome-31426e557795495adeb04aa9e16edb4c93184379.zip |
Convert a bunch of ports from WITHOUT_NLS -> ${PORT_OPTIONS:MNLS}
While here:
- trim headers
- convert to new options framework
Diffstat (limited to 'games/zaz')
-rw-r--r-- | games/zaz/Makefile | 12 |
1 files changed, 5 insertions, 7 deletions
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 <amdmi3@FreeBSD.org> -# +# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org> # $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 <bsd.port.options.mk> + +.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 |