From a7ccd08e02b778d6bfc2195561e132b9a10dbff3 Mon Sep 17 00:00:00 2001 From: bapt Date: Fri, 20 Jul 2012 22:16:38 +0000 Subject: Convert to new options framework --- shells/v7sh/Makefile | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'shells') diff --git a/shells/v7sh/Makefile b/shells/v7sh/Makefile index 209ac769f491..e6111230bd39 100644 --- a/shells/v7sh/Makefile +++ b/shells/v7sh/Makefile @@ -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 +.include -.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 +.include -- cgit