freebsd-ports/japanese/aterm/Makefile
Akinori MUSHA 3afb40f218 Update to 0.4.2 + Japanese support patch w/ XIM support.
Submitted by:	Yoichi Nakayama <yoichi@eken.phys.nagoya-u.ac.jp> (MAINTAINER)
2001-09-11 15:16:29 +00:00

47 lines
1.2 KiB
Makefile

# 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
CATEGORIES+= japanese x11
MASTER_SITES= http://download.sourceforge.net/aterm/
PATCH_SITES= http://wakaba.com/~tsann/aterm/
PATCHFILES= ${DISTNAME}-ja.patch
PATCH_DIST_STRIP= -p1
MAINTAINER= yoichi@eken.phys.nagoya-u.ac.jp
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
png.5:${PORTSDIR}/graphics/png
BUILD_DEPENDS+= autoconf:${PORTSDIR}/devel/autoconf
USE_X_PREFIX= yes
USE_XPM= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS?= \
--enable-transparency --enable-background-image \
--enable-fading --enable-utmp --enable-wtmp \
--enable-kanji --enable-linespace --enable-xim
.if defined(WITH_MENUBAR)
CONFIGURE_ARGS+= --enable-menubar
.endif
MAN1= aterm.1
pre-configure:
@(cd ${WRKSRC}; \
autoheader --localdir=autoconf autoconf/configure.in > autoconf/config.h.in; \
autoconf --localdir=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.mk>