Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Dec 2012 18:28:08 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r309037 - head/shells/rc
Message-ID:  <201212161828.qBGIS8wI028864@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sun Dec 16 18:28:08 2012
New Revision: 309037
URL: http://svnweb.freebsd.org/changeset/ports/309037

Log:
  Convert to new option framework

Modified:
  head/shells/rc/Makefile

Modified: head/shells/rc/Makefile
==============================================================================
--- head/shells/rc/Makefile	Sun Dec 16 18:25:15 2012	(r309036)
+++ head/shells/rc/Makefile	Sun Dec 16 18:28:08 2012	(r309037)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	rc
-# Date created:		Sun Aug 13 12:36:14 CDT 1995
-# Whom:			erich@rrnet.com
-#
+# Created by: erich@rrnet.com
 # $FreeBSD$
-#
 
 PORTNAME=	rc
 PORTVERSION=	1.7.1
@@ -20,14 +16,15 @@ CONFIGURE_ARGS=	--with-history
 MAN1=		history.1 rc.1
 
 
-OPTIONS=	READLINE "Build readline support" off
+OPTIONS_DEFINE=	READLINE
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
-.if !defined(WITHOUT_READLINE)
+.if ${PORT_OPTIONS:MREADLINE}
+USE_READLINE=	yes
 CONFIGURE_ARGS+=	--with-readline
 .else
 MAKE_ARGS+=	CFLAGS="$(CFLAGS) -static"
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212161828.qBGIS8wI028864>