summaryrefslogtreecommitdiff
path: root/misc/ewipe/Makefile
blob: 0f4c03927f74c9725445460d4d655f82810b4b45 (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
# New ports collection makefile for:	ewipe
# Version required:	1.0.0
# Date created:		17 October 1997
# Whom:			itojun@itojun.org
#
# $Id: Makefile,v 1.11 1998/02/21 22:37:55 fenner Exp $
#

DISTNAME=	ewipe-1.0.0
CATEGORIES=	misc tk42
MASTER_SITES=	http://www.jnet-jp.to/~sekisita/ewipe/

MAINTAINER=	itojun@itojun.org

#RUN_DEPENDS=	wish4.2:${PORTSDIR}/x11/tk42

NO_CONFIGURE=	yes

TCLLIBS=	definefont.tcl edittable.tcl setpointer.tcl viewer.tcl tclIndex
DOCS=		README Changes dot.ewipe
SAMPLES=	a1.gif a2.gif a3.gif a4.gif blue1.gif sample.ewp test.ewp \
		tutorial.ewp

KANJI?=		no

do-build:
.if ${KANJI} != yes
	for i in edittable.tcl ewipe viewer.tcl; do\
		ed ${WRKSRC}/$$i < ${SCRIPTDIR}/nokanji.ed;\
	done
.endif

do-install:
	${MKDIR} ${PREFIX}/lib/ewipe
	${INSTALL_SCRIPT} ${WRKSRC}/ewipe ${PREFIX}/bin
	for i in ${TCLLIBS}; do\
		${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/lib/ewipe;\
	done
.if !defined(NOPORTDOCS)
	${MKDIR} ${PREFIX}/share/doc/ewipe
	${MKDIR} ${PREFIX}/share/doc/ewipe/sample
	for i in ${DOCS}; do\
		${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/share/doc/ewipe;\
	done
	for i in ${SAMPLES}; do\
		${INSTALL_DATA} ${WRKSRC}/sample/$$i \
			${PREFIX}/share/doc/ewipe/sample;\
	done
.endif

.include <bsd.port.mk>