openbsd-ports/x11/eterm/Makefile
brad 84a90360d6 - remove USE_LIBTOOL, Eterm comes with its own libtool
- add missing CONFIGURE_ARGS
- use better filenames for the existing patches
- enable inter-library dependencies in libtool
2000-07-03 06:08:51 +00:00

50 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.10 2000/07/03 06:08:51 brad Exp $
PKGNAME= eterm-0.8.10
DISTNAME= Eterm-0.8.10
CATEGORIES= x11
NEED_VERSION= 1.310
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= eterm
HOMEPAGE= http://eterm.sourceforge.net/
LIB_DEPENDS= Imlib.19::graphics/imlib
MAINTAINER= halogen@nol.net
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
USE_GMAKE= Yes
SEPARATE_BUILD= Flavored
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static
FLAVORS= kanji
FLAVOR?=
.if ${FLAVOR:L:Mkanji}
CFLAGS+= -DKANJI
CATEGORIES+= japanese
.endif
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