aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2012-10-07 14:28:06 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2012-10-07 14:28:06 +0000
commit68bfd2c172b5e85088e3d20c0bc1f7a29cdb0e9b (patch)
tree5809229baa5a0e6676fb8f129b50ba9705b861bd /lang
parent03164568773491f9beb2bff08f22c0f575c75e94 (diff)
downloadports-68bfd2c172b5e85088e3d20c0bc1f7a29cdb0e9b.tar.gz
ports-68bfd2c172b5e85088e3d20c0bc1f7a29cdb0e9b.zip
Notes
Diffstat (limited to 'lang')
-rw-r--r--lang/mit-scheme/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/lang/mit-scheme/Makefile b/lang/mit-scheme/Makefile
index 8fbdebcefef6..f4a3747eb2af 100644
--- a/lang/mit-scheme/Makefile
+++ b/lang/mit-scheme/Makefile
@@ -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