Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Dec 2014 17:36:12 +0000 (UTC)
From:      Johan van Selst <johans@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r374542 - head/devel/cscope
Message-ID:  <201412111736.sBBHaCWS068164@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.options.mk>
-
-.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 <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412111736.sBBHaCWS068164>