summaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
Diffstat (limited to 'japanese')
-rw-r--r--japanese/skk10-elisp-emacs20/Makefile40
-rw-r--r--japanese/skk10-elisp-emacs20/distinfo2
-rw-r--r--japanese/skk10-elisp-emacs20/pkg-plist10
3 files changed, 34 insertions, 18 deletions
diff --git a/japanese/skk10-elisp-emacs20/Makefile b/japanese/skk10-elisp-emacs20/Makefile
index f5d109aad51e..3e030bcd12a5 100644
--- a/japanese/skk10-elisp-emacs20/Makefile
+++ b/japanese/skk10-elisp-emacs20/Makefile
@@ -14,7 +14,7 @@ DISTNAME= skk${SKK10_VER}
MAINTAINER?= shige@FreeBSD.org
-SKK10_VER= 10.57
+SKK10_VER= 10.59
# This port is a master port.
PORT_CLASS?= master
@@ -26,11 +26,16 @@ EMACS_PORT_NAME= emacs20
.include <bsd.port.pre.mk>
-# dependency: skk-jisyo
-RUN_DEPENDS+= ${LOCALBASE}/${SKKJISYODIR}/${SKKJISYO}:${SKK_MASTERDIR}
+.if defined(EMACS_PORT_NAME)
# dependency: apel
BUILD_DEPENDS+= ${LOCALBASE}/${EMACS_LIBDIR_WITH_VER}/site-lisp/emu/emu.el:${PORTSDIR}/editors/apel-${EMACS_PORT_NAME}
RUN_DEPENDS+= ${LOCALBASE}/${EMACS_LIBDIR_WITH_VER}/site-lisp/emu/emu.el:${PORTSDIR}/editors/apel-${EMACS_PORT_NAME}
+.else
+.BEGIN:
+ @${ECHO} "Error: Bad port."
+ @${ECHO} "You must define EMACS_PORT_NAME."
+ @${FALSE}
+.endif
WRKSRC= ${WRKDIR}/skk-${SKK10_VER}
ALL_TARGET?= elc
@@ -40,6 +45,7 @@ PLIST_SUB= EMACS=${EMACS_CMD} EMACS_LIBDIR=${EMACS_LIBDIR} \
SKK_STARTUPEL=${SKK_STARTUPEL}
# information of skk-jisyo
+WITH_SKKJISYO?= YES
SKKJISYODIR= share/skk
SKK_DOCDIR= share/doc/skk10
SKKJISYO_SIZE?= L
@@ -47,6 +53,11 @@ SKKJISYO?= SKK-JISYO.${SKKJISYO_SIZE}
SKK_MASTERDIR= ${PORTSDIR}/japanese/skk-jisyo
SKK_STARTUPEL= skk-startup.el
+.if (${WITH_SKKJISYO} == "YES")
+# dependency: skk-jisyo
+RUN_DEPENDS+= ${LOCALBASE}/${SKKJISYODIR}/${SKKJISYO}:${SKK_MASTERDIR}
+.endif
+
EXPERIMENTAL_LISPS= experimental/skk-abbrev.el \
experimental/dbm/skk-dbm.el \
experimental/skk-dcomp.el \
@@ -57,6 +68,15 @@ EXPERIMENTAL_LISPS= experimental/skk-abbrev.el \
experimental/tut-code/skk-tutcdef.el \
experimental/tut-code/skk-tutcode.el
+pre-fetch:
+.if (${WITH_SKKJISYO} == "YES")
+ @${ECHO_MSG} "NOTE: You can avoid installing SKK-JISYO by adding"
+ @${ECHO_MSG} " WITH_SKKJISYO=NO"
+ @${ECHO_MSG} "to argument of make."
+ @${ECHO_MSG} "When you want to use skkserv, this option is useful."
+ @${ECHO_MSG} "Without it, SKK-JISYO is installed defaultly."
+.endif
+
# install experimantal lisps [handy optional]
#pre-build:
# @(cd ${WRKSRC} ; \
@@ -70,23 +90,23 @@ EXPERIMENTAL_LISPS= experimental/skk-abbrev.el \
post-install:
@${MAKE} startup-install
- @${MKDIR} ${PREFIX}/${SKK_DOCDIR}
+ @${MKDIR} ${LOCALBASE}/${SKK_DOCDIR}
@(cd ${WRKSRC} ;\
for i in ${EXPERIMENTAL_LISPS} ; do \
- ${INSTALL_DATA} $${i} ${PREFIX}/${SKK_DOCDIR} ;\
+ ${INSTALL_DATA} $${i} ${LOCALBASE}/${SKK_DOCDIR} ;\
done ;\
)
- @install-info ${PREFIX}/info/skk.info ${PREFIX}/info/dir
+ @install-info ${LOCALBASE}/info/skk.info ${LOCALBASE}/info/dir
.if !defined(NOPORTDOCS)
- @${INSTALL_DATA} ${WRKSRC}/READMEs/* ${PREFIX}/${SKK_DOCDIR}
+ @${INSTALL_DATA} ${WRKSRC}/READMEs/* ${LOCALBASE}/${SKK_DOCDIR}
@${INSTALL_DATA} ${WRKSRC}/experimental/GUIDELINE \
- ${PREFIX}/${SKK_DOCDIR}
+ ${LOCALBASE}/${SKK_DOCDIR}
@${INSTALL_DATA} ${WRKSRC}/experimental/dbm/README.dbm \
- ${PREFIX}/${SKK_DOCDIR}
+ ${LOCALBASE}/${SKK_DOCDIR}
.endif
startup-install:
@${INSTALL_DATA} ${FILESDIR}/${SKK_STARTUPEL} \
- ${PREFIX}/${EMACS_LIBDIR}/site-lisp/skk
+ ${LOCALBASE}/${EMACS_LIBDIR}/site-lisp/skk
.include <bsd.port.post.mk>
diff --git a/japanese/skk10-elisp-emacs20/distinfo b/japanese/skk10-elisp-emacs20/distinfo
index 0d05a2a476c3..5d2a2d8ce8b8 100644
--- a/japanese/skk10-elisp-emacs20/distinfo
+++ b/japanese/skk10-elisp-emacs20/distinfo
@@ -1 +1 @@
-MD5 (skk10.57.tar.gz) = b8c3170f35234dfeee8a9332be988eec
+MD5 (skk10.59.tar.gz) = 26d8567180cfc12e0ebf5c4f5f6957ee
diff --git a/japanese/skk10-elisp-emacs20/pkg-plist b/japanese/skk10-elisp-emacs20/pkg-plist
index d503a431aed3..7a81e73f56c3 100644
--- a/japanese/skk10-elisp-emacs20/pkg-plist
+++ b/japanese/skk10-elisp-emacs20/pkg-plist
@@ -36,22 +36,18 @@
%%EMACS_LIBDIR%%/site-lisp/skk/skk-viper.elc
%%EMACS_LIBDIR%%/site-lisp/skk/skk.el
%%EMACS_LIBDIR%%/site-lisp/skk/skk.elc
-%%EMACS_LIBDIR%%/site-lisp/skk/stack-m.el
-%%EMACS_LIBDIR%%/site-lisp/skk/stack-m.elc
%%EMACS_LIBDIR%%/site-lisp/skk/%%SKK_STARTUPEL%%
@dirrm %%EMACS_LIBDIR%%/site-lisp/skk
@unexec install-info --delete %D/info/skk.info %D/info/dir
info/skk.info
-info/skk.info-1
-info/skk.info-2
-info/skk.info-3
-info/skk.info-4
@exec install-info %D/info/skk.info %D/info/dir
%%SKK_JISYODIR%%/SKK.tut
%%SKK_JISYODIR%%/SKK.tut.E
%%SKK_DOCDIR%%/AUTHORS
%%SKK_DOCDIR%%/COPYING
-%%SKK_DOCDIR%%/Contriutors
+%%SKK_DOCDIR%%/Contributors
+%%SKK_DOCDIR%%/CVS_digest
+%%SKK_DOCDIR%%/CVS_on_Windows
%%SKK_DOCDIR%%/GUIDELINE
%%SKK_DOCDIR%%/INSTALL
%%SKK_DOCDIR%%/NEWS