freebsd-ports/japanese/eterm/Makefile
Ade Lovett 3f651573ad Whoa there, boy, that's a mighty big commit y'all have there...
Begin autotools sanitization sequence by requiring ports to explicitly
specify which version of {libtool,autoconf,automake} they need, erasing
the concept of a "system default".

For ports-in-waiting:

	USE_LIBTOOL=YES		->	USE_LIBTOOL_VER=13
	USE_AUTOCONF=YES	->	USE_AUTOCONF_VER=213
	USE_AUTOMAKE=YES	->	USE_AUTOMAKE_VER=14

Ports attempting to use the old style system after June 1st 2004 will be
sorely disappointed.
2004-03-14 06:17:56 +00:00

39 lines
1.2 KiB
Makefile

# New ports collection makefile for: eterm
# Date created: 11th December 1998
# Whom: MANTANI Nobutaka <nobutaka@nobutaka.com>
#
# $FreeBSD$
#
CATEGORIES= japanese
MASTERDIR= ${.CURDIR}/../../x11/eterm
MAINTAINER= nobutaka@FreeBSD.org
COMMENT= X11 terminal emulator based on rxvt/xterm that supports Japanese
EXTRA_PATCHES= ${.CURDIR}/files/extra-patch-configure.in \
${.CURDIR}/files/extra-patch-src:command.c \
${.CURDIR}/files/extra-patch-src:defaultfont.h \
${.CURDIR}/files/extra-patch-src:feature.h \
${.CURDIR}/files/extra-patch-src:options.c
USE_AUTOCONF_VER= 213
CONFIGURE_ARGS= --enable-trans --enable-utmp \
--enable-xim --with-theme-update \
--with-backspace=bs --without-terminfo \
--enable-multi-charset=kanji
PKGDIR= ${.CURDIR}
PLIST= ${MASTERDIR}/pkg-plist
THEMES= Escreen Eterm auto trans
post-configure:
for theme in ${THEMES} ; do \
${CP} ${WRKSRC}/themes/$$theme/theme.cfg ${WRKSRC}/themes/$$theme/theme.cfg.bak ; \
${SED} -e "s,term_name xterm-color,term_name kterm," < ${WRKSRC}/themes/$$theme/theme.cfg.bak > ${WRKSRC}/themes/$$theme/theme.cfg ; \
${RM} ${WRKSRC}/themes/$$theme/theme.cfg.bak ; \
done
.include "${MASTERDIR}/Makefile"