Index: head/devel/cscope/Makefile =================================================================== --- head/devel/cscope/Makefile (revision 234701) +++ head/devel/cscope/Makefile (revision 234702) @@ -1,24 +1,43 @@ # ex:ts=8 # ports collection makefile for: cscope # Date created: 1998-11-21 # Whom: Castor Fu # # $FreeBSD$ # PORTNAME= cscope PORTVERSION= 15.7a CATEGORIES= devel MASTER_SITES= SF MAINTAINER= gahr@FreeBSD.org COMMENT= An interactive C program browser +OPTIONS= XCSCOPE "Install (X)Emacs package" off + USE_BZIP2= yes GNU_CONFIGURE= yes -PLIST_FILES= bin/cscope \ - bin/ocs +EMACSLISPDIR= ${PREFIX}/share/emacs/site-lisp +XEMACSLISPDIR= ${PREFIX}/lib/xemacs/site-lisp + +.include + +.if defined(WITH_XCSCOPE) +PLIST_SUB+= XCSCOPE="" +.else +PLIST_SUB+= XCSCOPE="@comment " +.endif + MAN1= cscope.1 -.include +.if defined(WITH_XCSCOPE) +post-install: + ${MKDIR} ${EMACSLISPDIR} + ${INSTALL_DATA} ${WRKSRC}/contrib/xcscope/xcscope.el ${EMACSLISPDIR}/ + ${MKDIR} ${XEMACSLISPDIR} + ${LN} -sf ${EMACSLISPDIR}/xcscope.el ${XEMACSLISPDIR} +.endif + +.include Property changes on: head/devel/cscope/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.32 \ No newline at end of property +1.33 \ No newline at end of property Index: head/devel/cscope/pkg-plist =================================================================== --- head/devel/cscope/pkg-plist (nonexistent) +++ head/devel/cscope/pkg-plist (revision 234702) @@ -0,0 +1,6 @@ +bin/cscope +bin/ocs +%%XCSCOPE%%share/emacs/site-lisp/xcscope.el +%%XCSCOPE%%lib/xemacs/site-lisp/xcscope.el +%%XCSCOPE%%@dirrmtry lib/xemacs/site-lisp +%%XCSCOPE%%@dirrmtry lib/xemacs Property changes on: head/devel/cscope/pkg-plist ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.6 \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property