freebsd-ports/devel/cedet/Makefile
Boris Samorodov 3cb246682f Changes to editors/emacs and Mk/bsd.emacs.mk were taken from
PR/137956 by Ashish SHUKLA (thanks!).  [1]

Those ports which define EMACS_PORT_NAME to be "emacs21" were
not touched (this time). They may be converted to the new
world order by removing the above mentioned assignment.

Four ports were marked as BROKEN with EMACS_PORT_NAME=emacs23
(they do not compile):
. lang/bigloo;
. mail/wanderlust;
. mail/wanderlust-devel;
. www/emacs-w3m.

Three ports were marked as IGNORE with EMACS_PORT_NAME=emacs23:
. japanese/egg-canna (the port version is dated as of 2001,
  does not compile with Emacs 23 and seems it cannot be fixed);
. deskutils/remember.el (was incorporated into Emacs 23);
. editors/nxml (was incorporated into Emacs 23).

Changes that were made after (and as a result of) exp run. For
those ports:
. japanese/migemo-emacs21;
. japanese/migemo-emacs22
EMACS_PORT_NAME?= was changed to EMACS_PORT_NAME= to the apropriate
emacs port name.

PR:		ports/137956 [1], ports/141369 [2]
Submitted by:	Ashish SHUKLA <wahjava at gmail.com>  [1],
		bsam (me)  [2]
Exp-run by: miwi
2009-12-20 20:19:24 +00:00

119 lines
3 KiB
Makefile

# New ports collection makefile for: cedet
# Date created: 2004-02-28
# Whom: Dryice Liu
#
# $FreeBSD$
#
PORTNAME= cedet
PORTVERSION= 1.0.p4
PORTREVISION= 3
CATEGORIES= devel elisp
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/1.0pre4 \
http://dryice.name/computer/FreeBSD/distfiles/
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
DISTNAME= ${PORTNAME}-1.0pre4
MAINTAINER?= ports@FreeBSD.org
COMMENT= Collection of Emacs Development Environment Tools
PORTCLASS= master
USE_EMACS= yes
MAKE_JOBS_UNSAFE= yes
CEDET_LISPDIR= ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
INFO= bovine cogre ede eieio grammar-fw semantic \
semantic-appdev semantic-langdev semantic-user \
wisent speedbar-cedet
SEMANTIC_ELISP_SUBDIRS= bovine wisent
SEMANTIC_INFOS= bovine.info grammar-fw.info semantic-appdev.info \
semantic-langdev.info semantic-user.info semantic.info \
wisent.info
USE_GMAKE= yes
CONFLICTS= eieio* semantic* speedbar*
pre-build:
#cleanup info
${RM} -f ${WRKSRC}/ede/ede.info
${RM} -f ${WRKSRC}/speedbar/speedbar.info
.for i in ${SEMANTIC_INFOS}
${RM} -f ${WRKSRC}/semantic/doc/${i}
.endfor
${RM} -f ${WRKSRC}/cogre/cogre.info
${RM} -f ${WRKSRC}/eieio/eieio.info
do-install:
${MKDIR} ${CEDET_LISPDIR}
# cogre
${MKDIR} ${CEDET_LISPDIR}/cogre
.for i in *.el *.elc
${INSTALL_DATA} ${WRKSRC}/cogre/${i} ${CEDET_LISPDIR}/cogre
.endfor
${INSTALL_DATA} ${WRKSRC}/cogre/cogre.info ${PREFIX}/info
# common
${MKDIR} ${CEDET_LISPDIR}/common
.for i in *.el *.elc
${INSTALL_DATA} ${WRKSRC}/common/${i} ${CEDET_LISPDIR}/common
.endfor
${MKDIR} ${CEDET_LISPDIR}/common/icons
.for i in *.xpm
${INSTALL_DATA} ${WRKSRC}/common/icons/${i} ${CEDET_LISPDIR}/common/icons
.endfor
# ede
${MKDIR} ${CEDET_LISPDIR}/ede
.for i in *.el *.elc
${INSTALL_DATA} ${WRKSRC}/ede/${i} ${CEDET_LISPDIR}/ede
.endfor
${INSTALL_DATA} ${WRKSRC}/ede/ede.info ${PREFIX}/info
# eieio
${MKDIR} ${CEDET_LISPDIR}/eieio
.for i in *.el *.elc
${INSTALL_DATA} ${WRKSRC}/eieio/${i} ${CEDET_LISPDIR}/eieio
.endfor
${INSTALL_DATA} ${WRKSRC}/eieio/eieio.info ${PREFIX}/info
# semantic
${MKDIR} ${CEDET_LISPDIR}/semantic
.for i in *.el *.elc
${INSTALL_DATA} ${WRKSRC}/semantic/${i} ${CEDET_LISPDIR}/semantic
.endfor
.for j in ${SEMANTIC_ELISP_SUBDIRS}
${MKDIR} ${CEDET_LISPDIR}/semantic/${j}
.for i in *.el *.elc
${INSTALL_DATA} ${WRKSRC}/semantic/${j}/${i} ${CEDET_LISPDIR}/semantic/${j}
.endfor
.endfor
.for i in ${SEMANTIC_INFOS}
${INSTALL_DATA} ${WRKSRC}/semantic/doc/${i} ${PREFIX}/info
.endfor
${INSTALL_SCRIPT} ${WRKSRC}/semantic/semanticdb.sh ${PREFIX}/bin
# speedbar (Emacs-22 have own but version oldes than req in cedet)
${MKDIR} ${CEDET_LISPDIR}/speedbar
.for i in *.el *.elc *.xpm
${INSTALL_DATA} ${WRKSRC}/speedbar/${i} ${CEDET_LISPDIR}/speedbar
.endfor
${INSTALL_DATA} ${WRKSRC}/speedbar/speedbar-cedet.info ${PREFIX}/info
#contrib
${MKDIR} ${CEDET_LISPDIR}/contrib
.for i in *.el *.elc
${INSTALL_DATA} ${WRKSRC}/contrib/${i} ${CEDET_LISPDIR}/contrib
.endfor
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>