diff options
author | olgeni <olgeni@FreeBSD.org> | 2012-10-07 22:28:06 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2012-10-07 22:28:06 +0800 |
commit | af6db557ed643c61150eb036490a078e4cf2bce4 (patch) | |
tree | 5809229baa5a0e6676fb8f129b50ba9705b861bd /lang | |
parent | f999bb076820bea7b0830d488d8285ef7fbba9da (diff) | |
download | freebsd-ports-gnome-af6db557ed643c61150eb036490a078e4cf2bce4.tar.gz freebsd-ports-gnome-af6db557ed643c61150eb036490a078e4cf2bce4.tar.zst freebsd-ports-gnome-af6db557ed643c61150eb036490a078e4cf2bce4.zip |
Convert to OptionsNG; sort DISTNAME according to portlint.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/mit-scheme/Makefile | 12 |
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 |