49 lines
1.4 KiB
Makefile
49 lines
1.4 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.b13
|
||
|
CATEGORIES= devel elisp
|
||
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||
|
MASTER_SITE_SUBDIR= cedet
|
||
|
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
|
||
|
DISTNAME= ${PORTNAME}-1.4beta13
|
||
|
|
||
|
MAINTAINER= fuyuki@mj.0038.net
|
||
|
|
||
|
BUILD_DEPENDS= ${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}/eieio/eieio.el:${PORTSDIR}/devel/eieio
|
||
|
BUILD_DEPENDS+= ${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}/speedbar/speedbar.el:${PORTSDIR}/editors/speedbar
|
||
|
RUN_DEPENDS= ${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}/eieio/eieio.el:${PORTSDIR}/devel/eieio
|
||
|
RUN_DEPENDS+= ${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}/speedbar/speedbar.el:${PORTSDIR}/editors/speedbar
|
||
|
|
||
|
EMACS_PORT_NAME?= emacs21
|
||
|
|
||
|
USE_GMAKE= yes
|
||
|
MAKE_ARGS= LOADPATH=
|
||
|
|
||
|
LISPDIR= ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/semantic
|
||
|
|
||
|
do-install:
|
||
|
${MKDIR} ${LISPDIR}
|
||
|
.for i in *.el *.elc
|
||
|
${INSTALL_DATA} ${WRKSRC}/${i} ${LISPDIR}
|
||
|
.endfor
|
||
|
${INSTALL_DATA} ${WRKSRC}/semantic.info* ${PREFIX}/info
|
||
|
install-info ${PREFIX}/info/semantic.info ${PREFIX}/info/dir
|
||
|
|
||
|
post-install:
|
||
|
${MKDIR} ${EXAMPLESDIR}
|
||
|
${INSTALL_DATA} ${WRKSRC}/*.bnf ${EXAMPLESDIR}
|
||
|
.if !defined(NOPORTDOCS)
|
||
|
${MKDIR} ${DOCSDIR}
|
||
|
.for i in INSTALL NEWS
|
||
|
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
||
|
.endfor
|
||
|
.endif
|
||
|
|
||
|
.include <bsd.port.mk>
|