freebsd-ports/japanese/uim-anthy/Makefile

55 lines
1.2 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: ja-uim-anthy
# Date created: 31 August 2003
# Whom: MANTANI Nobutaka <nobutaka@FreeBSD.org>
#
# $FreeBSD$
#
PORTREVISION= 1
CATEGORIES= japanese
2006-07-10 04:06:29 +02:00
.if defined(WITHOUT_X11)
PKGNAMESUFFIX= -anthy-nox11
.else
PKGNAMESUFFIX= -anthy
2006-07-10 04:06:29 +02:00
.endif
COMMENT= Uim plugin using Anthy input method
2006-07-10 04:06:29 +02:00
.if !defined(WITHOUT_X11)
USE_GNOME= gtk20
2006-07-10 04:06:29 +02:00
.endif
LIB_DEPENDS= anthy.1:${PORTSDIR}/japanese/anthy \
2008-05-11 15:09:45 +02:00
uim.6:${PORTSDIR}/textproc/uim
MASTERDIR= ${.CURDIR}/../../textproc/uim
PKGDIR= ${.CURDIR}
2006-07-10 04:06:29 +02:00
CONFIGURE_ARGS= --with-anthy
.if !defined(WITHOUT_X11)
2008-05-11 15:09:45 +02:00
CONFIGURE_ARGS+= --with-gtk2 --enable-dict
2006-07-10 04:06:29 +02:00
.endif
UIM_SLAVE= yes
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-uim_Makefile.in \
${PATCHDIR}/extra-patch-helper_Makefile.in
do-build:
(cd ${WRKSRC}/uim && ${GMAKE} libuim-anthy.la)
2006-07-10 04:06:29 +02:00
.if !defined(WITHOUT_X11)
2008-05-11 15:09:45 +02:00
(cd ${WRKSRC}/helper && ${GMAKE} uim-dict-gtk)
2006-07-10 04:06:29 +02:00
.endif
do-install:
(cd ${WRKSRC}/uim && \
${GMAKE} uim_plugin_LTLIBRARIES=libuim-anthy.la install-uim_pluginLTLIBRARIES)
2006-07-10 04:06:29 +02:00
.if !defined(WITHOUT_X11)
(cd ${WRKSRC}/helper && ${GMAKE} bin_PROGRAMS=uim-dict-gtk install-binPROGRAMS install-uim_dict_uiDATA)
2006-07-10 04:06:29 +02:00
.endif
post-install:
2006-07-10 04:06:29 +02:00
${LOCALBASE}/bin/uim-module-manager --register anthy
.include "${MASTERDIR}/Makefile"