mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
854c187a95
"I'll be offline for the next few months. Someone please take care of these poor orphans." Also slip in some minor fixes. PR: 52831 Submitted by: Kimura Fuyuki <fuyuki@mj.0038.net>
53 lines
1.4 KiB
Makefile
53 lines
1.4 KiB
Makefile
# New ports collection makefile for: speedbar
|
|
# Date created: 29 December 2001
|
|
# Whom: Kimura Fuyuki <fuyuki@mj.0038.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= speedbar
|
|
PORTVERSION= 0.14.b4
|
|
PORTREVISION= 1
|
|
CATEGORIES= editors elisp
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= cedet
|
|
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.b/beta/}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Quick access to files and tags in an Emacs frame
|
|
|
|
EMACS_PORT_NAME?= emacs21
|
|
|
|
USE_REINPLACE= yes
|
|
USE_GMAKE= yes
|
|
|
|
LISPDIR= ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/speedbar
|
|
|
|
# We need to recompile these el's because of some incompatible changes
|
|
# in speedbar.
|
|
MUST_BE_RECOMPILED= gud.el info.el rmail.el vhdl-mode.el
|
|
|
|
EMACS_ARGS= -batch -l speedbar-compile-script -f batch-byte-compile
|
|
|
|
post-patch:
|
|
.for i in ${MUST_BE_RECOMPILED}
|
|
${CP} `${FIND} ${PREFIX}/${EMACS_LIBDIR_WITH_VER}/lisp -name ${i}` \
|
|
${WRKSRC}
|
|
${REINPLACE_CMD} -e 's/speedbar-attached-frame/dframe-attached-frame/' \
|
|
${WRKSRC}/${i}
|
|
.endfor
|
|
|
|
post-build:
|
|
cd ${WRKSRC}; ${EMACS_CMD} ${EMACS_ARGS} ${MUST_BE_RECOMPILED}
|
|
|
|
do-install:
|
|
${MKDIR} ${LISPDIR}
|
|
.for i in *.el *.elc *.xpm
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${LISPDIR}
|
|
.endfor
|
|
${INSTALL_DATA} ${WRKSRC}/speedbar.info ${PREFIX}/info
|
|
install-info ${PREFIX}/info/speedbar.info ${PREFIX}/info/dir
|
|
|
|
.include <bsd.port.mk>
|