summaryrefslogtreecommitdiff
path: root/japanese/navi2ch-emacs20/Makefile
diff options
context:
space:
mode:
authorFUJISHIMA Satsuki <sf@FreeBSD.org>2001-11-24 17:11:53 +0000
committerFUJISHIMA Satsuki <sf@FreeBSD.org>2001-11-24 17:11:53 +0000
commit978b892f2748439d080f46f5a2c0d3802cf96325 (patch)
treecba20f37625d80972b1f6e8634396ccbf040d774 /japanese/navi2ch-emacs20/Makefile
parentRename to scli and Update to 0.2.4 (diff)
Catch up message for monafonts which is also suitable with FSF emacs-21.
Submitted by: nobutaka Forgotten by: sf Inspired from: http://pc.2ch.net/test/read.cgi/unix/999166513/801 Install lisps into EMACS_VERSION_SITE_LISPDIR rather than EMACS_LIBDIR for FSF emacsen.
Notes
Notes: svn path=/head/; revision=50483
Diffstat (limited to 'japanese/navi2ch-emacs20/Makefile')
-rw-r--r--japanese/navi2ch-emacs20/Makefile15
1 files changed, 10 insertions, 5 deletions
diff --git a/japanese/navi2ch-emacs20/Makefile b/japanese/navi2ch-emacs20/Makefile
index f884d8b6d16f..adb457c998cf 100644
--- a/japanese/navi2ch-emacs20/Makefile
+++ b/japanese/navi2ch-emacs20/Makefile
@@ -7,6 +7,7 @@
PORTNAME= navi2ch
PORTVERSION= 011030
+PORTREVISION?= 1
CATEGORIES= japanese www elisp
MASTER_SITES= http://www.geocities.co.jp/SiliconValley-Oakland/7673/lisp/
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
@@ -16,13 +17,17 @@ MAINTAINER= sf@FreeBSD.org
EMACS_PORT_NAME?= emacs20
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-lispdir=${PREFIX}/${EMACS_LIBDIR}/site-lisp/navi2ch
+CONFIGURE_ARGS= --with-lispdir=${PREFIX}/${LISPDIR}/navi2ch
DOCDIR= share/doc/ja/navi2ch
-.if ${EMACS_PORT_NAME} == emacs20
-PLIST_SUB= XEMACS="@comment "
-.elif ${EMACS_PORT_NAME} == xemacs21-mule
-PLIST_SUB= XEMACS=""
+PLIST_SUB= LISPDIR=${LISPDIR}
+
+.if ${EMACS_PORT_NAME} == xemacs21-mule
+LISPDIR= ${EMACS_SITE_LISPDIR}
+PLIST_SUB+= FSF="@comment "
+.else
+LISPDIR= ${EMACS_VERSION_SITE_LISPDIR}
+PLIST_SUB+= FSF=""
.endif
post-install: