blob: 46fd6721538f4665d0fa91a4a9dabf0a0b62374e (
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# New ports collection makefile for: mlterm
# Date created: 9 December 2001
# Whom: MANTANI Nobutaka <nobutaka@nobutaka.com>
#
# $FreeBSD$
#
PORTNAME= mlterm
PORTVERSION= 2.8.0
PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= nobutaka@FreeBSD.org
COMMENT= Multilingual X11 terminal emulator
USE_X_PREFIX= yes
USE_GNOME= gdkpixbuf
USE_LIBTOOL_VER=13
USE_REINPLACE= yes
CONFIGURE_ARGS= --with-imagelib=gdk-pixbuf1 --enable-utmp
.if defined(WITH_FRIBIDI)
CONFIGURE_ARGS= --enable-fribidi
LIB_DEPENDS= fribidi.0:${PORTSDIR}/converters/fribidi
.endif
INSTALLS_SHLIB= yes
MAN1= mlterm.1 mlclient.1
.include <bsd.port.pre.mk>
.if ${XFREE86_VERSION} == 3
PKGNAMESUFFIX= -noaa
.else
CONFIGURE_ARGS+= --enable-anti-alias
LIB_DEPENDS+= Xft.2:${PORTSDIR}/x11-fonts/Xft
.endif
pre-everything::
.if !defined(WITH_FRIBIDI)
@${ECHO_MSG}
@${ECHO_MSG} "You may enable BiDi support by using the"
@${ECHO_MSG} "WITH_FRIBIDI option."
@${ECHO_MSG}
.endif
post-configure:
${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX}," \
-e "s,%%PERL%%,${PERL}," \
${WRKSRC}/tool/w3mmlconfig/Makefile
post-build:
(cd ${WRKSRC}/tool/w3mmlconfig; ${MAKE})
post-install:
(cd ${WRKSRC}/tool/w3mmlconfig; ${MAKE} install)
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/ja/mlterm
${INSTALL_DATA} ${WRKSRC}/doc/ja/README.ja ${PREFIX}/share/doc/ja/mlterm
.endif
.include <bsd.port.post.mk>
|