aboutsummaryrefslogtreecommitdiff
path: root/deskutils/bmp-docklet/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/bmp-docklet/Makefile')
-rw-r--r--deskutils/bmp-docklet/Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/deskutils/bmp-docklet/Makefile b/deskutils/bmp-docklet/Makefile
index 567d89b2564c..d4b77542c144 100644
--- a/deskutils/bmp-docklet/Makefile
+++ b/deskutils/bmp-docklet/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: bmp-docklet
-# Date created: 10 April, 2005
-# Whom: Adam Weinberger <adamw@FreeBSD.org>
-#
+# Created by: Adam Weinberger <adamw@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= bmp-docklet
PORTVERSION= 1.3
@@ -27,12 +23,14 @@ USE_GNOME= gnomehack intlhack
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
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment"
-.else
-USES= gettext
-PLIST_SUB+= NLS=""
.endif
.include <bsd.port.mk>