2000-07-03 02:08:51 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2000/07/03 06:08:51 brad Exp $
|
2000-02-09 03:21:36 -05:00
|
|
|
|
|
|
|
PKGNAME= eterm-0.8.10
|
|
|
|
DISTNAME= Eterm-0.8.10
|
|
|
|
CATEGORIES= x11
|
2000-07-03 01:53:57 -04:00
|
|
|
NEED_VERSION= 1.310
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= eterm
|
2000-02-09 03:21:36 -05:00
|
|
|
|
2000-07-03 01:53:57 -04:00
|
|
|
HOMEPAGE= http://eterm.sourceforge.net/
|
2000-02-09 03:21:36 -05:00
|
|
|
|
2000-07-03 01:53:57 -04:00
|
|
|
LIB_DEPENDS= Imlib.19::graphics/imlib
|
2000-04-02 13:13:06 -04:00
|
|
|
|
2000-07-03 01:53:57 -04:00
|
|
|
MAINTAINER= halogen@nol.net
|
2000-04-02 13:13:06 -04:00
|
|
|
|
2000-07-03 01:53:57 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2000-04-02 13:13:06 -04:00
|
|
|
|
2000-07-03 01:53:57 -04:00
|
|
|
USE_GMAKE= Yes
|
2000-04-02 13:13:06 -04:00
|
|
|
SEPARATE_BUILD= Flavored
|
2000-07-03 02:08:51 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
|
|
CONFIGURE_ARGS+= --enable-static
|
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}
|
|
|
|
CFLAGS+= -DKANJI
|
|
|
|
CATEGORIES+= japanese
|
|
|
|
.endif
|
2000-02-23 22:37:27 -05:00
|
|
|
|
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>
|
2000-04-02 13:13:06 -04:00
|
|
|
|
|
|
|
# XXX Tweak PKGNAME
|
|
|
|
.if ${FLAVOR:L:Mkanji}
|
2000-07-03 01:53:57 -04:00
|
|
|
PKGNAME:= ja-${PKGNAME:S/-kanji//}
|
|
|
|
PKG_ARGS+= -C 'eterm-*'
|
2000-04-17 15:57:41 -04:00
|
|
|
.else
|
2000-07-03 01:53:57 -04:00
|
|
|
PKG_ARGS+= -C 'ja-eterm-*'
|
2000-04-02 13:13:06 -04:00
|
|
|
.endif
|