aboutsummaryrefslogtreecommitdiffstats
path: root/cad/geda-gattrib
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-04-30 06:27:05 +0800
committerbapt <bapt@FreeBSD.org>2013-04-30 06:27:05 +0800
commit31426e557795495adeb04aa9e16edb4c93184379 (patch)
tree8583dfe71adaea6ce266633e1799cd602516b801 /cad/geda-gattrib
parentb36431c8212c7fe9fc83e2f7412d5935b6e10e6e (diff)
downloadfreebsd-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 'cad/geda-gattrib')
-rw-r--r--cad/geda-gattrib/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/cad/geda-gattrib/Makefile b/cad/geda-gattrib/Makefile
index d88b63969d50..14e969cf6b8f 100644
--- a/cad/geda-gattrib/Makefile
+++ b/cad/geda-gattrib/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: geda-gattrib
-# Date created: 26 June 2006
-# Whom: Stanislav Sedov <ssedov@mbsd.msk.ru>
-#
+# Created by: Stanislav Sedov <ssedov@mbsd.msk.ru>
# $FreeBSD$
-#
PORTNAME= gattrib
PORTVERSION= 1.4.3
@@ -33,7 +29,9 @@ CONFIGURE_ARGS= --with-docdir="${DOCSDIR}" --disable-update-mime-database \
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-.if !defined(WITHOUT_NLS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else