pkgsrc-wip/ecb/Makefile

45 lines
1.2 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.4 2012/09/28 22:07:29 asau Exp $
#
2011-11-18 06:53:34 +01:00
DISTNAME= ecb-2.40
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
CATEGORIES= devel
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
2011-11-18 06:53:34 +01:00
USE_TOOLS= find gmake makeinfo
INFO_FILES= yes
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.
2011-11-18 06:53:34 +01:00
INSTALLATION_DIRS+= \
${PKGINFODIR} \
${EMACS_LISPPREFIX}/${PKGBASE}
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
.include "../../editors/emacs/modules.mk"
2011-11-18 06:53:34 +01:00
.include "../../wip/cedet/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"