2000-05-16 06:00:55 +02:00
|
|
|
# ex:ts=8
|
1999-04-13 19:15:54 +02:00
|
|
|
# ports collection makefile for: cscope
|
|
|
|
# Date created: 1998-11-21
|
|
|
|
# Whom: Castor Fu
|
|
|
|
#
|
1999-08-25 07:57:29 +02:00
|
|
|
# $FreeBSD$
|
1999-04-13 19:15:54 +02:00
|
|
|
#
|
|
|
|
|
2000-04-11 23:30:15 +02:00
|
|
|
PORTNAME= cscope
|
2009-05-01 20:43:29 +02:00
|
|
|
PORTVERSION= 15.7a
|
1999-04-13 19:15:54 +02:00
|
|
|
CATEGORIES= devel
|
2008-08-20 10:02:14 +02:00
|
|
|
MASTER_SITES= SF
|
1999-04-13 19:15:54 +02:00
|
|
|
|
2008-08-20 10:02:14 +02:00
|
|
|
MAINTAINER= gahr@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= An interactive C program browser
|
1999-04-13 19:15:54 +02:00
|
|
|
|
2009-05-28 17:41:34 +02:00
|
|
|
OPTIONS= XCSCOPE "Install (X)Emacs package" off
|
|
|
|
|
2009-03-02 21:45:59 +01:00
|
|
|
USE_BZIP2= yes
|
2000-05-16 06:00:55 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2001-07-07 07:09:55 +02:00
|
|
|
|
2009-05-28 17:41:34 +02:00
|
|
|
EMACSLISPDIR= ${PREFIX}/share/emacs/site-lisp
|
|
|
|
XEMACSLISPDIR= ${PREFIX}/lib/xemacs/site-lisp
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(WITH_XCSCOPE)
|
|
|
|
PLIST_SUB+= XCSCOPE=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= XCSCOPE="@comment "
|
|
|
|
.endif
|
|
|
|
|
2000-05-16 06:00:55 +02:00
|
|
|
MAN1= cscope.1
|
1999-04-13 19:15:54 +02:00
|
|
|
|
2009-05-28 17:41:34 +02:00
|
|
|
.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 <bsd.port.post.mk>
|