From owner-svn-ports-head@FreeBSD.ORG Thu Oct 4 06:42:07 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC78710656A7; Thu, 4 Oct 2012 06:42:07 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 00EE28FCCC; Thu, 4 Oct 2012 06:34:18 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q946YHWB084063; Thu, 4 Oct 2012 06:34:17 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q946YHt2084060; Thu, 4 Oct 2012 06:34:17 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201210040634.q946YHt2084060@svn.freebsd.org> From: Baptiste Daroussin Date: Thu, 4 Oct 2012 06:34:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r305233 - head/x11-wm/stumpwm X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Oct 2012 06:42:08 -0000 Author: bapt Date: Thu Oct 4 06:34:17 2012 New Revision: 305233 URL: http://svn.freebsd.org/changeset/ports/305233 Log: Convert to new options framework Modified: head/x11-wm/stumpwm/Makefile Modified: head/x11-wm/stumpwm/Makefile ============================================================================== --- head/x11-wm/stumpwm/Makefile Thu Oct 4 06:30:40 2012 (r305232) +++ head/x11-wm/stumpwm/Makefile Thu Oct 4 06:34:17 2012 (r305233) @@ -1,9 +1,5 @@ -# New ports collection makefile for: stumpwm -# Date created: 2008-02-20 -# Whom: alepulver -# +# Created by: Alejandro Pulver # $FreeBSD$ -# PORTNAME= stumpwm PORTVERSION= 0.9.7 @@ -28,16 +24,17 @@ INFO= ${PORTNAME} PORTEXAMPLES= sample-stumpwmrc.lisp PORTDATA= * -OPTIONS= SBCL "Build with lang/sbcl (otherwise with lang/clisp)" on +OPTIONS_DEFINE= SBCL EXAMPLES +SBCL_DESC= Build with lang/sbcl (otherwise with lang/clisp) .include -.if defined(WITH_SBCL) || make(makesum) || defined(FETCH_ALL) +.if ${PORT_OPTIONS:MSBCL} || make(makesum) || defined(FETCH_ALL) MASTER_SITES+= http://common-lisp.net/~abridgewater/dist/clx/:clx DISTFILES+= clx-0.7.4.tgz:clx .endif -.if defined(WITH_SBCL) +.if ${PORT_OPTIONS:MSBCL} CONFIGURE_ARGS+= --with-lisp=sbcl BUILD_DEPENDS+= sbcl:${PORTSDIR}/lang/sbcl .else @@ -45,14 +42,14 @@ CONFIGURE_ARGS+= --with-lisp=clisp BUILD_DEPENDS+= clisp:${PORTSDIR}/lang/clisp .endif -.if !defined(WITH_SBCL) +.if empty(PORT_OPTIONS:MSBCL) .if exists(${LOCALBASE}/bin/clisp) && \ !exists(${LOCALBASE}/lib/clisp/full/clx.o) IGNORE= requires lang/clisp built with CLX_NEW option ON .endif .endif -.if defined(WITH_SBCL) +.if ${PORT_OPTIONS:MSBCL} post-extract: .SILENT ${LN} -sf ${WRKDIR}/clx*/*.asd ${WRKSRC}/cl-ppcre/*.asd ${WRKSRC} @@ -70,7 +67,7 @@ post-patch: .SILENT post-install: ${INSTALL_SCRIPT} ${WRKSRC}/contrib/stumpish ${PREFIX}/bin -.if !defined(NOPORTEXAMPLES) +.if ${PORT_OPTIONS:MEXAMPLES} ${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTEXAMPLES} ${EXAMPLESDIR} .endif