aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/gauche-kakasi/Makefile
blob: 1b4e7520b21c25d1c4b3276890836d6f8f8a89c3 (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
42
43
44
# New ports collection makefile for:    Gauche-kakasi
# Date created:             12 April 2003
# Whom:                 Kimura Fuyuki <fuyuki@hadaly.org>
#
# $FreeBSD$
#

PORTNAME=   kakasi
PORTVERSION=    0.0
CATEGORIES= japanese textproc scheme
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gauche
DISTNAME=   Gauche-${PORTNAME}-${PORTVERSION}
EXTRACT_SUFX=   .tgz

MAINTAINER= fuyuki@nigredo.org
COMMENT=    KAKASI binding for Gauche

BUILD_DEPENDS=  gosh:${PORTSDIR}/lang/gauche
RUN_DEPENDS=    ${BUILD_DEPENDS}
LIB_DEPENDS=    kakasi.3:${PORTSDIR}/japanese/kakasi

WRKSRC=     ${WRKDIR}/Gauche-${PORTNAME}
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-kakasi=${PREFIX}
DOCSDIR=    ${PREFIX}/share/doc/gauche/${PORTNAME}
PLIST_SUB=  VERSION="`gauche-config -V`" \
        TARGET="${CONFIGURE_TARGET}"

pre-install:
    ${MKDIR} `gauche-config --sitelibdir`
    ${MKDIR} `gauche-config --sitearchdir`

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README.eucjp ${DOCSDIR}
.endif

.include <bsd.port.pre.mk>

PKGNAMEPREFIX:= ${PKGNAMEPREFIX}gauche-

.include <bsd.port.post.mk>