summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--editors/mode-info/Makefile15
-rw-r--r--editors/mode-info/distinfo2
-rw-r--r--editors/mode-info/pkg-plist3
3 files changed, 17 insertions, 3 deletions
diff --git a/editors/mode-info/Makefile b/editors/mode-info/Makefile
index 9af84ae..4c28abb 100644
--- a/editors/mode-info/Makefile
+++ b/editors/mode-info/Makefile
@@ -6,8 +6,8 @@
#
PORTNAME= mode-info
-PORTVERSION= 0.1.3
-CATEGORIES= editors elisp
+PORTVERSION= 0.1.4
+CATEGORIES= elisp
MASTER_SITES= http://namazu.org/~tsuchiya/elisp/
MAINTAINER= yoichi@FreeBSD.org
@@ -15,6 +15,7 @@ MAINTAINER= yoichi@FreeBSD.org
MI_INDEX+= mi-emacs.idx
MI_WITH_ELISP?= yes
MI_ELISP_LANG?= en
+MI_WITH_MAKE?= yes
.if (${MI_WITH_ELISP} == "yes")
.if (${MI_ELISP_LANG} == "en")
@@ -32,6 +33,15 @@ PLIST_SUB+= MI_WITH_ELISP=""
PLIST_SUB+= MI_WITH_ELISP="@comment "
.endif
+.if (${MI_WITH_MAKE} == "yes")
+BUILD_DEPENDS+= ${LOCALBASE}/info/make.info:${PORTSDIR}/devel/gmake
+RUN_DEPENDS+= ${LOCALBASE}/info/make.info:${PORTSDIR}/devel/gmake
+MI_INDEX+= mi-make.idx
+PLIST_SUB+= MI_WITH_MAKE=""
+.else
+PLIST_SUB+= MI_WITH_MAKE="@comment "
+.endif
+
EMACS_PORT_NAME?= emacs21
EMACS_NO_RUN_DEPENDS= yes
LISPDIR?= ${PREFIX}/${EMACS_SITE_LISPDIR}/${PORTNAME}
@@ -47,6 +57,7 @@ post-configure:
.elif (${MI_ELISP_LANG} == "ja")
${ECHO_CMD} "(setq mode-info-elisp-titles (list \"elisp-ja\"))" >> ${WRKSRC}/elisp-comp
.endif
+ ${ECHO_CMD} "(setq mode-info-make-titles (list \"make\"))" >> ${WRKSRC}/elisp-comp
post-install:
.for i in ${MI_INDEX}
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/mode-info/
diff --git a/editors/mode-info/distinfo b/editors/mode-info/distinfo
index e442428..fb93d696 100644
--- a/editors/mode-info/distinfo
+++ b/editors/mode-info/distinfo
@@ -1 +1 @@
-MD5 (mode-info-0.1.3.tar.gz) = 114c3447e9af3a0003ca2fa06c3b06a0
+MD5 (mode-info-0.1.4.tar.gz) = e3d24f1ee2d5dc764818e81449a0474e
diff --git a/editors/mode-info/pkg-plist b/editors/mode-info/pkg-plist
index 6d274de..e30788b 100644
--- a/editors/mode-info/pkg-plist
+++ b/editors/mode-info/pkg-plist
@@ -14,6 +14,8 @@
%%EMACS_VERSION_SITE_LISPDIR%%/mode-info/mi-index.elc
%%EMACS_VERSION_SITE_LISPDIR%%/mode-info/mi-libc.el
%%EMACS_VERSION_SITE_LISPDIR%%/mode-info/mi-libc.elc
+%%EMACS_VERSION_SITE_LISPDIR%%/mode-info/mi-make.el
+%%EMACS_VERSION_SITE_LISPDIR%%/mode-info/mi-make.elc
%%EMACS_VERSION_SITE_LISPDIR%%/mode-info/mi-octave.el
%%EMACS_VERSION_SITE_LISPDIR%%/mode-info/mi-octave.elc
%%EMACS_VERSION_SITE_LISPDIR%%/mode-info/mi-perl.el
@@ -28,6 +30,7 @@
%%EMACS_VERSION_SITE_LISPDIR%%/mode-info/mode-info.elc
%%EMACS_VERSION_SITE_LISPDIR%%/mode-info/mi-emacs.idx
%%MI_WITH_ELISP%%%%EMACS_VERSION_SITE_LISPDIR%%/mode-info/mi-elisp.idx
+%%MI_WITH_MAKE%%%%EMACS_VERSION_SITE_LISPDIR%%/mode-info/mi-make.idx
@dirrm %%EMACS_VERSION_SITE_LISPDIR%%/mode-info
%%PORTDOCS%%share/doc/mode-info/ChangeLog
%%PORTDOCS%%share/doc/mode-info/README
OpenPOWER on IntegriCloud