diff options
author | jmmv <jmmv@pkgsrc.org> | 2003-07-29 22:08:28 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2003-07-29 22:08:28 +0000 |
commit | 7d7d16056f0d43a72b08513950f364faf95d4672 (patch) | |
tree | f307095a037c8c28ec3c681e769a116df601e385 /inputmethod | |
parent | fe9c9a02959816726d88ff254a66cf102082347b (diff) | |
download | pkgsrc-7d7d16056f0d43a72b08513950f364faf95d4672.tar.gz |
Convert to bsd.pkg.install.mk to handle the rc.d script. MESSAGE is removed
as the default install template provides the right standard information (or
can be extended in a common way if needed ;). Bump PKGREVISION to 2.
Diffstat (limited to 'inputmethod')
-rw-r--r-- | inputmethod/skkserv/MESSAGE | 6 | ||||
-rw-r--r-- | inputmethod/skkserv/Makefile | 17 | ||||
-rw-r--r-- | inputmethod/skkserv/files/skkserv.sh | 4 |
3 files changed, 11 insertions, 16 deletions
diff --git a/inputmethod/skkserv/MESSAGE b/inputmethod/skkserv/MESSAGE deleted file mode 100644 index dfc9e96437d..00000000000 --- a/inputmethod/skkserv/MESSAGE +++ /dev/null @@ -1,6 +0,0 @@ -=========================================================================== -$NetBSD: MESSAGE,v 1.2 2002/09/24 12:30:21 wiz Exp $ - -Please add ${PREFIX}/etc/rc.d/skkserv to /etc/rc.local. - -=========================================================================== diff --git a/inputmethod/skkserv/Makefile b/inputmethod/skkserv/Makefile index dbb9087ca85..eb3a8a2cdc8 100644 --- a/inputmethod/skkserv/Makefile +++ b/inputmethod/skkserv/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.3 2003/07/17 21:43:50 grant Exp $ +# $NetBSD: Makefile,v 1.4 2003/07/29 22:08:28 jmmv Exp $ DISTNAME= skk9.6 PKGNAME= skkserv-3.9.4 -PKGREVISION= 1 +PKGREVISION= 2 WRKSRC= ${WRKDIR}/skk-9.6 CATEGORIES= japanese inputmethod MASTER_SITES= ftp://skk.kuis.kyoto-u.ac.jp/skk/9.6/ @@ -15,12 +15,15 @@ MAINTAINER= tech-pkg@NetBSD.org HOMEPAGE= http://skk.kuis.kyoto-u.ac.jp/ COMMENT= Dictionary server for Simple Kana-Kanji conversion programs +USE_BUILDLINK2= YES +USE_PKGINSTALL= YES + BUILD_DEFS+= USE_INET6 DIST_SUBDIR= skk GNU_CONFIGURE= YES -INSTALL_FILE= ${WRKDIR}/INSTALL +INSTALL_EXTRA_TMPL+= ${.CURDIR}/INSTALL .include "../../mk/bsd.prefs.mk" @@ -40,10 +43,9 @@ MAKE_ENV= SKKUID=${SKKSERV_UID} SKKGID=${SKKSERV_GID} # tmp for building dictionary. ~16MB required. mfs would be much faster. TMPDIR?= ${WRKDIR} +RCD_SCRIPTS= skkserv + post-build: - ${SED} -e 's#@PREFIX@#${PREFIX}#g' <${FILESDIR}/skkserv.sh \ - >${WRKDIR}/skkserv.sh - ${SED} -e 's#@PREFIX@#${PREFIX}#g' <${PKGDIR}/INSTALL >${INSTALL_FILE} : : Merging dictionaries.... : @@ -52,12 +54,11 @@ post-build: ${WRKSRC}/jisyo-tools/skkdic-sort >${WRKDIR}/SKK-JISYO.L post-install: - ${INSTALL_SCRIPT} ${WRKDIR}/skkserv.sh ${PREFIX}/etc/rc.d/skkserv + ${INSTALL_SCRIPT} ${WRKDIR}/skkserv ${PREFIX}/etc/rc.d/skkserv ${INSTALL_DATA_DIR} ${PREFIX}/share/skk ${INSTALL_DATA} ${WRKDIR}/SKK-JISYO.L ${PREFIX}/share/skk/SKK-JISYO.L ${INSTALL_DATA} ${WRKSRC}/skkserv/README ${PREFIX}/share/skk/README.skkserv ${INSTALL_DATA} ${WRKSRC}/jisyo-tools/README.1st ${PREFIX}/share/skk/README.1st.jisyo-tools ${INSTALL_DATA} ${WRKSRC}/jisyo-tools/README ${PREFIX}/share/skk/README.jisyo-tools - ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL .include "../../mk/bsd.pkg.mk" diff --git a/inputmethod/skkserv/files/skkserv.sh b/inputmethod/skkserv/files/skkserv.sh index cbc95674cfd..59d74b6ff94 100644 --- a/inputmethod/skkserv/files/skkserv.sh +++ b/inputmethod/skkserv/files/skkserv.sh @@ -1,6 +1,6 @@ -#!/bin/sh +#!@RCD_SCRIPTS_SHELL@ # -# $NetBSD: skkserv.sh,v 1.1.1.1 2002/05/31 12:59:58 seb Exp $ +# $NetBSD: skkserv.sh,v 1.2 2003/07/29 22:08:29 jmmv Exp $ # # PROVIDE: skkserv # REQUIRE: DAEMON |