2018-09-09 12:54:52 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.46 2018/09/09 12:54:52 naddy Exp $
|
2000-02-09 08:21:36 +00:00
|
|
|
|
2007-09-15 20:04:18 +00:00
|
|
|
COMMENT= color X11 terminal emulator with transparency support
|
|
|
|
COMMENT-kanji= color japanese terminal emulator with transparency support
|
2005-12-25 21:14:26 +00:00
|
|
|
|
2015-06-25 13:00:58 +00:00
|
|
|
V= 0.9.6
|
2007-11-18 12:55:58 +00:00
|
|
|
DISTNAME= Eterm-$V
|
2008-02-04 10:11:27 +00:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
2012-12-17 18:37:59 +00:00
|
|
|
# also see below
|
|
|
|
PKGNAME= eterm-$V
|
2018-09-09 12:54:52 +00:00
|
|
|
REVISION= 0
|
2015-06-25 13:00:58 +00:00
|
|
|
SHARED_LIBS += Eterm 1.0 # unknown
|
2000-02-09 08:21:36 +00:00
|
|
|
CATEGORIES= x11
|
|
|
|
|
2007-11-18 12:55:58 +00:00
|
|
|
HOMEPAGE= http://www.eterm.org/
|
2000-04-02 17:13:06 +00:00
|
|
|
|
2003-10-08 17:13:14 +00:00
|
|
|
# GPL with some custom licenses
|
2007-09-15 20:04:18 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= may not sell
|
2000-07-03 05:53:57 +00:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
2000-04-02 17:13:06 +00:00
|
|
|
|
2007-11-18 12:55:58 +00:00
|
|
|
MASTER_SITES= ${HOMEPAGE}/download/ \
|
|
|
|
${MASTER_SITE_SOURCEFORGE:=eterm/}
|
|
|
|
|
2016-09-13 19:15:03 +00:00
|
|
|
WANTLIB += ICE Imlib2 SM X11 XRes Xext ast c freetype iconv m ttf util
|
2015-06-25 13:00:58 +00:00
|
|
|
WANTLIB += xcb z
|
2007-11-18 12:55:58 +00:00
|
|
|
|
2016-09-13 19:15:03 +00:00
|
|
|
LIB_DEPENDS= converters/libiconv \
|
|
|
|
devel/libast \
|
2010-11-22 08:36:47 +00:00
|
|
|
print/freetype
|
2001-07-09 17:10:49 +00:00
|
|
|
|
2015-06-25 13:00:58 +00:00
|
|
|
CONFIGURE_STYLE=gnu
|
2016-03-11 20:28:21 +00:00
|
|
|
CONFIGURE_ARGS= --enable-trans \
|
2007-11-18 12:55:58 +00:00
|
|
|
--enable-utmp \
|
|
|
|
--enable-xim \
|
2012-12-17 18:37:59 +00:00
|
|
|
--without-pty-group \
|
2007-11-18 12:55:58 +00:00
|
|
|
--with-theme-update \
|
|
|
|
--with-backspace=bs \
|
|
|
|
--without-terminfo
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2018-09-09 12:54:52 +00:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -liconv" \
|
|
|
|
ac_cv_path_GDB=no
|
2000-03-13 03:21:05 +00:00
|
|
|
|
2000-07-03 05:53:57 +00:00
|
|
|
FLAVORS= kanji
|
|
|
|
FLAVOR?=
|
2000-03-13 03:21:05 +00:00
|
|
|
|
2013-02-09 14:49:50 +00:00
|
|
|
.if ${FLAVOR:Mkanji}
|
2009-09-22 04:42:02 +00:00
|
|
|
FULLPKGNAME= ja-eterm-$V
|
2000-07-03 05:53:57 +00:00
|
|
|
CATEGORIES+= japanese
|
2007-11-18 12:55:58 +00:00
|
|
|
CONFIGURE_ARGS+=--enable-multi-charset=kanji
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--enable-multi-charset
|
2000-07-03 05:53:57 +00:00
|
|
|
.endif
|
2000-02-24 03:37:27 +00:00
|
|
|
|
2000-02-09 08:21:36 +00:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/Eterm
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/ReleaseNotes ${PREFIX}/share/doc/Eterm
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/Eterm.tcap ${PREFIX}/share/doc/Eterm
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/Eterm.ti ${PREFIX}/share/doc/Eterm
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|