freebsd-ports/x11/eterm/Makefile
Satoshi Asami 2f204c7727 Rewrite the rule that was copying patch-kanji into ${PATCHDIR} when
KANJI is defined (bad eterm, no cookie ;) to use EXTRA_PATCHES=
extra-patch-kanji.

(Actually, I'm not sure why KANJI is even needed when there exists a
japanese/eterm which appears to be a newer version, but anyway.)
2000-10-07 22:58:08 +00:00

50 lines
1.3 KiB
Makefile

# New ports collection makefile for: eterm
# Date created: 24 November 1997
# Whom: Murray Stokely <murray@freebsd.org>
#
# $FreeBSD$
#
PORTNAME= eterm
PORTVERSION= 0.8.10
CATEGORIES= x11
MASTER_SITES= ftp://eterm.sourceforge.net/pub/eterm/ \
ftp://ftp.enlightenment.org/pub/enlightenment/Eterm/ \
ftp://ftp.themes.org/pub/enlightenment/eterm/ \
ftp://ftp.dti.ad.jp/pub/X/Eterm/ \
http://download.sourceforge.net/eterm/ \
http://eterm.sourceforge.net/download/
DISTNAME= Eterm-${PORTVERSION}
MAINTAINER= murray@FreeBSD.org
USE_GMAKE= yes
USE_X_PREFIX= yes
USE_IMLIB= yes
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
MAN1= Eterm.1
.if ( defined(KANJI) )
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-kanji
.endif
# this is needed to remove leftover files from applied patches.
pre-install:
.for i in Eterm emacs irc mutt tn3270 trans
@${RM} -f ${WRKSRC}/themes/$i/*.orig
.endfor
post-install:
@${CHMOD} 4711 ${PREFIX}/bin/Eterm
.ifndef NOPORTDOCS
@${MKDIR} ${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
.endif
.include <bsd.port.mk>