diff options
author | pgollucci <pgollucci@FreeBSD.org> | 2009-12-18 07:19:31 +0800 |
---|---|---|
committer | pgollucci <pgollucci@FreeBSD.org> | 2009-12-18 07:19:31 +0800 |
commit | 5c293fab16fc430d59614cae73eb596160688388 (patch) | |
tree | 924b9d465ef23bc509a0c656ffa2aca0370954ff /japanese | |
parent | 6c5fa98632d5d08db11062a76e4b5acdfa055d4a (diff) | |
download | freebsd-ports-gnome-5c293fab16fc430d59614cae73eb596160688388.tar.gz freebsd-ports-gnome-5c293fab16fc430d59614cae73eb596160688388.tar.zst freebsd-ports-gnome-5c293fab16fc430d59614cae73eb596160688388.zip |
- USE_RC_SUBR != yes
PR: ports/136840
Approved by: maintainer timeout (freebsd@next-generation.org; > 5 months)
Submitted by: myself (pgollucci@)
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/multiskkserv/Makefile | 15 | ||||
-rw-r--r-- | japanese/multiskkserv/files/multiskkserv.sh | 30 | ||||
-rw-r--r-- | japanese/multiskkserv/pkg-plist | 1 |
3 files changed, 2 insertions, 44 deletions
diff --git a/japanese/multiskkserv/Makefile b/japanese/multiskkserv/Makefile index 7bd124431d5a..d7c50cf67e65 100644 --- a/japanese/multiskkserv/Makefile +++ b/japanese/multiskkserv/Makefile @@ -7,6 +7,7 @@ PORTNAME= multiskkserv PORTVERSION= 0.20020201 +PORTREVISION= 1 CATEGORIES= japanese MASTER_SITES= http://www3.big.or.jp/~sian/linux/products/ DISTNAME= ${PORTNAME}-${PORTVERSION:S/0.//g} @@ -23,25 +24,13 @@ SKKDIR?= share/skk SKKJISYO_TYPE?= L WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/0.//g} -USE_RC_SUBR= yes +USE_RC_SUBR= ${PORTNAME} GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-cdb=`cd ${PORTSDIR}/databases/cdb; ${MAKE} -V WRKSRC` -post-extract: - ${CP} ${FILESDIR}/multiskkserv.sh ${WRKDIR}/multiskkserv.sh - -post-patch: - @${REINPLACE_CMD} \ - -e 's,%%PREFIX%%,${PREFIX},g' \ - -e 's,%%RC_SUBR%%,${RC_SUBR},g' \ - -e 's,%%SKKDIR%%,${SKKDIR},g' \ - -e 's,%%SKKJISYO_TYPE%%,${SKKJISYO_TYPE},g' \ - ${WRKDIR}/multiskkserv.sh - do-install: @${INSTALL_PROGRAM} ${WRKSRC}/src/multiskkserv ${PREFIX}/sbin @${INSTALL_PROGRAM} ${WRKSRC}/src/multiskkserv-ctl ${PREFIX}/sbin @${INSTALL_PROGRAM} ${WRKSRC}/tools/skkdic-p2cdb ${PREFIX}/bin - @${INSTALL_SCRIPT} ${WRKDIR}/multiskkserv.sh ${PREFIX}/etc/rc.d/ .include <bsd.port.mk> diff --git a/japanese/multiskkserv/files/multiskkserv.sh b/japanese/multiskkserv/files/multiskkserv.sh index fa430dbb2239..e69de29bb2d1 100644 --- a/japanese/multiskkserv/files/multiskkserv.sh +++ b/japanese/multiskkserv/files/multiskkserv.sh @@ -1,30 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -# PROVIDE: multiskkserv -# REQUIRE: LOGIN - -# -# Add the following lines to /etc/rc.conf to enable multiskkserv: -# -#multiskkserv_enable="YES" -# -# See `%%PREFIX%%/sbin/multiskkserv -h` for flags -# - -. %%RC_SUBR%% - -name=multiskkserv -rcvar=`set_rcvar` - -command=%%PREFIX%%/sbin/multiskkserv - -# set defaults - -multiskkserv_enable=${multiskkserv_enable:-"NO"} -multiskkserv_flags=${multiskkserv_flags:-"%%PREFIX%%/%%SKKDIR%%/SKK-JISYO.%%SKKJISYO_TYPE%%.cdb &"} - -load_rc_config ${name} -run_rc_command "$1" diff --git a/japanese/multiskkserv/pkg-plist b/japanese/multiskkserv/pkg-plist index 13e2c74211ef..2b60351943ff 100644 --- a/japanese/multiskkserv/pkg-plist +++ b/japanese/multiskkserv/pkg-plist @@ -1,4 +1,3 @@ sbin/multiskkserv sbin/multiskkserv-ctl bin/skkdic-p2cdb -etc/rc.d/multiskkserv.sh |