openbsd-ports/x11/eterm/Makefile

51 lines
1.0 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.7 2000/04/17 19:57:41 espie Exp $
PKGNAME= eterm-0.8.10
DISTNAME= Eterm-0.8.10
CATEGORIES= x11
2000-04-02 13:13:06 -04:00
NEED_VERSION= 1.247
MASTER_SITES= ftp://eterm.sourceforge.net/pub/eterm/ \
ftp://ftp.eterm.org/pub/Eterm/ \
http://eterm.is.nontoxic.org/download/ \
MAINTAINER= halogen@nol.net
FAKE= Yes
2000-04-02 13:13:06 -04:00
FLAVORS=kanji
FLAVOR?=
.if ${FLAVOR:L:Mkanji}
CFLAGS+=-DKANJI
CATEGORIES+=japanese
.endif
GNU_CONFIGURE= Yes
USE_GMAKE= Yes
USE_LIBTOOL= Yes
2000-04-02 13:13:06 -04:00
SEPARATE_BUILD= Flavored
LIB_DEPENDS= Imlib.19::graphics/imlib
2000-03-05 13:30:21 -05:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2000-02-23 22:37:27 -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}
PKGNAME:=ja-${PKGNAME:S/-kanji//}
PKG_ARGS+=-C 'eterm-*'
.else
PKG_ARGS+=-C 'ja-eterm-*'
2000-04-02 13:13:06 -04:00
.endif