From owner-svn-ports-head@FreeBSD.ORG Thu Dec 11 17:36:12 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BB344F0B; Thu, 11 Dec 2014 17:36:12 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A6E38383; Thu, 11 Dec 2014 17:36:12 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sBBHaCMr068165; Thu, 11 Dec 2014 17:36:12 GMT (envelope-from johans@FreeBSD.org) Received: (from johans@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sBBHaCWS068164; Thu, 11 Dec 2014 17:36:12 GMT (envelope-from johans@FreeBSD.org) Message-Id: <201412111736.sBBHaCWS068164@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: johans set sender to johans@FreeBSD.org using -f From: Johan van Selst Date: Thu, 11 Dec 2014 17:36:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r374542 - head/devel/cscope X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 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, 11 Dec 2014 17:36:12 -0000 Author: johans Date: Thu Dec 11 17:36:11 2014 New Revision: 374542 URL: https://svnweb.freebsd.org/changeset/ports/374542 QAT: https://qat.redports.org/buildarchive/r374542/ Log: - Adopt port - Simplify logic handling optional files Modified: head/devel/cscope/Makefile Modified: head/devel/cscope/Makefile ============================================================================== --- head/devel/cscope/Makefile Thu Dec 11 17:05:46 2014 (r374541) +++ head/devel/cscope/Makefile Thu Dec 11 17:36:11 2014 (r374542) @@ -6,12 +6,13 @@ PORTVERSION= 15.8a CATEGORIES= devel MASTER_SITES= SF -MAINTAINER= ports@FreeBSD.org +MAINTAINER= johans@FreeBSD.org COMMENT= Interactive C program browser LICENSE= BSD3CLAUSE OPTIONS_DEFINE= XCSCOPE +OPTIONS_SUB= yes XCSCOPE_DESC= Install (X)Emacs package GNU_CONFIGURE= yes @@ -19,18 +20,11 @@ GNU_CONFIGURE= yes EMACSLISPDIR= ${PREFIX}/share/emacs/site-lisp XEMACSLISPDIR= ${PREFIX}/lib/xemacs/site-lisp -.include - -.if ${PORT_OPTIONS:MXCSCOPE} -PLIST_SUB+= XCSCOPE="" post-install: ${INSTALL_SCRIPT} ${WRKSRC}/contrib/xcscope/cscope-indexer ${STAGEDIR}${PREFIX}/bin ${MKDIR} ${STAGEDIR}${EMACSLISPDIR} ${INSTALL_DATA} ${WRKSRC}/contrib/xcscope/xcscope.el ${STAGEDIR}${EMACSLISPDIR} ${MKDIR} ${STAGEDIR}${XEMACSLISPDIR} ${LN} -sf ${EMACSLISPDIR}/xcscope.el ${STAGEDIR}${XEMACSLISPDIR} -.else -PLIST_SUB+= XCSCOPE="@comment " -.endif .include