freebsd-ports/japanese/eterm/Makefile

37 lines
1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: eterm
# Date created: 11th December 1998
# Whom: MANTANI Nobutaka <nobutaka@nobutaka.com>
#
1999-08-25 07:28:01 +02:00
# $FreeBSD$
#
CATEGORIES= japanese
MASTERDIR= ${.CURDIR}/../../x11/eterm
MAINTAINER= nobutaka@nobutaka.com
EXTRA_PATCHES= ${.CURDIR}/files/extra-patch-configure.in \
${.CURDIR}/files/extra-patch-src:command.c \
${.CURDIR}/files/extra-patch-src:feature.h
USE_AUTOCONF= yes
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= Eterm auto chooser 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"