update Sun Jun 6 12:37:00 PDT 2010
[pkgsrc.git] / net / tkined / Makefile
1 # $NetBSD: Makefile,v 1.19 2009/08/20 15:24:59 jwise Exp $
2 #
3
4 DISTNAME=       scotty-2.1.11
5 PKGNAME=        tkined-1.4.11
6 PKGREVISION=    3
7 CATEGORIES=     net tcl tk
8 MASTER_SITES=   ftp://ftp.ibr.cs.tu-bs.de/pub/local/tkined/
9
10 MAINTAINER=     pkgsrc-users@NetBSD.org
11 HOMEPAGE=       http://www.nosuchname.net/scotty/
12 COMMENT=        Graphical network discovery and monitoring tool based on scotty
13
14 PKG_INSTALLATION_TYPES= overwrite pkgviews
15
16 WRKSRC=         ${WRKDIR}/${DISTNAME}/unix
17 GNU_CONFIGURE=  yes
18 CONFIGURE_ARGS+=--with-tcl-config=${BUILDLINK_PREFIX.tcl}/lib   \
19                 --with-tk-config=${BUILDLINK_PREFIX.tk}/lib     \
20                 --enable-multicast --enable-gdmo
21 CONFIGURE_ENV+= TARGET=tkined
22
23 USE_LIBTOOL=    yes
24
25 DISTINFO_FILE=  ${.CURDIR}/../../net/tcl-scotty/distinfo
26 FILESDIR=       ${.CURDIR}/../../net/tcl-scotty/files
27 PATCHDIR=       ${.CURDIR}/../../net/tcl-scotty/patches
28
29 INSTALLATION_DIRS=      ${PKGMANDIR}/man1
30
31 .include "../../net/tcl-scotty/buildlink3.mk"
32 .include "../../x11/tk/buildlink3.mk"
33
34 do-install:
35         @cd ${WRKSRC} && ${MAKE_ENV} ${MAKE} tki-install
36         ${INSTALL_DATA} ${WRKSRC}/../doc/tkined.1 ${PREFIX}/${PKGMANDIR}/man1
37
38 post-install:
39         cd ${PREFIX}/bin && ${LN} -f -s tkined1.4.11 tkined
40
41 .include "../../mk/bsd.pkg.mk"