v0.69 make distclean should now also remove "rej" files. Antonio Querubin: update getopt.h . More cleanups using new infrastructure. rcw: Fixed IPV6 support: When compiled in an IPV6-supporting environment, but when the kernel doesn't support IPV6, mtr would fail to start. v0.68 included some old patches. included patch from Antonio Querubin for better IPV6 support restructured some more whitespace. added mtr.h where "global" things should go. Not finished moving things around, but now that the infrastructure is there, it should be easy.
36 lines
1.1 KiB
Makefile
36 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.23 2005/02/27 22:49:43 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= mtr-0.69
|
|
PKGNAME= ${DISTNAME:S/-/-gtk-/}
|
|
CATEGORIES= net
|
|
MASTER_SITES= ftp://ftp.bitwizard.nl/mtr/
|
|
|
|
MAINTAINER= sommerfeld@NetBSD.org
|
|
HOMEPAGE= http://www.bitwizard.nl/mtr/
|
|
COMMENT= Traceroute and ping in a single graphical network diagnostic tool
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_GNU_TOOLS+= make
|
|
USE_BUILDLINK3= yes
|
|
USE_X11= yes
|
|
|
|
INSTALLATION_DIRS= man/man8 sbin
|
|
|
|
# mtr uses libtermcap by default, but needs wattr_{on,off} from (n)curses,
|
|
# so we rewrite -ltermcap to -lncurses (which will be auto-mangled into
|
|
# -lcurses on the appropriate platforms).
|
|
BUILDLINK_TRANSFORM+= l:termcap:ncurses
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mtr-gtk
|
|
${INSTALL} -c -s -m 4755 -o ${ROOT_USER} -g ${ROOT_GROUP} ${WRKSRC}/mtr ${PREFIX}/sbin/mtr-gtk
|
|
${INSTALL_DATA} ${WRKSRC}/mtr.8 ${PREFIX}/man/man8/mtr-gtk.8
|
|
${INSTALL_DATA} ${WRKSRC}/SECURITY ${PREFIX}/share/doc/mtr-gtk
|
|
|
|
.include "../../devel/ncurses/buildlink3.mk"
|
|
.include "../../x11/gtk/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|