openbsd-ports/x11/eterm/Makefile

66 lines
1.6 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.27 2009/05/13 17:45:55 naddy Exp $
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
V= 0.9.4
DISTNAME= Eterm-$V
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
PKGNAME= eterm-$Vp0 # also see below
SHARED_LIBS += Eterm 1.0 # .0.0
CATEGORIES= x11
HOMEPAGE= http://www.eterm.org/
2000-04-02 13:13:06 -04:00
# GPL with some custom licenses
PERMIT_PACKAGE_CDROM= may not sell
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= may not sell
PERMIT_DISTFILES_FTP= Yes
2000-04-02 13:13:06 -04: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
LIB_DEPENDS= ast::devel/libast \
ttf::print/freetype
2001-07-09 13:10:49 -04:00
USE_X11= Yes
2005-12-25 16:14:26 -05:00
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
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"
FLAVORS= kanji
FLAVOR?=
.if ${FLAVOR:L:Mkanji}
FULLPKGNAME= ja-eterm-$V
CATEGORIES+= japanese
CONFIGURE_ARGS+=--enable-multi-charset=kanji
2009-05-08 06:25:37 -04:00
MODULES+= converters/libiconv
.else
CONFIGURE_ARGS+=--enable-multi-charset
.endif
2000-02-23 22:37:27 -05:00
pre-extract:
ln -sf ${WRKSRC} ${WRKDIR}/Eterm
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>