mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
5a8a687983
Change MASTER_SITES to GitHub. Use nkf to generate dictionaries and data files. PR: ports/193305 Submitted by: katsuyoshi.ohara@gmail.com
34 lines
804 B
Makefile
34 lines
804 B
Makefile
# Created by: MANTANI Nobutaka <nobutaka@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
CATEGORIES= japanese
|
|
MASTER_SITES= GH \
|
|
n ${MASTER_SITE_LOCAL:S/%SUBDIR%\/$/nobutaka\/:skkdic/}
|
|
PKGNAMESUFFIX= -dict
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
|
${SKKDIC_FILE}:skkdic
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= nobutaka@FreeBSD.org
|
|
COMMENT= Dictionary for C/Migemo Japanese incremental search tool
|
|
|
|
LICENSE= GPLv2
|
|
|
|
MASTERDIR= ${.CURDIR}/../../japanese/cmigemo
|
|
PKGDIR= ${.CURDIR}
|
|
|
|
USES= perl5
|
|
USE_PERL5= patch build run
|
|
|
|
ALL_TARGET= gcc-dict
|
|
INSTALL_TARGET= gcc-install-dict
|
|
|
|
SKKDIC_FILE= SKK-JISYO.L-20110813.bz2
|
|
LICENSE_DISTFILES= ${SKKDIC_FILE}
|
|
|
|
post-extract:
|
|
${BZCAT} ${DISTDIR}/${DIST_SUBDIR}/${SKKDIC_FILE} > ${WRKSRC}/dict/SKK-JISYO.L
|
|
${CHMOD} a+x ${WRKSRC}/configure
|
|
|
|
.include "${MASTERDIR}/Makefile"
|