1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/editors/speedbar/Makefile
Edwin Groothuis 8c8fc31c5c [maintainer update] 16 ports: add mirror MASTER_SITES
Please add http://bsdchat.com/dist/dryice/ to the MASTER_SITES
	of the following ports. Thanks Clive Lin and bsdchat.com for
	the mirror space!

	chinese/xpdf
	deskutils/etask
	devel/cedet
	devel/ecb
	devel/eieio
	devel/ipython
	devel/kodos
	devel/semantic
	devel/xtla
	editors/speedbar
	editors/tree-widget
	games/emacs-chess
	net/tcping
	www/mod_scgi
	www/py-scgi
	www/quixote

PR:		ports/75743
Submitted by:	Dryice Liu <dryice@liu.com.cn>
2005-01-13 00:20:28 +00:00

62 lines
1.6 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= 2
CATEGORIES= editors elisp
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://bsdchat.com/dist/dryice/
MASTER_SITE_SUBDIR= cedet
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.b/beta/}
MAINTAINER= dryice@liu.com.cn
COMMENT= Quick access to files and tags in an Emacs frame
EMACS_PORT_NAME?= emacs21
USE_REINPLACE= yes
USE_GMAKE= yes
CONFLICTS= cedet*
INFO= speedbar
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
pre-everything::
@${ECHO_MSG} ""
@${ECHO_MSG} "New version of speedbar is now in devel/cedet."
@${ECHO_MSG} "Hit C-c now if you want the new version."
@${ECHO_MSG} ""
pre-build:
.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>