diff options
author | wiz <wiz> | 2010-12-18 13:06:04 +0000 |
---|---|---|
committer | wiz <wiz> | 2010-12-18 13:06:04 +0000 |
commit | f0b28d40ddcd901dfd0c24040067cc16d380413c (patch) | |
tree | 6d23772aeb5feed3172def707e32cb3a76e86de0 /devel/cscope | |
parent | 95f6471c5ada1504c75ce3124875cefd0c63ae6d (diff) | |
download | pkgsrc-f0b28d40ddcd901dfd0c24040067cc16d380413c.tar.gz |
Install some emacs support files. Requested by Stefan in PR 44250.
Bump PKGREVISION.
Diffstat (limited to 'devel/cscope')
-rw-r--r-- | devel/cscope/Makefile | 16 | ||||
-rw-r--r-- | devel/cscope/PLIST | 4 |
2 files changed, 18 insertions, 2 deletions
diff --git a/devel/cscope/Makefile b/devel/cscope/Makefile index 2cccd3fb690..4c7a718a560 100644 --- a/devel/cscope/Makefile +++ b/devel/cscope/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.51 2009/05/23 09:06:44 tron Exp $ +# $NetBSD: Makefile,v 1.52 2010/12/18 13:06:04 wiz Exp $ DISTNAME= cscope-15.7a +PKGREVISION= 1 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cscope/} EXTRACT_SUFX= .tar.bz2 @@ -17,6 +18,19 @@ USE_TOOLS+= byacc lex CONFIGURE_ARGS+= --with-ncurses=${BUILDLINK_PREFIX.ncurses} CONFIGURE_ARGS+= --with-flex --with-yacc +INSTALLATION_DIRS+= share/emacs/site-lisp + +SUBST_CLASSES+= path +SUBST_SED.path= -e "s,PATH=\"\\(.*\\),PATH=\"${PREFIX}/bin:\\1," +SUBST_FILES.path= contrib/xcscope/cscope-indexer +SUBST_MESSAGE.path= Fixing path in cscope-indexer. +SUBST_STAGE.path= post-patch + +post-install: + ${INSTALL_SCRIPT} ${WRKSRC}/contrib/xcscope/cscope-indexer \ + ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/contrib/xcscope/xcscope.el \ + ${DESTDIR}${PREFIX}/share/emacs/site-lisp .include "../../devel/ncurses/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/devel/cscope/PLIST b/devel/cscope/PLIST index c397f66075a..5b734054594 100644 --- a/devel/cscope/PLIST +++ b/devel/cscope/PLIST @@ -1,4 +1,6 @@ -@comment $NetBSD: PLIST,v 1.2 2009/06/14 17:48:38 joerg Exp $ +@comment $NetBSD: PLIST,v 1.3 2010/12/18 13:06:04 wiz Exp $ bin/cscope +bin/cscope-indexer man/man1/cscope.1 share/cscope/ocs +share/emacs/site-lisp/xcscope.el |