aboutsummaryrefslogtreecommitdiff
path: root/japanese/aterm/Makefile
blob: 19873e69b3df5b8044c9f2ae0074567120ede2ee (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
# New ports collection makefile for:	ja-aterm
# Date Created:		17 Mar 2001
# Whom:			Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
#
# $FreeBSD$
#

PORTNAME=	aterm
PORTVERSION=	0.4.2
PORTREVISION=	7
CATEGORIES+=	japanese x11
MASTER_SITES=	SF

PATCH_SITES=	http://www.jaist.ac.jp/~amatsus/linux/src/xfree86/aterm/
PATCHFILES=	${DISTNAME}-xim.patch.gz \
		${DISTNAME}-compoundtext.patch.gz \
		${DISTNAME}-linespace.patch.gz

PATCH_DIST_STRIP=	-p1

MAINTAINER=	yoichi@FreeBSD.org
COMMENT=	A color vt102 terminal emulator with transparency support

LIB_DEPENDS=	jpeg.11:${PORTSDIR}/graphics/jpeg \
		png.6:${PORTSDIR}/graphics/png

USE_AUTOTOOLS=	autoconf:262:env
USE_XORG=	xpm xmu
GNU_CONFIGURE=	yes
CONFIGURE_ARGS?= \
		--enable-transparency --enable-background-image \
		--enable-fading --enable-utmp --enable-wtmp \
		--enable-kanji --enable-linespace --enable-xim

.include <bsd.port.pre.mk>

.if ${OSVERSION} > 900007
BROKEN=		fails to build with new utmpx
.endif

.if defined(WITH_MENUBAR)
CONFIGURE_ARGS+= --enable-menubar
.endif

MAN1=		aterm.1

pre-configure:
	@(cd ${WRKSRC}; \
	${AUTOCONF} --include=autoconf autoconf/configure.in > configure)

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/src/aterm ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/doc/aterm.1 ${PREFIX}/man/man1/
	@${CHMOD} 4711 ${PREFIX}/bin/aterm

.include <bsd.port.post.mk>