2012-09-29 00:07:28 +02:00
|
|
|
# $NetBSD: Makefile,v 1.4 2012/09/28 22:07:29 asau Exp $
|
2008-07-16 07:00:08 +02:00
|
|
|
#
|
|
|
|
|
2011-11-18 06:53:34 +01:00
|
|
|
DISTNAME= ecb-2.40
|
|
|
|
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
|
|
|
|
CATEGORIES= devel
|
2008-07-16 07:00:08 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ecb/}
|
|
|
|
|
2011-11-18 06:53:34 +01:00
|
|
|
MAINTAINER= pho@cielonegro.org
|
|
|
|
HOMEPAGE= http://ecb.sourceforge.net/
|
|
|
|
COMMENT= Emacs Code Browser
|
|
|
|
LICENSE= gnu-gpl-v2
|
2008-07-16 07:00:08 +02:00
|
|
|
|
2011-11-18 06:53:34 +01:00
|
|
|
USE_TOOLS= find gmake makeinfo
|
|
|
|
INFO_FILES= yes
|
2008-07-16 07:00:08 +02:00
|
|
|
|
2011-11-18 06:53:34 +01:00
|
|
|
MAKE_FLAGS+= EMACS=${EMACS_BIN}
|
|
|
|
MAKE_FLAGS+= CEDET=${EMACS_LISPPREFIX}/${EMACS_PKGNAME_PREFIX}cedet
|
|
|
|
EMACS_MODULES= base
|
|
|
|
#EMACS_BUILDLINK= yes # Causes a conflict with Emacs 23's built-in CEDET.
|
2008-07-16 07:00:08 +02:00
|
|
|
|
2011-11-18 06:53:34 +01:00
|
|
|
INSTALLATION_DIRS+= \
|
|
|
|
${PKGINFODIR} \
|
|
|
|
${EMACS_LISPPREFIX}/${PKGBASE}
|
2008-07-16 07:00:08 +02:00
|
|
|
|
2011-11-18 06:53:34 +01:00
|
|
|
# FIXME
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.el ${DESTDIR}${EMACS_LISPPREFIX}/${PKGBASE}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.elc ${DESTDIR}${EMACS_LISPPREFIX}/${PKGBASE}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/info-help/ecb.info* ${DESTDIR}${PREFIX}/${PKGINFODIR}
|
|
|
|
|
|
|
|
cd ${WRKSRC} && \
|
|
|
|
${FIND} ecb-images -print | \
|
|
|
|
while read i; do \
|
|
|
|
if [ -d "$$i" ]; then \
|
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${EMACS_LISPPREFIX}/${PKGBASE}/$$i; \
|
|
|
|
else \
|
|
|
|
${INSTALL_DATA} $$i ${DESTDIR}${EMACS_LISPPREFIX}/${PKGBASE}/$$i; \
|
|
|
|
fi; \
|
|
|
|
done
|
2008-07-16 07:00:08 +02:00
|
|
|
|
2009-08-01 00:18:50 +02:00
|
|
|
.include "../../editors/emacs/modules.mk"
|
2011-11-18 06:53:34 +01:00
|
|
|
.include "../../wip/cedet/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|