aboutsummaryrefslogtreecommitdiff
path: root/devel/cscope
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2014-02-04 13:19:33 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2014-02-04 13:19:33 +0000
commitd6f0da07c2e89f8547d547979ad1a72cc4b09bea (patch)
treeb0da3eec34a1f33b047557373859dd1b3df936bb /devel/cscope
parentf0c7454fa9ec9ae72d486aa17343c0db01a2ae96 (diff)
downloadports-d6f0da07c2e89f8547d547979ad1a72cc4b09bea.tar.gz
ports-d6f0da07c2e89f8547d547979ad1a72cc4b09bea.zip
- STAGE-clean
- Add LICENSE
Notes
Notes: svn path=/head/; revision=342527
Diffstat (limited to 'devel/cscope')
-rw-r--r--devel/cscope/Makefile15
-rw-r--r--devel/cscope/pkg-plist1
2 files changed, 8 insertions, 8 deletions
diff --git a/devel/cscope/Makefile b/devel/cscope/Makefile
index 0c327609d070..e26e3ae8fa26 100644
--- a/devel/cscope/Makefile
+++ b/devel/cscope/Makefile
@@ -9,6 +9,8 @@ MASTER_SITES= SF
MAINTAINER= gahr@FreeBSD.org
COMMENT= An interactive C program browser
+LICENSE= BSD3CLAUSE
+
OPTIONS_DEFINE= XCSCOPE
XCSCOPE_DESC= Install (X)Emacs package
@@ -17,21 +19,18 @@ GNU_CONFIGURE= yes
EMACSLISPDIR= ${PREFIX}/share/emacs/site-lisp
XEMACSLISPDIR= ${PREFIX}/lib/xemacs/site-lisp
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MXCSCOPE}
PLIST_SUB+= 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}
+ ${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
-MAN1= cscope.1
-
.include <bsd.port.mk>
diff --git a/devel/cscope/pkg-plist b/devel/cscope/pkg-plist
index d7897c308d15..4cb22f845f6f 100644
--- a/devel/cscope/pkg-plist
+++ b/devel/cscope/pkg-plist
@@ -1,5 +1,6 @@
bin/cscope
bin/ocs
+man/man1/cscope.1.gz
%%XCSCOPE%%bin/cscope-indexer
%%XCSCOPE%%share/emacs/site-lisp/xcscope.el
%%XCSCOPE%%lib/xemacs/site-lisp/xcscope.el