2004-06-03 10:02:06 +02:00
|
|
|
# New ports collection makefile for: cedet
|
|
|
|
# Date created: 2004-02-28
|
|
|
|
# Whom: Dryice Liu
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= cedet
|
2007-09-10 15:40:10 +02:00
|
|
|
PORTVERSION= 1.0.p4
|
2009-07-31 15:57:52 +02:00
|
|
|
PORTREVISION= 2
|
2004-06-03 10:02:06 +02:00
|
|
|
CATEGORIES= devel elisp
|
2009-08-22 02:18:43 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/1.0pre4 \
|
2007-09-10 15:40:10 +02:00
|
|
|
http://dryice.name/computer/FreeBSD/distfiles/
|
2009-08-22 02:18:43 +02:00
|
|
|
|
2004-06-16 23:57:02 +02:00
|
|
|
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
|
2007-09-10 15:40:10 +02:00
|
|
|
DISTNAME= ${PORTNAME}-1.0pre4
|
2004-06-03 10:02:06 +02:00
|
|
|
|
2008-12-18 03:24:04 +01:00
|
|
|
MAINTAINER?= ports@FreeBSD.org
|
2004-06-03 10:02:06 +02:00
|
|
|
COMMENT= Collection of Emacs Development Environment Tools
|
|
|
|
|
2004-06-16 23:57:02 +02:00
|
|
|
PORTCLASS= master
|
- Fix possibility of "infinite make fork" when "Registering install for ..."
EMACS ports. [1]
- Allow building a port as root using an NFS-mounted /usr/ports if the
server maps root to a UID other than root. [2]
- Make 'BROKEN' and 'IGNORED' ports exit their "make install" with a fail
status rather than success. [3]
- Improve behavior when dealing with versioned dependencies. [4]
- Fix false positives in check-conflicts target. [5]
- Remove obsolete bzip2 code. [6]
- Add physical category net-p2p. [7]
- Don't fetch INDEXFILE if not necessary; respect FETCH_ENV. [8], [11]
- INDEX can now be moved outside of ports tree. [9]
- Add ghostscript-gpl. [10]
- Remove obsolete USE_MESA. [12]
- Force pkg_install tools from ports on FreeBSD 4.10 and older. [13]
- Document ALWAYS_KEEP_DISTFILES. [14]
- Remove USE_REINPLACE from bsd.port.mk USE_DOS2UNIX patch. [15]
PR: ports/37596 [1], ports/57259 [2], ports/63216 [3],
ports/89448 [4], ports/89710 [5], ports/88996 [6],
ports/89260 [7], ports/89363 [8], ports/89809 [9],
ports/89853 [10], ports/91086 [11], ports/91710 [12],
ports/91727 [13], ports/92111 [14], ports/92124 [15]
Submitted by: Jay Sachs <jay at eziba dot com> [1], sem [1, 3, 8, 12],
Andrew Heybey <ath at niksun dot com> [2], Jamie Jones
<jamie at thompson dot bishopston dot net>, tobez [4], Mark
Andrews <Mark_Andrews at isc dot org> [5], edwin [6, 11, 15],
pav [7, 13], Peter Jeremy <PeterJeremy at optushome dot com
dot au> [9], Ulrich Spoerlein <q at galgenberg dot net> [10],
netchild [11], erwin [14]
Reviewed by: kris, clement (partially)
2006-01-28 03:11:35 +01:00
|
|
|
USE_EMACS= yes
|
2007-09-10 15:40:10 +02:00
|
|
|
EMACS_PORT_NAME?= emacs22
|
2004-06-03 10:02:06 +02:00
|
|
|
|
|
|
|
CEDET_LISPDIR= ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
|
|
|
|
|
2004-06-17 21:37:56 +02:00
|
|
|
INFO= bovine cogre ede eieio grammar-fw semantic \
|
|
|
|
semantic-appdev semantic-langdev semantic-user \
|
2007-09-10 15:40:10 +02:00
|
|
|
wisent speedbar-cedet
|
|
|
|
|
2004-06-03 10:02:06 +02:00
|
|
|
SEMANTIC_ELISP_SUBDIRS= bovine wisent
|
2004-08-04 04:38:31 +02:00
|
|
|
SEMANTIC_INFOS= bovine.info grammar-fw.info semantic-appdev.info \
|
|
|
|
semantic-langdev.info semantic-user.info semantic.info \
|
|
|
|
wisent.info
|
2004-06-03 10:02:06 +02:00
|
|
|
|
|
|
|
USE_GMAKE= yes
|
2004-06-09 12:42:44 +02:00
|
|
|
CONFLICTS= eieio* semantic* speedbar*
|
2004-06-03 10:02:06 +02:00
|
|
|
|
2007-09-10 15:40:10 +02:00
|
|
|
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
|
2007-03-22 08:57:43 +01:00
|
|
|
|
2004-06-03 10:02:06 +02:00
|
|
|
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
|
2007-09-10 15:40:10 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/ede/ede.info ${PREFIX}/info
|
2004-06-03 10:02:06 +02:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2007-09-10 15:40:10 +02:00
|
|
|
.for i in ${SEMANTIC_INFOS}
|
2004-06-03 10:02:06 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/semantic/doc/${i} ${PREFIX}/info
|
2004-08-04 04:38:31 +02:00
|
|
|
.endfor
|
2004-06-03 10:02:06 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/semantic/semanticdb.sh ${PREFIX}/bin
|
|
|
|
|
2007-09-10 15:40:10 +02:00
|
|
|
# speedbar (Emacs-22 have own but version oldes than req in cedet)
|
2004-06-03 10:02:06 +02:00
|
|
|
${MKDIR} ${CEDET_LISPDIR}/speedbar
|
2007-03-22 08:57:43 +01:00
|
|
|
|
2004-06-03 10:02:06 +02:00
|
|
|
.for i in *.el *.elc *.xpm
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/speedbar/${i} ${CEDET_LISPDIR}/speedbar
|
|
|
|
.endfor
|
2007-03-22 08:57:43 +01:00
|
|
|
|
2007-09-10 15:40:10 +02:00
|
|
|
${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
|
2004-06-03 10:02:06 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|