summaryrefslogtreecommitdiffstats
path: root/japanese/canna-lib/Makefile
blob: 92c5ed0754fa9c63b61f7f88f7a5ff860f2b4dd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Created by: hrs
# $FreeBSD$

PORTNAME=	canna
PORTVERSION=	3.7p3
PORTREVISION=	8
CATEGORIES=	japanese
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_JP}
MASTER_SITE_SUBDIR=	canna/9565/
PKGNAMESUFFIX=	-lib
DISTNAME=	Canna${PORTVERSION:S/.//g}

MAINTAINER=	hrs@FreeBSD.org
COMMENT=	A Kana-to-Kanji conversion system, library part

USES=		imake:notall
USE_BZIP2=	yes
USE_GCC=	any
USE_LDCONFIG=	yes
NO_INSTALL_MANPAGES=yes
MAKE_JOBS_UNSAFE=	yes
PLIST_SUB=	METAFILE="${METAFILE}" \
		MTREE_CMD="${MTREE_CMD}"

ALL_TARGET=	canna
INSTALL_TARGET=	instsgs

METAFILE=	${DATADIR_REL}/canna-lib-dic.meta

NO_STAGE=	yes
post-install:
	${MTREE_CMD} -cdink uname,gname,mode,nochange \
		-p ${DATADIR}/dic > ${PREFIX}/${METAFILE}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud