aboutsummaryrefslogtreecommitdiff
path: root/misc/ewipe/Makefile
blob: d3f0372877e5df0b3faff72082f242096691b18c (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
# New ports collection makefile for:	ewipe
# Version required:	1.0.0
# Date created:		17 October 1997
# Whom:			itojun@itojun.org
#
# $Id: Makefile,v 1.14 1998/08/07 23:56:40 asami Exp $
#

DISTNAME=	ewipe-1.0.0
CATEGORIES=	misc tk42
MASTER_SITES=	http://www.jnet-jp.to/~sekisita/ewipe/ \
		http://freefall.freebsd.org/~itojun/distfiles/

MAINTAINER=	itojun@itojun.org

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

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>