2014-02-04 01:19:54 +01:00
|
|
|
# $NetBSD: Makefile,v 1.30 2014/02/04 00:19:54 joerg Exp $
|
2000-05-22 05:55:16 +02:00
|
|
|
#
|
|
|
|
|
2007-09-07 15:53:44 +02:00
|
|
|
DISTNAME= ttt-1.8.2
|
2014-02-04 01:19:54 +01:00
|
|
|
PKGREVISION= 8
|
2000-05-22 05:55:16 +02:00
|
|
|
CATEGORIES= net
|
2007-12-02 14:04:06 +01:00
|
|
|
MASTER_SITES= ftp://ftp.sonycsl.co.jp/pub/kjc/
|
2000-05-22 05:55:16 +02:00
|
|
|
|
2006-09-03 02:56:28 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2007-12-02 14:04:06 +01:00
|
|
|
HOMEPAGE= http://www.sonycsl.co.jp/person/kjc/software.html
|
2001-02-17 18:52:59 +01:00
|
|
|
COMMENT= Tele Traffic Tapper
|
2000-05-22 05:55:16 +02:00
|
|
|
|
2000-12-16 05:56:36 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2012-08-27 02:47:25 +02:00
|
|
|
CONFIGURE_ARGS+= --with-tcl=${BUILDLINK_PREFIX.tcl}
|
|
|
|
CONFIGURE_ARGS+= --with-tk=${BUILDLINK_PREFIX.tk}
|
2004-01-14 00:35:38 +01:00
|
|
|
|
2010-02-11 23:57:40 +01:00
|
|
|
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
|
2000-12-16 05:56:36 +01:00
|
|
|
INSTALL_TARGET= install install-man
|
2010-02-11 23:57:40 +01:00
|
|
|
INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \
|
|
|
|
exec_prefix=${DESTDIR}${PREFIX} \
|
|
|
|
mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}
|
2000-05-22 05:55:16 +02:00
|
|
|
|
2010-03-19 16:04:05 +01:00
|
|
|
REPLACE_INTERPRETER+= sys-BLTWISH
|
|
|
|
REPLACE.sys-BLTWISH.old= .*bltwish
|
|
|
|
REPLACE.sys-BLTWISH.new= ${PREFIX}/bin/bltwish
|
|
|
|
REPLACE_FILES.sys-BLTWISH= ttt.tcl
|
|
|
|
|
|
|
|
|
2005-10-25 19:21:47 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2014-02-04 01:19:54 +01:00
|
|
|
CFLAGS+= -DUSE_INTERP_RESULT
|
|
|
|
CONFIGURE_ARGS+= ttt_cv_prog_cflags=${CFLAGS:Q}
|
|
|
|
|
2005-10-25 19:21:47 +02:00
|
|
|
.if ${OPSYS} == "NetBSD"
|
|
|
|
.if empty(OS_VERSION:M1.[56]*)
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
|
|
.endif
|
|
|
|
.endif
|
|
|
|
|
2007-10-14 04:04:38 +02:00
|
|
|
.include "options.mk"
|
|
|
|
|
2004-04-25 09:39:25 +02:00
|
|
|
.include "../../net/libpcap/buildlink3.mk"
|
|
|
|
.include "../../x11/blt/buildlink3.mk"
|
2005-10-25 19:21:47 +02:00
|
|
|
.include "../../x11/tk/buildlink3.mk"
|
2000-05-22 05:55:16 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|