summaryrefslogtreecommitdiff
path: root/misc/ewipe/Makefile
blob: 5174770ba9032c4888e760523a22bad8856e07f6 (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
# New ports collection makefile for:	ewipe
# Version required:	1.1.0
# Date created:		17 October 1997
# Whom:			itojun@itojun.org
#
# $Id: Makefile,v 1.15 1999/03/08 08:27:05 itojun Exp $
#

DISTNAME=	ewipe-1.1.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

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

KANJI?=		no

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>