summaryrefslogtreecommitdiffstats
path: root/japanese/canna-lib/Makefile
blob: f0bf485af14f79e9227e11d7c4f67716f456a25a (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
36
37
38
39
40
41
42
# 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

# XXX: USE_IMAKE implies USE_XLIB which is not needed for this port
BUILD_DEPENDS=	imake:${X_IMAKE_PORT}

USE_BZIP2=	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>
OpenPOWER on IntegriCloud