aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/canna-server/Makefile
blob: ebe78885f8c74b86d7b83d1670dd1c8bd22089ee (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
# Created by: hrs
# $FreeBSD$

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

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

LICENSE=    MIT
LICENSE_FILE=   ${WRKSRC}/COPYRIGHT

LIB_DEPENDS=    libcanna.so:${PORTSDIR}/japanese/canna-lib

USES=       imake tar:bzip2
USE_RC_SUBR=    canna
INSTALL_TARGET= instserver instclient
PORTDOCS=   canna.bib canna.sty Imakefile README.jp Makefile \
        intern lisp man

post-install:
    @cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \
        ${MAKEFILE} ${MAKE_ARGS} install.man
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
    cd ${WRKSRC}/doc && ${CP} -R ${PORTDOCS} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>