summaryrefslogtreecommitdiff
path: root/net/tkined/Makefile
blob: 24ca39a30dfd2a3581e990bc7d42b5a4cab834ca (plain)
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
# $NetBSD: Makefile,v 1.5 2003/03/29 12:42:05 jmmv Exp $
#

DISTNAME=	scotty-2.1.11
PKGNAME=	tkined-1.4.11
WRKSRC=		${WRKDIR}/${DISTNAME}/unix
CATEGORIES=	net tcl tk
MASTER_SITES=	ftp://ftp.ibr.cs.tu-bs.de/pub/local/tkined/

MAINTAINER=	jwise@netbsd.org
HOMEPAGE=	http://wwwhome.cs.utwente.nl/~schoenw/scotty/
COMMENT=	graphical network discovery and monitoring tool based on scotty

DEPENDS+=	tk>=8.3.2:../../x11/tk
DEPENDS+=	tcl-scotty-2.1.11:../../net/tcl-scotty

GNU_CONFIGURE=  yes
CONFIGURE_ARGS+= --with-tcl-config=${PREFIX}/lib --enable-multicast \
		--enable-gdmo --with-tk-config=${PREFIX}/lib
CONFIGURE_ENV+=	TARGET=tkined

USE_LIBTOOL=	yes

FILESDIR=	${.CURDIR}/../../net/tcl-scotty/files
PATCHDIR=	${.CURDIR}/../../net/tcl-scotty/patches

do-install:
	@cd ${WRKSRC} && ${MAKE_ENV} ${MAKE} tki-install
	${INSTALL_DATA} ${WRKSRC}/../doc/tkined.1 ${PREFIX}/man/man1

post-install:
	cd ${PREFIX}/bin && ${LN} -f -s tkined1.4.11 tkined

.include "../../mk/bsd.pkg.mk"