svn commit: r309037 - head/shells/rc

Baptiste Daroussin bapt at FreeBSD.org
Sun Dec 16 18:28:09 UTC 2012


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 at rrnet.com
-#
+# Created by: erich at 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>


More information about the svn-ports-all mailing list