2829e658f2
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with ${PREFIX}/${PKGMANDIR}. Fixes PR 35265, although I did not use the patch provided therein.
31 lines
1,010 B
Makefile
31 lines
1,010 B
Makefile
# $NetBSD: Makefile,v 1.47 2007/01/07 09:14:04 rillig Exp $
|
|
|
|
DISTNAME= mtr-0.72
|
|
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_TOOLS+= gmake
|
|
INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin
|
|
|
|
.include "options.mk"
|
|
|
|
# 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
|
|
${INSTALL} -c -s -m 4755 -o ${ROOT_USER} -g ${ROOT_GROUP} ${WRKSRC}/mtr ${PREFIX}/sbin
|
|
${INSTALL_DATA} ${WRKSRC}/mtr.8 ${PREFIX}/${PKGMANDIR}/man8
|
|
${INSTALL_DATA} ${WRKSRC}/SECURITY ${PREFIX}/share/doc/mtr
|
|
|
|
.include "../../devel/ncurses/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|