From owner-svn-ports-head@FreeBSD.ORG Thu Oct 4 07:32:12 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 30FAF106568E; Thu, 4 Oct 2012 07:32:12 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 495058FD01; Thu, 4 Oct 2012 07:22:17 +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 q947MHKD093307; Thu, 4 Oct 2012 07:22:17 GMT (envelope-from gahr@svn.freebsd.org) Received: (from gahr@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q947MHKv093304; Thu, 4 Oct 2012 07:22:17 GMT (envelope-from gahr@svn.freebsd.org) Message-Id: <201210040722.q947MHKv093304@svn.freebsd.org> From: Pietro Cerutti Date: Thu, 4 Oct 2012 07:22: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: r305239 - head/devel/cscope 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 07:32:12 -0000 Author: gahr Date: Thu Oct 4 07:22:16 2012 New Revision: 305239 URL: http://svn.freebsd.org/changeset/ports/305239 Log: - Convert to OptionsNG Modified: head/devel/cscope/Makefile (contents, props changed) Modified: head/devel/cscope/Makefile ============================================================================== --- head/devel/cscope/Makefile Thu Oct 4 07:21:06 2012 (r305238) +++ head/devel/cscope/Makefile Thu Oct 4 07:22:16 2012 (r305239) @@ -1,10 +1,5 @@ -# ex:ts=8 -# ports collection makefile for: cscope -# Date created: 1998-11-21 -# Whom: Castor Fu -# +# Created by: Castor Fu # $FreeBSD$ -# PORTNAME= cscope PORTVERSION= 15.8 @@ -14,7 +9,8 @@ MASTER_SITES= SF MAINTAINER= gahr@FreeBSD.org COMMENT= An interactive C program browser -OPTIONS= XCSCOPE "Install (X)Emacs package" off +OPTIONS_DEFINE= XCSCOPE +XCSCOPE_DESC= Install (X)Emacs package USE_BZIP2= yes GNU_CONFIGURE= yes @@ -22,23 +18,20 @@ GNU_CONFIGURE= yes EMACSLISPDIR= ${PREFIX}/share/emacs/site-lisp XEMACSLISPDIR= ${PREFIX}/lib/xemacs/site-lisp -.include +.include -.if defined(WITH_XCSCOPE) +.if ${PORT_OPTIONS:MXCSCOPE} PLIST_SUB+= XCSCOPE="" -.else -PLIST_SUB+= XCSCOPE="@comment " -.endif - -MAN1= cscope.1 - -.if defined(WITH_XCSCOPE) post-install: ${INSTALL_SCRIPT} ${WRKSRC}/contrib/xcscope/cscope-indexer ${PREFIX}/bin ${MKDIR} ${EMACSLISPDIR} ${INSTALL_DATA} ${WRKSRC}/contrib/xcscope/xcscope.el ${EMACSLISPDIR} ${MKDIR} ${XEMACSLISPDIR} ${LN} -sf ${EMACSLISPDIR}/xcscope.el ${XEMACSLISPDIR} +.else +PLIST_SUB+= XCSCOPE="@comment " .endif -.include +MAN1= cscope.1 + +.include