From 83b78f74bc2950ee008c02c566afb23f13d607c6 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Mon, 6 May 2013 06:41:15 +0000 Subject: Finish converting x11* from WITHOUT_NLS to PORT_OPTIONS:MNLS --- x11-clocks/alarm-clock/Makefile | 14 ++++++-------- x11-clocks/cairo-clock/Makefile | 12 +++++------- 2 files changed, 11 insertions(+), 15 deletions(-) (limited to 'x11-clocks') diff --git a/x11-clocks/alarm-clock/Makefile b/x11-clocks/alarm-clock/Makefile index bc71deb0614f..ada378547c1d 100644 --- a/x11-clocks/alarm-clock/Makefile +++ b/x11-clocks/alarm-clock/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: alarm-clock -# Date created: 2008-06-16 -# Whom: Romain Tartière -# +# Created by: Romain Tartière # $FreeBSD$ -# PORTNAME= alarm-clock PORTVERSION= 1.4 @@ -19,12 +15,14 @@ LIB_DEPENDS= unique-1:${PORTSDIR}/x11-toolkits/unique \ GNU_CONFIGURE= yes USE_BZIP2= yes -USES= gettext +USES= gettext pathfix USE_GMAKE= yes USE_GSTREAMER= yes -USE_GNOME= gnomehack gtk20 +USE_GNOME= gtk20 -.if !defined(WITHOUT_NLS) +.include + +.if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" .else diff --git a/x11-clocks/cairo-clock/Makefile b/x11-clocks/cairo-clock/Makefile index ca8dde85a5b0..9e3ceeba7324 100644 --- a/x11-clocks/cairo-clock/Makefile +++ b/x11-clocks/cairo-clock/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: cairo-clock -# Date created: 2007/01/16 -# Whom: chinsan -# +# Created by: chinsan # $FreeBSD$ -# PORTNAME= cairo-clock PORTVERSION= 0.3.4 @@ -21,7 +17,9 @@ GNU_CONFIGURE= yes USE_LDCONFIG= yes MAN1= cairo-clock.1 -.if !defined(WITHOUT_NLS) +.include + +.if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" CPPFLAGS+= -I${LOCALBASE}/include @@ -37,7 +35,7 @@ post-patch: ${WRKSRC}/man/Makefile.in post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} .for file in README NEWS AUTHORS TODO ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} -- cgit v1.2.3