Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jul 2012 22:16:38 +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: r301258 - head/shells/v7sh
Message-ID:  <201207202216.q6KMGc4U044785@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Fri Jul 20 22:16:38 2012
New Revision: 301258
URL: http://svn.freebsd.org/changeset/ports/301258

Log:
  Convert to new options framework

Modified:
  head/shells/v7sh/Makefile

Modified: head/shells/v7sh/Makefile
==============================================================================
--- head/shells/v7sh/Makefile	Fri Jul 20 22:14:15 2012	(r301257)
+++ head/shells/v7sh/Makefile	Fri Jul 20 22:16:38 2012	(r301258)
@@ -31,19 +31,21 @@ NO_WRKSUBDIR=	yes
 MAN1=		${PORTNAME}.1
 MANCOMPRESSED=	yes
 
-OPTIONS=	V7SH_SYSIII	"System III enhancements"	on \
-		V7SH_RENO	"4.3BSD-Reno enhancements"	on \
-		V7SH_ULTRIX	"Ultrix 3.1 enhancements"	on
+OPTIONS_DEFINE=	SYSIII RENO ULTRIX
+OPTIONS_DEFAULT=	SYSIII RENO ULTRIX
+SYSIII_DESC=	System III enhancements
+RENO_DESC=	4.3BSD-Reno enhancements
+ULTRIX_DESC=	Ultrix 3.1 enhancements
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
-.if !defined(WITHOUT_V7SH_SYSIII)
+.if ${PORT_OPTIONS:MSYSIII}
 CFLAGS+=	-DSYSIII
 .endif
-.if !defined(WITHOUT_V7SH_RENO)
+.if ${PORT_OPTIONS:MRENO}
 CFLAGS+=	-DRENO
 .endif
-.if !defined(WITHOUT_V7SH_ULTRIX)
+.if ${PORT_OPTIONS:MULTRIX}
 CFLAGS+=	-DULTRIX
 .endif
 
@@ -60,4 +62,4 @@ post-install:
 	 ${ECHO_CMD} ${PREFIX}/bin/${PORTNAME}) > /etc/shells
 	@${RM} /etc/shells.bak
 
-.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?201207202216.q6KMGc4U044785>