From 062ed8d36fcff34f0d3051dd7687377d27558a32 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Mon, 6 May 2013 10:22:41 +0000 Subject: Convert from WITHOUT_NLS to PORT_OPTIONS:MNLS While here do some conversion to new options framework --- print/gtklp/Makefile | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'print/gtklp/Makefile') diff --git a/print/gtklp/Makefile b/print/gtklp/Makefile index 51962010d463..26eda1d756c0 100644 --- a/print/gtklp/Makefile +++ b/print/gtklp/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: gtklp -# Date created: 22 Oct 2002 -# Whom: Martin Klaffenboeck -# +# Created by: Martin Klaffenboeck # $FreeBSD$ -# PORTNAME= gtklp PORTVERSION= 1.2.9 @@ -13,7 +9,7 @@ CATEGORIES= print MASTER_SITES= SF MAINTAINER= sylvio@FreeBSD.org -COMMENT= A gtk interface to cups +COMMENT= GTK interface to cups LIB_DEPENDS= cups.2:${PORTSDIR}/print/cups-client @@ -28,7 +24,9 @@ LDFLAGS+= -L${LOCALBASE}/lib MAN1= gtklp.1 gtklpq.1 -.if !defined(WITHOUT_NLS) +.include + +.if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" .endif -- cgit v1.2.3