2013-03-09 01:52:53 +01:00
|
|
|
# Created by: MANTANI Nobutaka <nobutaka@nobutaka.com>
|
2001-12-12 10:04:14 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= mlterm
|
2016-05-28 17:43:35 +02:00
|
|
|
PORTVERSION= 3.7.0
|
2001-12-12 10:04:14 +01:00
|
|
|
CATEGORIES= x11
|
2010-07-18 07:33:10 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/01release/${PORTNAME}-${PORTVERSION}
|
2001-12-12 10:04:14 +01:00
|
|
|
|
|
|
|
MAINTAINER= nobutaka@FreeBSD.org
|
2003-02-22 15:25:38 +01:00
|
|
|
COMMENT= Multilingual X11 terminal emulator
|
2001-12-12 10:04:14 +01:00
|
|
|
|
2016-05-28 17:43:35 +02:00
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
|
2014-04-24 21:27:33 +02:00
|
|
|
USES= gettext libtool perl5 pkgconfig
|
|
|
|
USE_XORG= sm xft
|
|
|
|
USE_GNOME= gtk20 vte
|
|
|
|
USE_LDCONFIG= yes
|
2013-09-16 18:32:07 +02:00
|
|
|
USE_PERL5= build
|
2014-04-24 21:27:33 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2014-06-16 14:13:36 +02:00
|
|
|
CONFIGURE_ARGS= --with-gui=x11 --with-imagelib=gdk-pixbuf2 --enable-utmp \
|
2012-06-02 15:12:06 +02:00
|
|
|
--enable-optimize-redrawing \
|
2015-03-24 14:43:16 +01:00
|
|
|
--disable-iiimf --with-gtk=2.0
|
2015-02-09 16:18:54 +01:00
|
|
|
EXTERNAL_TOOLS= mlclient,mlconfig,mlterm-menu,mlcc,w3mmlconfig,mlimgloader
|
2014-04-24 21:27:33 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib -lintl
|
2010-07-18 07:33:10 +02:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2012-10-25 14:34:06 +02:00
|
|
|
|
2015-02-09 16:18:54 +01:00
|
|
|
OPTIONS_DEFINE= CAIRO DOCS FRIBIDI IBUS M17NLIB REGIS SCIM SIXEL UIM
|
2015-09-25 13:50:24 +02:00
|
|
|
OPTIONS_SUB= yes
|
2014-07-23 19:12:13 +02:00
|
|
|
CAIRO_DESC= Use Cairo for type engine (experimental)
|
|
|
|
FRIBIDI_DESC= Use Fribidi for BiDi rendering
|
|
|
|
IBUS_DESC= IBUS support (experimental)
|
|
|
|
M17NLIB_DESC= m17n library support (experimental)
|
2015-02-09 16:18:54 +01:00
|
|
|
REGIS_DESC= ReGIS graphics support
|
2014-07-23 19:12:13 +02:00
|
|
|
SCIM_DESC= SCIM support (experimental)
|
|
|
|
SIXEL_DESC= Sixel graphics support
|
|
|
|
UIM_DESC= uim support (experimental)
|
2004-11-14 16:48:52 +01:00
|
|
|
|
2015-09-25 13:50:24 +02:00
|
|
|
FRIBIDI_CONFIGURE_ENABLE= fribidi
|
2016-04-01 16:33:55 +02:00
|
|
|
FRIBIDI_LIB_DEPENDS= libfribidi.so:converters/fribidi
|
2003-12-08 15:46:05 +01:00
|
|
|
|
2015-09-25 13:50:24 +02:00
|
|
|
UIM_CONFIGURE_ENABLE= uim
|
2016-04-01 16:33:55 +02:00
|
|
|
UIM_LIB_DEPENDS= libuim.so:textproc/uim
|
2004-11-14 16:48:52 +01:00
|
|
|
|
2015-09-25 13:50:24 +02:00
|
|
|
M17NLIB_CONFIGURE_ENABLE= m17nlib
|
2016-04-01 16:33:55 +02:00
|
|
|
M17NLIB_LIB_DEPENDS= libm17n.so:devel/m17n-lib
|
2004-11-14 16:48:52 +01:00
|
|
|
|
2015-09-25 13:50:24 +02:00
|
|
|
SCIM_CONFIGURE_ENABLE= scim
|
2016-04-01 16:33:55 +02:00
|
|
|
SCIM_LIB_DEPENDS= libscim-1.0.so:textproc/scim
|
2004-11-14 16:48:52 +01:00
|
|
|
|
2015-09-25 13:50:24 +02:00
|
|
|
IBUS_CONFIGURE_ENABLE= ibus
|
2016-04-01 16:33:55 +02:00
|
|
|
IBUS_LIB_DEPENDS= libibus-1.0.so:textproc/ibus
|
2006-05-21 12:33:59 +02:00
|
|
|
|
2016-04-01 16:33:55 +02:00
|
|
|
CAIRO_LIB_DEPENDS= libcairo.so:graphics/cairo
|
2015-09-25 13:50:24 +02:00
|
|
|
CAIRO_CONFIGURE_ON= --with-type-engines="xcore,xft,cairo"
|
|
|
|
CAIRO_CONFIGURE_OFF= --with-type-engines="xcore,xft"
|
2011-04-02 04:28:33 +02:00
|
|
|
|
2015-09-25 13:50:24 +02:00
|
|
|
SIXEL_CONFIGURE_ENABLE= sixel
|
2011-07-30 06:28:40 +02:00
|
|
|
|
2016-04-01 16:33:55 +02:00
|
|
|
REGIS_LIB_DEPENDS= libSDL.so:devel/sdl12 \
|
|
|
|
libSDL_ttf.so:graphics/sdl_ttf \
|
|
|
|
libfontconfig.so:x11-fonts/fontconfig
|
2015-09-25 13:50:24 +02:00
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
2012-09-06 16:42:44 +02:00
|
|
|
|
2015-02-09 16:18:54 +01:00
|
|
|
.if ${PORT_OPTIONS:MREGIS}
|
|
|
|
EXTERNAL_TOOLS+=,registobmp
|
|
|
|
.endif
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+=--with-tools="${EXTERNAL_TOOLS}"
|
|
|
|
|
2002-02-23 14:45:12 +01:00
|
|
|
post-configure:
|
2006-02-23 11:40:44 +01:00
|
|
|
@${REINPLACE_CMD} -e "s,@CGI_BIN@,${PREFIX}/libexec/w3mmlconfig," \
|
2004-12-02 16:53:16 +01:00
|
|
|
${WRKSRC}/tool/w3mmlconfig/mlconfig.cgi
|
2010-03-10 22:35:54 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|kik_utmp_bsd|kik_utmp_utmper|' \
|
|
|
|
${WRKSRC}/kiklib/src/Makefile
|
2002-02-23 14:45:12 +01:00
|
|
|
|
2002-01-29 14:27:13 +01:00
|
|
|
post-install:
|
2014-04-24 21:27:33 +02:00
|
|
|
(cd ${WRKSRC}/tool/w3mmlconfig && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \
|
|
|
|
${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
|
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/ja/README.ja ${STAGEDIR}${DOCSDIR}
|
2002-01-29 14:27:13 +01:00
|
|
|
|
2014-04-24 21:27:33 +02:00
|
|
|
.include <bsd.port.mk>
|