[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / inputmethod / skkserv

File: [cvs.NetBSD.org] / pkgsrc / inputmethod / skkserv / Makefile (download)

Revision 1.22, Sat Jul 17 08:57:18 2010 UTC (9 years, 7 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3
Changes since 1.21: +11 -20 lines

Now, newer SKK-JISYO is installed as skk-jisyo and jisyo-tools are skktools.
So let to only install skkserv by this package.
Based on Ryo ONODERA's pkgsrc-wip/skkserv.

Bump PKGREVISION.

# $NetBSD: Makefile,v 1.22 2010/07/17 08:57:18 obache Exp $

DISTNAME=	skk9.6
PKGNAME=	skkserv-3.9.4
PKGREVISION=	7
CATEGORIES=	japanese inputmethod
MASTER_SITES=	ftp://skk.kuis.kyoto-u.ac.jp/skk/9.6/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://skk.kuis.kyoto-u.ac.jp/
COMMENT=	Dictionary server for Simple Kana-Kanji conversion programs

DEPENDS=	skk-jisyo>=200708:../../inputmethod/skk-jisyo

PKG_DESTDIR_SUPPORT=	user-destdir

WRKSRC=			${WRKDIR}/skk-9.6

BUILD_DEFS+=	IPV6_READY

DIST_SUBDIR=	skk

GNU_CONFIGURE=	YES
BUILD_DIRS=	skkserv

.include "../../mk/bsd.prefs.mk"

.if (${OPSYS} == "SunOS")
.if exists(/usr/ccs)
SKKSERV_UID?=	60002		# noaccess
SKKSERV_GID?=	60002		# noaccess
.else
SKKSERV_UID?=	65534		# nobody
SKKSERV_GID?=	65534		# nogroup
.endif
.endif
SKKSERV_UID?=	32767		# nobody
SKKSERV_GID?=	32766		# nogroup
MAKE_ENV+=	SKKUID=${SKKSERV_UID:Q} SKKGID=${SKKSERV_GID:Q}

RCD_SCRIPTS=	skkserv

SUBST_CLASSES+=		ver-num
SUBST_STAGE.ver-num=	pre-configure
SUBST_MESSAGE.ver-num=	Fixing version number and its comments.
SUBST_FILES.ver-num=	skkserv/skkserv.c
SUBST_SED.ver-num=	-e 's,"${PKGVERSION_NOREV} ","${PKGVERSION} (binary search) ",g'

INSTALL_MAKE_FLAGS+=	prefix=${DESTDIR}${PREFIX}

INSTALLATION_DIRS=	share/skk

post-install:
	${INSTALL_DATA} ${WRKSRC}/skkserv/README ${DESTDIR}${PREFIX}/share/skk/README.skkserv

.include "../../mk/bsd.pkg.mk"