1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/devel/ecb/Makefile
Mark Linimon 8f2582a569 Update to 2.11 and assign maintainership to PR submitter. Many, many,
feature additions and bugfixes; see NEWS for details.

PR:		ports/60489
Submitted by:	Dryice Liu <dryice@liu.com.cn>
2003-12-28 07:36:36 +00:00

56 lines
1.3 KiB
Makefile

# New ports collection makefile for: ecb
# Date created: 25 January 2002
# Whom: Kimura Fuyuki <fuyuki@mj.0038.net>
#
# $FreeBSD$
#
PORTNAME= ecb
PORTVERSION= 2.11
CATEGORIES= devel elisp
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ecb
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
MAINTAINER= dryice@liu.com.cn
COMMENT= Emacs Code Browser
EMACS_PORT_NAME?= emacs21
.if ${EMACS_PORT_NAME} != "emacs21"
PORTNAMESUFFIX= ${PKGNAMESUFFIX}
.endif
BUILD_DEPENDS= ${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}/semantic/semantic.el:${PORTSDIR}/devel/semantic${PORTNAMESUFFIX}
RUN_DEPENDS= ${BUILD_DEPENDS}
LISPDIR= ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
USE_REINPLACE= yes
USE_GMAKE= yes
ALL_TARGET= ecb
PLIST_SUB= INFOSECTION="${INFOSECTION}"
INFOSECTION= The Emacs editor and associated tools
post-patch:
${REINPLACE_CMD} "s|\./info-help|${PREFIX}/info|" ${WRKSRC}/ecb-help.el
do-install:
${MKDIR} ${LISPDIR}
.for i in *.el *.elc
${INSTALL_DATA} ${WRKSRC}/${i} ${LISPDIR}
.endfor
${INSTALL_DATA} ${WRKSRC}/info-help/* ${PREFIX}/info
install-info --section="${INFOSECTION}" ${PREFIX}/info/ecb.info \
${PREFIX}/info/dir
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for i in NEWS README RELEASE_NOTES
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>