summaryrefslogtreecommitdiff
path: root/chinese/eterm/Makefile
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2003-02-15 00:16:17 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2003-02-15 00:16:17 +0000
commit6cb01e4bf5478ceecf43fbbbb35419df4b39bc79 (patch)
treef6e2e96ca1a6d6abb097a3ff3f0def4e5b3f07e6 /chinese/eterm/Makefile
parentI'm now living in Memphis, TN. (diff)
Update to 0.9.1.
PR: 48254 Submitted by: Yu-Shun Wang <yushunwa@isi.edu>
Notes
Notes: svn path=/head/; revision=75544
Diffstat (limited to 'chinese/eterm/Makefile')
-rw-r--r--chinese/eterm/Makefile56
1 files changed, 16 insertions, 40 deletions
diff --git a/chinese/eterm/Makefile b/chinese/eterm/Makefile
index 4a7272e8a07a..95feb6de498e 100644
--- a/chinese/eterm/Makefile
+++ b/chinese/eterm/Makefile
@@ -3,47 +3,23 @@
# Whom: Michael C. Wu
# $FreeBSD$
-PORTNAME= eterm
-PORTVERSION= 0.9
CATEGORIES= chinese x11
-MASTER_SITES= ftp://ftp.enlightenment.org/pub/enlightenment/Eterm/ \
- ftp://ftp.dti.ad.jp/pub/X/enlightenment/Eterm/ \
- ftp://ftp.kddlabs.co.jp/.10/X11/window_manager/enlightenment/Eterm/ \
- ftp://ftp.sogang.ac.kr/.c/tools/X11/Enlightenment/Eterm/
-DISTNAME= Eterm-${PORTVERSION}
+
+MASTERDIR= ${.CURDIR}/../../x11/eterm
MAINTAINER= ports@freebsd.org
-BUILD_DEPENDS= man2html:${PORTSDIR}/textproc/man2html
-RUN_DEPENDS= ${X11BASE}/lib/X11/fonts/local/kc15f.pcf.gz:${PORTSDIR}/chinese/kcfonts
-
-USE_GMAKE= yes
-USE_X_PREFIX= yes
-USE_GNOMENG= yes
-USE_GNOME= imlib
-USE_LIBTOOL= yes
-CONFIGURE_ARGS= --enable-trans=imlib --enable-multi-charset=big5 \
- --enable-xim --with-theme-update
-
-CONFIGURE_ENV= LIBS="-lxpg4"
-
-MAN1= Eterm.1
-INSTALLS_SHLIB= yes
-
-pre-patch:
- @${PERL} -pi -e 's,<malloc.h>,<stdlib.h>,' \
- ${WRKSRC}/libmej/debug.c ${WRKSRC}/libmej/strings.c
-
-post-install:
- @${CHMOD} 4711 ${PREFIX}/bin/Eterm
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/Eterm
- @${INSTALL_DATA} ${WRKSRC}/ReleaseNotes ${PREFIX}/share/doc/Eterm
- @${INSTALL_DATA} ${WRKSRC}/doc/Eterm.1.html ${PREFIX}/share/doc/Eterm
- @${INSTALL_DATA} ${WRKSRC}/doc/Eterm_reference.html ${PREFIX}/share/doc/Eterm
- @${INSTALL_DATA} ${WRKSRC}/doc/Eterm.tcap ${PREFIX}/share/doc/Eterm
- @${INSTALL_DATA} ${WRKSRC}/doc/Eterm.ti ${PREFIX}/share/doc/Eterm
-.endif
- @${CAT} ${PKGMESSAGE}
-
-.include <bsd.port.mk>
+EXTRA_PATCHES= ${.CURDIR}/files/extra-patch-configure.in
+
+USE_AUTOCONF= yes
+CONFIGURE_ARGS= --enable-trans --enable-utmp \
+ --enable-xim --with-theme-update \
+ --with-backspace=bs --without-terminfo \
+ --enable-multi-charset=big5
+
+PKGDIR= ${.CURDIR}
+PLIST= ${MASTERDIR}/pkg-plist
+
+RUN_DEPENDS= ${X11BASE}/lib/X11/fonts/local/kc15f.pcf.gz:${PORTSDIR}/chinese/kcfonts
+
+.include "${MASTERDIR}/Makefile"