summaryrefslogtreecommitdiff
path: root/devel/semantic
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-03-20 05:34:27 +0000
committerjlam <jlam@pkgsrc.org>2006-03-20 05:34:27 +0000
commit9e69d02625d726c7a77a9e51bbaf66749d2f7d00 (patch)
treefeea69fea6e36b738578cb33f01011667b48575d /devel/semantic
parent0a3bd63e8ac17e343e9532ee5cf11e2a99b3bed8 (diff)
downloadpkgsrc-9e69d02625d726c7a77a9e51bbaf66749d2f7d00.tar.gz
Replace INFO_DIR with EMACS_INFOPREFIX, which is the correct location for
info files for both emacs and xemacs. Install the info files correctly by handling the case where there may be split info files. List the info files in the PLIST. Use EMACS_MODULES where appropriate to replace the conditional dependency on xemacs-packages. Bump the PKGREVISION.
Diffstat (limited to 'devel/semantic')
-rw-r--r--devel/semantic/Makefile16
-rw-r--r--devel/semantic/PLIST3
2 files changed, 10 insertions, 9 deletions
diff --git a/devel/semantic/Makefile b/devel/semantic/Makefile
index 1c50f614dbb..de36e3f247b 100644
--- a/devel/semantic/Makefile
+++ b/devel/semantic/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.18 2006/02/05 23:08:53 joerg Exp $
+# $NetBSD: Makefile,v 1.19 2006/03/20 05:34:27 jlam Exp $
#
DISTNAME= semantic-1.4.2
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cedet/}
@@ -20,9 +20,7 @@ BUILD_ENV+= EMACS=${EMACS_FLAVOR}
NO_CONFIGURE= yes
USE_TOOLS+= gmake
-
-INFO_FILES= semantic.info
-OTHER_INFO= semantic.info-1 semantic.info-2
+INFO_FILES= # PLIST
MAKE_ENV+= EMACS=${EMACS_FLAVOR:Q}
@@ -43,14 +41,16 @@ AUXFILES= semantic-load.el
# XXX cd ${WRKSRC}; ${MAKE} -V aux_AUX
AUXFILES+= c.bnf make.bnf java.bnf scheme.bnf
-INSTALLATION_DIRS= ${INFO_DIR}
+INSTALLATION_DIRS= ${EMACS_INFOPREFIX}
do-install:
${INSTALL_DATA_DIR} ${EMACS_LISPPREFIX}/semantic
cd ${WRKSRC} && ${INSTALL_DATA} ${SRCS} ${SRCS:.el=.elc} \
${EMACS_LISPPREFIX}/semantic
cd ${WRKSRC} && ${INSTALL_DATA} ${AUXFILES} ${EMACS_LISPPREFIX}/semantic
- cd ${WRKSRC} && ${INSTALL_DATA} ${INFO_FILES} ${OTHER_INFO} \
- ${PREFIX}/${INFO_DIR}
+ cd ${WRKSRC}; for f in semantic.info semantic.info-[0-9]*; do \
+ ${TEST} ! -f "$$f" || \
+ ${INSTALL_DATA} "$$f" ${EMACS_INFOPREFIX}; \
+ done
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/semantic/PLIST b/devel/semantic/PLIST
index fa02f16aecf..42a5a50e747 100644
--- a/devel/semantic/PLIST
+++ b/devel/semantic/PLIST
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.5 2004/02/16 17:55:39 seb Exp $
+@comment $NetBSD: PLIST,v 1.6 2006/03/20 05:34:27 jlam Exp $
+${EMACS_INFOPREFIX}/semantic.info
${EMACS_LISPPREFIX}/semantic/document-vars.el
${EMACS_LISPPREFIX}/semantic/document-vars.elc
${EMACS_LISPPREFIX}/semantic/document.el