2008-02-04 05:11:27 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.25 2008/02/04 10:11:27 sthen Exp $
|
2000-02-09 03:21:36 -05:00
|
|
|
|
2007-09-15 16:04:18 -04:00
|
|
|
COMMENT= color X11 terminal emulator with transparency support
|
|
|
|
COMMENT-kanji= color japanese terminal emulator with transparency support
|
2005-12-25 16:14:26 -05:00
|
|
|
|
2007-11-18 07:55:58 -05:00
|
|
|
V= 0.9.4
|
|
|
|
DISTNAME= Eterm-$V
|
2008-02-04 05:11:27 -05:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
PKGNAME= eterm-$Vp0
|
|
|
|
FULLPKGNAME-kanji= ja-eterm-$Vp0
|
2007-11-18 07:55:58 -05:00
|
|
|
SHARED_LIBS += Eterm 1.0 # .0.0
|
2000-02-09 03:21:36 -05:00
|
|
|
CATEGORIES= x11
|
|
|
|
|
2007-11-18 07:55:58 -05:00
|
|
|
HOMEPAGE= http://www.eterm.org/
|
2000-04-02 13:13:06 -04:00
|
|
|
|
2003-10-08 13:13:14 -04:00
|
|
|
# GPL with some custom licenses
|
2007-09-15 16:04:18 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= may not sell
|
2000-07-03 01:53:57 -04:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
2007-09-15 16:04:18 -04:00
|
|
|
PERMIT_DISTFILES_CDROM= may not sell
|
2000-07-03 01:53:57 -04:00
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2000-04-02 13:13:06 -04:00
|
|
|
|
2007-11-18 07:55:58 -05:00
|
|
|
MASTER_SITES= ${HOMEPAGE}/download/ \
|
|
|
|
${MASTER_SITE_SOURCEFORGE:=eterm/}
|
|
|
|
|
|
|
|
WANTLIB= ICE Imlib2 SM X11 XRes Xau Xdmcp Xext Xmu Xt c freetype \
|
|
|
|
m util z
|
|
|
|
|
2008-02-04 05:11:27 -05:00
|
|
|
LIB_DEPENDS= ast::devel/libast \
|
|
|
|
ttf::print/freetype
|
2001-07-09 13:10:49 -04:00
|
|
|
|
2007-11-18 07:55:58 -05:00
|
|
|
USE_X11= Yes
|
2005-12-25 16:14:26 -05:00
|
|
|
USE_LIBTOOL= Yes
|
2007-11-18 07:55:58 -05:00
|
|
|
|
2006-01-11 20:05:22 -05:00
|
|
|
CONFIGURE_STYLE=gnu
|
2007-11-18 07:55:58 -05:00
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
|
|
--enable-trans \
|
|
|
|
--enable-utmp \
|
|
|
|
--enable-xim \
|
|
|
|
--with-theme-update \
|
|
|
|
--with-backspace=bs \
|
|
|
|
--without-terminfo
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2000-03-12 22:21:05 -05:00
|
|
|
|
2000-07-03 01:53:57 -04:00
|
|
|
FLAVORS= kanji
|
|
|
|
FLAVOR?=
|
2000-03-12 22:21:05 -05:00
|
|
|
|
2000-07-03 01:53:57 -04:00
|
|
|
.if ${FLAVOR:L:Mkanji}
|
|
|
|
CATEGORIES+= japanese
|
2007-11-18 07:55:58 -05:00
|
|
|
CONFIGURE_ARGS+=--enable-multi-charset=kanji
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--enable-multi-charset
|
2000-07-03 01:53:57 -04:00
|
|
|
.endif
|
2000-02-23 22:37:27 -05:00
|
|
|
|
2007-11-18 07:55:58 -05:00
|
|
|
pre-extract:
|
|
|
|
ln -sf ${WRKSRC} ${WRKDIR}/Eterm
|
|
|
|
|
2000-02-09 03:21:36 -05: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>
|