mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
8c8fc31c5c
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>
61 lines
1.6 KiB
Makefile
61 lines
1.6 KiB
Makefile
# New ports collection makefile for: semantic
|
|
# Date created: 30 December 2001
|
|
# Whom: Kimura Fuyuki <fuyuki@mj.0038.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= semantic
|
|
PORTVERSION= 1.4.4
|
|
PORTREVISION= 2
|
|
CATEGORIES= devel 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= A lexer, parser-generator, and parser for Emacs
|
|
|
|
EMACS_PORT_NAME?= emacs21
|
|
|
|
.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}
|
|
|
|
USE_GMAKE= yes
|
|
MAKE_ARGS= LOADPATH=
|
|
CONFLICTS= cedet*
|
|
INFO= semantic
|
|
|
|
LISPDIR= ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/semantic
|
|
|
|
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} ""
|
|
|
|
do-install:
|
|
${MKDIR} ${LISPDIR}
|
|
.for i in *.el *.elc *.bnf
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${LISPDIR}
|
|
.endfor
|
|
${INSTALL_DATA} ${WRKSRC}/semantic.info* ${PREFIX}/info
|
|
install-info ${PREFIX}/info/semantic.info ${PREFIX}/info/dir
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
.for i in INSTALL NEWS
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|