svn commit: r305420 - head/x11/Terminal
Eitan Adler
eadler at FreeBSD.org
Sat Oct 6 22:53:42 UTC 2012
Author: eadler
Date: Sat Oct 6 22:53:42 2012
New Revision: 305420
URL: http://svn.freebsd.org/changeset/ports/305420
Log:
Convert to OptionsNG
Modified:
head/x11/Terminal/Makefile
Modified: head/x11/Terminal/Makefile
==============================================================================
--- head/x11/Terminal/Makefile Sat Oct 6 22:53:15 2012 (r305419)
+++ head/x11/Terminal/Makefile Sat Oct 6 22:53:42 2012 (r305420)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: Terminal
-# Date created: 23 October 2004
-# Whom: Matt Lancereau <ports at FreeBSD.org>
-#
+# Created by: Matt Lancereau <ports at FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= Terminal
PORTVERSION= 0.4.8
@@ -29,26 +25,25 @@ USE_XORG= x11
CONFIGURE_ARGS= --without-gnome-default-appsdir
CONFIGURE_ENV+= ac_cv_prog_AWK="${AWK}"
-OPTIONS= DBUS "Enable D-BUS support" on \
- NLS "Enable Native Language Support" on
+OPTIONS_DEFINE= DBUS NLS
MAN1= Terminal.1
MANLANG= "" ca da el es fr gl id it ja pt ru sv ug zh_CN
.include <bsd.port.pre.mk>
-.if defined(NOPORTDOCS)
+.if empty(PORT_OPTIONS:MDOCS)
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-doc-Makefile.in
.endif
-.if !defined(WITHOUT_DBUS)
+.if ${PORT_OPTIONS:MDBUS}
LIB_DEPENDS+= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
CONFIGURE_ARGS+=--enable-dbus
.else
CONFIGURE_ARGS+=--disable-dbus
.endif
-.if !defined(WITHOUT_NLS)
+.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT= yes
CONFIGURE_ARGS+=--enable-nls
PLIST_SUB+= NLS=""
More information about the svn-ports-all
mailing list