2002-01-02 03:35:31 +01:00
|
|
|
# New ports collection makefile for: semantic
|
|
|
|
# Date created: 30 December 2001
|
|
|
|
# Whom: Kimura Fuyuki <fuyuki@mj.0038.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= semantic
|
2003-07-18 07:26:23 +02:00
|
|
|
PORTVERSION= 1.4.4
|
2004-02-04 06:21:48 +01:00
|
|
|
PORTREVISION= 2
|
2002-01-02 03:35:31 +01:00
|
|
|
CATEGORIES= devel elisp
|
2005-01-13 01:20:28 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
|
|
|
http://bsdchat.com/dist/dryice/
|
2002-01-02 03:35:31 +01:00
|
|
|
MASTER_SITE_SUBDIR= cedet
|
|
|
|
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
|
2002-06-28 05:05:54 +02:00
|
|
|
#DISTNAME= ${PORTNAME}-${PORTVERSION:S/.b/beta/}
|
2002-01-02 03:35:31 +01:00
|
|
|
|
2006-01-11 05:01:50 +01:00
|
|
|
MAINTAINER= dryice@dryice.name
|
2003-02-21 12:23:04 +01:00
|
|
|
COMMENT= A lexer, parser-generator, and parser for Emacs
|
2002-01-02 03:35:31 +01:00
|
|
|
|
|
|
|
EMACS_PORT_NAME?= emacs21
|
|
|
|
|
2002-01-02 15:05:49 +01:00
|
|
|
.if ${EMACS_PORT_NAME} != "emacs21"
|
|
|
|
PORTNAMESUFFIX= ${PKGNAMESUFFIX}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}/eieio/eieio.el:${PORTSDIR}/devel/eieio${PORTNAMESUFFIX} \
|
|
|
|
${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}/speedbar/speedbar.el:${PORTSDIR}/editors/speedbar${PORTNAMESUFFIX}
|
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
|
2002-01-02 03:35:31 +01:00
|
|
|
USE_GMAKE= yes
|
|
|
|
MAKE_ARGS= LOADPATH=
|
2004-06-09 09:59:50 +02:00
|
|
|
CONFLICTS= cedet*
|
|
|
|
INFO= semantic
|
2002-01-02 03:35:31 +01:00
|
|
|
|
|
|
|
LISPDIR= ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/semantic
|
|
|
|
|
2004-06-09 09:59:50 +02:00
|
|
|
pre-everything::
|
|
|
|
@${ECHO_MSG} ""
|
|
|
|
@${ECHO_MSG} "New version of semantic is now in devel/cedet."
|
|
|
|
@${ECHO_MSG} "Hit C-c now if you want the new version."
|
|
|
|
@${ECHO_MSG} ""
|
|
|
|
|
2002-01-02 03:35:31 +01:00
|
|
|
do-install:
|
|
|
|
${MKDIR} ${LISPDIR}
|
2002-02-07 10:54:29 +01:00
|
|
|
.for i in *.el *.elc *.bnf
|
2002-01-02 03:35:31 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${LISPDIR}
|
|
|
|
.endfor
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/semantic.info* ${PREFIX}/info
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
.for i in INSTALL NEWS
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|