1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/japanese/cmigemo-dict/Makefile
Bryan Drewery 5b5a90256d Update USE_GITHUB so it does not require GH_COMMIT.
Using this new scheme allows only setting the _tag_ or _commit hash_ in
GH_TAGNAME and not having to know the hash for a tag.  This scheme will
download a tarball that has a different checksum than before due to a changed
directory name for extraction.

The following MASTER_SITES are provided to retain the old checksum and
directory structure (that require GH_COMMIT):
  GH -> GHL
  GITHUB -> GITHUB_LEGACY

Differential Revision:	https://reviews.freebsd.org/D748
Submitted by:	amdmi3
Reviewed by:	mat, swills, antoine, bdrewery
With hat:	portmgr
2015-03-19 16:44:57 +00:00

34 lines
805 B
Makefile

# Created by: MANTANI Nobutaka <nobutaka@FreeBSD.org>
# $FreeBSD$
CATEGORIES= japanese
MASTER_SITES= GHL \
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"