aboutsummaryrefslogtreecommitdiff
path: root/japanese/canna-lib/Makefile
blob: c352ed792faec4d6aa8c91784fae3f0135269fe3 (plain) (blame)
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
36
37
38
39
40
41
# New ports collection makefile for:	canna-lib
# Date created:		7 September 2008
# Whom:			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

USE_BZIP2=	yes
USE_GCC=	any
USE_IMAKE=	yes
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

post-configure:
	@cd ${CONFIGURE_WRKSRC} && ${SETENV} ${MAKE_ENV} ${XMKMF}

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

.include <bsd.port.mk>