diff options
author | asami <asami@FreeBSD.org> | 1997-03-04 09:36:23 +0000 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1997-03-04 09:36:23 +0000 |
commit | 8d31e85aa14f70ada6b0d0bab5bd192a0623e4e1 (patch) | |
tree | 518e7765619c31b15b19ed0600b88e852c443a10 /japanese/skk | |
parent | 137a5f3b52860f80627c0f7f47050449f144a311 (diff) | |
download | FreeBSD-ports-8d31e85aa14f70ada6b0d0bab5bd192a0623e4e1.zip FreeBSD-ports-8d31e85aa14f70ada6b0d0bab5bd192a0623e4e1.tar.gz |
Updated patch from PR submitter (add skkserv.sh back, etc.). This should
*really* clos PR ports/2761.
Submitted by: Makoto MATSUSHITA <matusita@ics.es.osaka-u.ac.jp>
Diffstat (limited to 'japanese/skk')
-rw-r--r-- | japanese/skk/Makefile | 21 | ||||
-rw-r--r-- | japanese/skk/pkg-plist | 1 |
2 files changed, 20 insertions, 2 deletions
diff --git a/japanese/skk/Makefile b/japanese/skk/Makefile index 63bb5a1..82e2cf3 100644 --- a/japanese/skk/Makefile +++ b/japanese/skk/Makefile @@ -1,9 +1,9 @@ # New ports collection makefile for: skk # Version required: 9.6 -# Date created: 13 Feb 1997 +# Date created: 04 Mar 1997 # Whom: Makoto Matsushita <matusita@jp.freebsd.org> # -# $Id: Makefile,v 1.3 1996/11/11 10:12:51 max Exp $ +# $Id: Makefile,v 1.4 1997/03/04 09:17:05 asami Exp $ # DISTNAME= skk9.6 @@ -13,6 +13,9 @@ MASTER_SITES= ftp://skk.kuis.kyoto-u.ac.jp/skk/9.6/ MAINTAINER= matusita@jp.freebsd.org +# Don't RUN_DEPENDS on mule because we don't know which version the +# user would want. We can't omit the BUILD_DEPENDS because it needs +# to byte-compile .el files. BUILD_DEPENDS= mule:${PORTSDIR}/editors/mule WRKSRC= ${WRKDIR}/skk-9.6 @@ -20,4 +23,18 @@ GNU_CONFIGURE= yes MAKE_FLAGS+= EMACS=mule +STARTUP_SCRIPT= ${PREFIX}/etc/rc.d/skkserv.sh + +post-install: + @if [ ! -f ${STARTUP_SCRIPT} ]; then \ + echo "Installing ${STARTUP_SCRIPT} file."; \ + echo "#!/bin/sh" > ${STARTUP_SCRIPT}; \ + echo "if [ -f ${PREFIX}/libexec/skkserv ]; then" >> \ + ${STARTUP_SCRIPT}; \ + echo " echo -n ' skkserv'; ${PREFIX}/libexec/skkserv" >> \ + ${STARTUP_SCRIPT}; \ + echo "fi" >> ${STARTUP_SCRIPT}; \ + chmod 755 ${STARTUP_SCRIPT}; \ + fi + .include <bsd.port.mk> diff --git a/japanese/skk/pkg-plist b/japanese/skk/pkg-plist index aa800f5..06b5a6c 100644 --- a/japanese/skk/pkg-plist +++ b/japanese/skk/pkg-plist @@ -48,4 +48,5 @@ share/emacs/site-lisp/string.elc share/skk/SKK.tut share/skk/SKK.tut.E share/skk/SKK-JISYO.L +etc/rc.d/skkserv.sh @dirrm share/skk |