openbsd-ports/x11/eterm/Makefile
kevlo ef91df2aeb - Update the MASTER_SITES
- Remove FAKE=Yes
- GNU_CONFIGURE -> CONFIGURE_STYLE
- Add @comment to PLIST
2000-06-15 07:21:35 +00:00

48 lines
1014 B
Makefile

# $OpenBSD: Makefile,v 1.8 2000/06/15 07:21:35 kevlo Exp $
PKGNAME= eterm-0.8.10
DISTNAME= Eterm-0.8.10
CATEGORIES= x11
NEED_VERSION= 1.301
MASTER_SITES= ftp://eterm.sourceforge.net/pub/eterm/ \
ftp://ftp.eterm.org/pub/eterm/
MAINTAINER= halogen@nol.net
FLAVORS=kanji
FLAVOR?=
.if ${FLAVOR:L:Mkanji}
CFLAGS+=-DKANJI
CATEGORIES+=japanese
.endif
CONFIGURE_STYLE=gnu
USE_GMAKE= Yes
USE_LIBTOOL= Yes
SEPARATE_BUILD= Flavored
LIB_DEPENDS= Imlib.19::graphics/imlib
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
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>
# XXX Tweak PKGNAME
.if ${FLAVOR:L:Mkanji}
PKGNAME:=ja-${PKGNAME:S/-kanji//}
PKG_ARGS+=-C 'eterm-*'
.else
PKG_ARGS+=-C 'ja-eterm-*'
.endif