1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/devel/ecb/Makefile
Yoichi NAKAYAMA ec95d356cf Update to 1.80
PR:		ports/41649
Submitted by:	maintainer
2002-08-14 06:45:07 +00:00

54 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= 1.80
CATEGORIES= devel elisp
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ecb
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
MAINTAINER= fuyuki@hadaly.org
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} \
${LOCALBASE}/${EMACS_VERSION_SITE_LISPDIR}/eieio/eieio.el:${PORTSDIR}/devel/eieio${PORTNAMESUFFIX}
RUN_DEPENDS= ${BUILD_DEPENDS}
LISPDIR= ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
USE_REINPLACE= yes
USE_GMAKE= yes
post-patch:
${REINPLACE_CMD} -e 's/.$$//' \
-e 's/GNU Emacs Lisp/The Emacs editor and associated tools/' \
${WRKSRC}/ecb.texi
do-install:
${MKDIR} ${LISPDIR}
.for i in *.el *.elc
${INSTALL_DATA} ${WRKSRC}/${i} ${LISPDIR}
.endfor
${INSTALL_DATA} ${WRKSRC}/ecb.info ${PREFIX}/info
install-info ${PREFIX}/info/ecb.info ${PREFIX}/info/dir
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for i in HISTORY README RELEASE_NOTES
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>