aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/prime/Makefile
blob: c0e392a001a549c1a6e48eba832da60e673b226f (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
# New ports collection makefile for:    ja-prime
# Date created:             6 Jun 2003
# Whom:                 Gen Otsuji<otsuji@users.sourceforge.jp>
#
# $FreeBSD$
#

PORTNAME=   prime
DISTVERSION=    1.0.0.1
PORTREVISION=   1
CATEGORIES= japanese
MASTER_SITES=   http://prime.sourceforge.jp/src/

MAINTAINER= otsuji@users.sourceforge.jp
COMMENT=    PRedictive Input Method Editor(PRIME)

LIB_DEPENDS=    sary.10:${PORTSDIR}/textproc/sary
RUN_DEPENDS=    ${RUBY_SITEARCHLIBDIR}/sary.so:${PORTSDIR}/textproc/ruby-sary \
        ${RUBY_ARCHLIBDIR}/iconv.so:${PORTSDIR}/converters/ruby-iconv \
        ${LOCALBASE}/share/emacs/site-lisp/init-suikyo.el:${PORTSDIR}/japanese/suikyo \
        ${LOCALBASE}/share/prime/dict/prime-dict:${PORTSDIR}/japanese/prime-dict

USE_RUBY=       yes
RUBY_WITH_PTHREAD=  yes

USE_GNOME=      pkgconfig
GNU_CONFIGURE=      yes
CONFIGURE_ARGS=     --with-rubydir=${RUBY_SITELIBDIR}
USE_AUTOTOOLS=  automake:19 autoconf:259

PLIST_SUB=      X11BASE=${X11BASE}

pre-configure:
    @(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${ACLOCAL})

post-install:
    cd ${WRKSRC}; ${MAKE} install-etc
.if !defined(NOPORTDOCS)
    cd ${WRKSRC}/doc; ${MAKE} ${INSTALL_TARGET}
.endif

.include <bsd.port.mk>