aboutsummaryrefslogtreecommitdiffstats
path: root/x11-clocks/cairo-clock
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-05-06 14:41:15 +0800
committerbapt <bapt@FreeBSD.org>2013-05-06 14:41:15 +0800
commit13fbf93c41f4cea42f385da9cc22e36f96d66d51 (patch)
tree57e0d36f5252dfbcbd76ce8c591f83f1cd36486a /x11-clocks/cairo-clock
parent0ad33b7e0f1e94e8fd60f9d60aa9b63e0c1a4f81 (diff)
downloadfreebsd-ports-gnome-13fbf93c41f4cea42f385da9cc22e36f96d66d51.tar.gz
freebsd-ports-gnome-13fbf93c41f4cea42f385da9cc22e36f96d66d51.tar.zst
freebsd-ports-gnome-13fbf93c41f4cea42f385da9cc22e36f96d66d51.zip
Finish converting x11* from WITHOUT_NLS to PORT_OPTIONS:MNLS
Diffstat (limited to 'x11-clocks/cairo-clock')
-rw-r--r--x11-clocks/cairo-clock/Makefile12
1 files changed, 5 insertions, 7 deletions
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 <bsd.port.options.mk>
+
+.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}