mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
60d1a83c2a
- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
55 lines
1.5 KiB
Makefile
55 lines
1.5 KiB
Makefile
# Created by: Kimura Fuyuki <fuyuki@hadaly.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= m17n-lib
|
|
PORTVERSION= 1.6.4
|
|
PORTREVISION= 6
|
|
CATEGORIES= devel textproc
|
|
MASTER_SITES= SAVANNAH/m17n
|
|
|
|
MAINTAINER= nikola.lecic@anthesphoria.net
|
|
COMMENT= Library for the multilingual text handling
|
|
|
|
BUILD_DEPENDS= bison:${PORTSDIR}/devel/bison \
|
|
m17n-db>=1.6.4:${PORTSDIR}/devel/m17n-db
|
|
LIB_DEPENDS= libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \
|
|
libfreetype.so:${PORTSDIR}/print/freetype2 \
|
|
libfribidi.so:${PORTSDIR}/converters/fribidi \
|
|
libgd.so:${PORTSDIR}/graphics/gd \
|
|
libotf.so:${PORTSDIR}/print/libotf
|
|
RUN_DEPENDS= m17n-db>=1.6.4:${PORTSDIR}/devel/m17n-db
|
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
USES= libtool pkgconfig
|
|
USE_XORG= ice sm x11 xaw xft xt
|
|
USE_GNOME= libxml2
|
|
USE_AUTOTOOLS= autoconf
|
|
USE_LDCONFIG= yes
|
|
INSTALL_TARGET= install-strip
|
|
|
|
CONFIGURE_ARGS= --disable-nls
|
|
|
|
OPTIONS_DEFINE= ANTHY ISPELL THAI
|
|
|
|
ANTHY_DESC= Kana-Kanji conversion support via Anthy
|
|
ISPELL_DESC= Spell checking support via Ispell
|
|
THAI_DESC= Thai language support via libThai
|
|
|
|
ANTHY_LIB_DEPENDS= libanthy.so:${PORTSDIR}/japanese/anthy
|
|
ANTHY_CONFIGURE_OFF+= --without-anthy
|
|
|
|
ISPELL_BUILD_DEPENDS= ispell:${PORTSDIR}/textproc/aspell-ispell
|
|
ISPELL_RUN_DEPENDS= ispell:${PORTSDIR}/textproc/aspell-ispell
|
|
ISPELL_CONFIGURE_OFF= HAVE_ISPELL=no
|
|
|
|
THAI_LIB_DEPENDS= libthai.so:${PORTSDIR}/devel/libthai
|
|
THAI_CONFIGURE_OFF= --without-libthai
|
|
|
|
post-patch:
|
|
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
's|$${libdir}/pkgconfig|$${prefix}/libdata/pkgconfig|g ; \
|
|
s|-ldl||g'
|
|
|
|
.include <bsd.port.mk>
|