Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Oct 2012 14:28:06 +0000 (UTC)
From:      Jimmy Olgeni <olgeni@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305484 - head/lang/mit-scheme
Message-ID:  <201210071428.q97ES6rn014698@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olgeni
Date: Sun Oct  7 14:28:06 2012
New Revision: 305484
URL: http://svn.freebsd.org/changeset/ports/305484

Log:
  Convert to OptionsNG; sort DISTNAME according to portlint.

Modified:
  head/lang/mit-scheme/Makefile   (contents, props changed)

Modified: head/lang/mit-scheme/Makefile
==============================================================================
--- head/lang/mit-scheme/Makefile	Sun Oct  7 14:25:46 2012	(r305483)
+++ head/lang/mit-scheme/Makefile	Sun Oct  7 14:28:06 2012	(r305484)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	MIT-Scheme
-# Date created:		Mar 26 1995
-# Whom:			jmacd@FreeBSD.org
-#
+# Created by: jmacd@FreeBSD.org
 # $FreeBSD$
-#
 
 PORTNAME=	mit-scheme
 PORTVERSION=	9.0.1
@@ -11,6 +7,7 @@ PORTREVISION=	1
 CATEGORIES=	lang scheme
 MASTER_SITES=	${MASTER_SITE_GNU}
 MASTER_SITE_SUBDIR=	mit-scheme/stable.pkg/${PORTVERSION}
+DISTNAME=	${PORTNAME}-${PORTVERSION}-${MIT_SCHEME_ARCH}
 
 MAINTAINER=	olgeni@FreeBSD.org
 COMMENT=	MIT Scheme: includes runtime, compiler, and edwin binaries
@@ -20,11 +17,11 @@ GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
 WRKSRC=		${WRKDIR}/mit-scheme-${PORTVERSION}/src/
 
-OPTIONS=	POSTGRESQL	"Enable PostgreSQL support"	off
+OPTIONS_DEFINE=	PGSQL
 
 .include <bsd.port.pre.mk>
 
-.if defined(WITH_POSTGRESQL)
+.if ${PORT_OPTIONS:MPGSQL}
 PLIST_SUB+=	POSTGRESQL=""
 CONFIGURE_ARGS+=--with-libpq
 .else
@@ -34,7 +31,6 @@ CONFIGURE_ARGS+=--without-libpq
 
 MIT_SCHEME_ARCH=i386
 
-DISTNAME=	${PORTNAME}-${PORTVERSION}-${MIT_SCHEME_ARCH}
 PLIST_SUB+=	MIT_SCHEME_ARCH=${MIT_SCHEME_ARCH}
 
 MAN1=	scheme.1



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