2008-10-13 10:07:02 +02:00
|
|
|
# $NetBSD: Makefile,v 1.26 2008/10/13 08:07:02 uebayasi Exp $
|
2001-06-08 23:03:05 +02:00
|
|
|
#
|
|
|
|
|
2006-06-17 21:27:04 +02:00
|
|
|
DISTNAME= semantic-1.4.4
|
2005-08-28 06:25:28 +02:00
|
|
|
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
|
2001-06-08 23:03:05 +02:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cedet/}
|
|
|
|
|
2007-07-05 20:20:07 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2001-06-08 23:03:05 +02:00
|
|
|
HOMEPAGE= http://cedet.sourceforge.net/semantic.shtml
|
|
|
|
COMMENT= Lexer, parser-generator, and parser written for Emacs
|
|
|
|
|
2008-03-03 18:45:33 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2006-07-21 16:27:56 +02:00
|
|
|
PKGSRC_MAKE_ENV+= EMACS=${EMACS_FLAVOR}
|
2001-06-08 23:03:05 +02:00
|
|
|
|
2005-09-28 19:06:53 +02:00
|
|
|
NO_CONFIGURE= yes
|
2005-05-22 22:07:36 +02:00
|
|
|
USE_TOOLS+= gmake
|
2006-06-17 21:27:04 +02:00
|
|
|
INFO_FILES= yes
|
2001-06-08 23:03:05 +02:00
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
MAKE_ENV+= EMACS=${EMACS_FLAVOR:Q}
|
2005-08-28 06:25:28 +02:00
|
|
|
|
2003-01-11 09:56:33 +01:00
|
|
|
# XXX cd ${WRKSRC}; ${MAKE} -V semantic_LISP
|
|
|
|
SRCS= semantic.el semantic-util.el semantic-bnf.el semantic-ctxt.el
|
|
|
|
# XXX cd ${WRKSRC}; ${MAKE} -V Languages_LISP
|
|
|
|
SRCS+= semantic-c.el semantic-el.el semantic-java.el semantic-make.el \
|
|
|
|
semantic-scm.el semantic-texi.el
|
|
|
|
# XXX cd ${WRKSRC}; ${MAKE} -V tools_LISP
|
|
|
|
SRCS+= semantic-imenu.el semantic-sb.el working.el semanticdb.el document.el \
|
|
|
|
document-vars.el sformat.el semantic-chart.el semantic-util-modes.el \
|
|
|
|
semantic-analyze.el semantic-ia.el semantic-cb.el semantic-ia-sb.el
|
|
|
|
# XXX cd ${WRKSRC}; ${MAKE} -V senator_LISP
|
|
|
|
SRCS+= senator.el
|
|
|
|
|
|
|
|
# XXX cd ${WRKSRC}; ${MAKE} -V init_LISP
|
|
|
|
AUXFILES= semantic-load.el
|
|
|
|
# XXX cd ${WRKSRC}; ${MAKE} -V aux_AUX
|
|
|
|
AUXFILES+= c.bnf make.bnf java.bnf scheme.bnf
|
2001-06-08 23:03:05 +02:00
|
|
|
|
2006-03-20 06:34:27 +01:00
|
|
|
INSTALLATION_DIRS= ${EMACS_INFOPREFIX}
|
2005-06-16 08:57:37 +02:00
|
|
|
|
2008-10-13 10:07:02 +02:00
|
|
|
EMACS_BUILDLINK=# defined
|
|
|
|
|
2001-06-08 23:03:05 +02:00
|
|
|
do-install:
|
2008-03-03 18:45:33 +01:00
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${EMACS_LISPPREFIX}/semantic
|
2001-06-08 23:03:05 +02:00
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${SRCS} ${SRCS:.el=.elc} \
|
2008-03-03 18:45:33 +01:00
|
|
|
${DESTDIR}${EMACS_LISPPREFIX}/semantic
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${AUXFILES} \
|
|
|
|
${DESTDIR}${EMACS_LISPPREFIX}/semantic
|
2006-06-17 21:27:04 +02:00
|
|
|
set -e; \
|
2006-03-20 06:34:27 +01:00
|
|
|
cd ${WRKSRC}; for f in semantic.info semantic.info-[0-9]*; do \
|
|
|
|
${TEST} ! -f "$$f" || \
|
2008-03-03 18:45:33 +01:00
|
|
|
${INSTALL_DATA} "$$f" ${DESTDIR}${EMACS_INFOPREFIX}; \
|
2006-03-20 06:34:27 +01:00
|
|
|
done
|
2001-06-08 23:03:05 +02:00
|
|
|
|
2008-10-11 11:31:54 +02:00
|
|
|
.include "../../editors/emacs/modules.mk"
|
2007-10-29 13:56:30 +01:00
|
|
|
|
|
|
|
.include "../../editors/speedbar/buildlink3.mk"
|
|
|
|
.include "../../lang/eieio/buildlink3.mk"
|
2001-06-08 23:03:05 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|