summaryrefslogtreecommitdiff
path: root/editors/e93/Makefile
blob: cea63ac3efa84ec24601e95c42ee0c9b25ae8999 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# New ports collection makefile for:	e93
# Date created:		21 June 1995
# Whom:			Satoshi Asami (asami)
#
# $FreeBSD$
#

PORTNAME=	e93
PORTVERSION=	1.3.2
CATEGORIES=	editors tcl82 tk82
MASTER_SITES=	${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR=	editors
DISTNAME=	${PORTNAME}-1.3r2X
EXTRACT_SUFX=	.tgz

MAINTAINER=	jeremy@external.org
COMMENT=	A nifty editor based on Tcl/Tk

LIB_DEPENDS=	tcl82.1:${PORTSDIR}/lang/tcl82 \
		tk82.1:${PORTSDIR}/x11-toolkits/tk82

WRKSRC=		${WRKDIR}/${PORTNAME}
USE_X_PREFIX=	yes

do-install:
	${MKDIR} ${PREFIX}/share/doc/e93 ${PREFIX}/lib/e93lib/images \
		${PREFIX}/lib/e93lib/highlightschemes \
		${PREFIX}/lib/e93lib/modules \
		${PREFIX}/lib/e93lib/syntaxmaps
	(cd ${WRKSRC}; \
	 ${INSTALL_PROGRAM} e93 ${PREFIX}/bin; \
	 ${INSTALL_SCRIPT} e93r ${PREFIX}/bin; \
	 ${INSTALL_DATA} LICENSE.TXT ${PREFIX}/share/doc/e93; \
	 ${INSTALL_DATA} README.e93 ${PREFIX}/share/doc/e93; \
	 ${INSTALL_DATA} README.regex ${PREFIX}/share/doc/e93; \
	 ${INSTALL_DATA} README.syntaxmaps ${PREFIX}/share/doc/e93; \
	)
	(cd ${WRKSRC}/e93lib; \
	 ${INSTALL_DATA} e93rc.tcl ${PREFIX}/lib/e93lib; \
	 ${INSTALL_DATA} images/about.ppm ${PREFIX}/lib/e93lib/images; \
	 ${INSTALL_DATA} highlightschemes/schemes.tcl ${PREFIX}/lib/e93lib/highlightschemes; \
	 ${INSTALL_DATA} modules/c.tcl ${PREFIX}/lib/e93lib/modules; \
	 ${INSTALL_DATA} syntaxmaps/unknown.tcl ${PREFIX}/lib/e93lib/syntaxmaps; \
	 ${INSTALL_DATA} syntaxmaps/asm.tcl ${PREFIX}/lib/e93lib/syntaxmaps; \
	 ${INSTALL_DATA} syntaxmaps/html.tcl ${PREFIX}/lib/e93lib/syntaxmaps; \
	 ${INSTALL_DATA} syntaxmaps/java.tcl ${PREFIX}/lib/e93lib/syntaxmaps; \
	 ${INSTALL_DATA} syntaxmaps/tcl.tcl ${PREFIX}/lib/e93lib/syntaxmaps; \
	 ${INSTALL_DATA} syntaxmaps/vhdl.tcl ${PREFIX}/lib/e93lib/syntaxmaps; \
	 ${INSTALL_DATA} syntaxmaps/text.tcl ${PREFIX}/lib/e93lib/syntaxmaps; \
	 ${INSTALL_DATA} syntaxmaps/c.tcl ${PREFIX}/lib/e93lib/syntaxmaps; \
	)

.include <bsd.port.mk>