1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00
freebsd-ports/x11/mlterm/Makefile
Eric Anholt 4eb209da7d - Add the X_WINDOW_SYSTEM={xorg,xfree86-4,xfree86-3} variable to bsd.port.mk,
and make XFREE86_VERSION map to it.  XFREE86_VERSION is now deprecated.
- Make xorg the default X_WINDOW_SYSTEM on -current.
- Add several new X_*_PORT variables which point to various pieces of X11 based
  on the setting of X_WINDOW_SYSTEM, and make ports use them.
- Add information to CHANGES about how to handle the transition.

PR:		ports/68763
Approved by:	portmgr (marcus)
Approved by:	re (scottl)
2004-07-23 19:10:32 +00:00

66 lines
1.4 KiB
Makefile

# 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 ${X_WINDOW_SYSTEM:L} == xfree86-3
PKGNAMESUFFIX= -noaa
.else
CONFIGURE_ARGS+= --enable-anti-alias
LIB_DEPENDS+= Xft.2:${PORTSDIR}/x11-fonts/libXft
.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>