[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / net / tcptraceroute6

File: [cvs.NetBSD.org] / pkgsrc / net / tcptraceroute6 / Makefile (download)

Revision 1.2, Mon Sep 4 18:08:27 2017 UTC (3 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3
Changes since 1.1: +2 -2 lines

Follow some redirects.

# $NetBSD: Makefile,v 1.2 2017/09/04 18:08:27 wiz Exp $
#

DISTNAME=		ndisc6-${VERSION}
PKGNAME=		tcptraceroute6-${VERSION}
VERSION=		1.0.3
CATEGORIES=		net
MASTER_SITES=		http://www.remlab.net/files/ndisc6/
EXTRACT_SUFX=		.tar.bz2

MAINTAINER=		he@NetBSD.org
HOMEPAGE=		https://www.remlab.net/ndisc6/
COMMENT=		Traceroute6 implementation using TCP packets
LICENSE=		gnu-gpl-v2

PKG_DESTDIR_SUPPORT=	user-destdir

GNU_CONFIGURE=		yes

#DOCDIR=			${PREFIX}/share/doc/tcptraceroute

.include "../../mk/bsd.prefs.mk"

INSTALLATION_DIRS=	${PKGMANDIR}/man8 sbin

INSTALL_PROGS+=		tcptraceroute6
INSTALL_PROGS+=		tracert6
INSTALL_PROGS+=		rltraceroute6

INSTALL_MANS+=		rltraceroute6.8

do-install:
	for p in ${INSTALL_PROGS}; do \
		${INSTALL_PROGRAM} ${WRKSRC}/src/$$p \
			${DESTDIR}${PREFIX}/sbin; \
	done
	for m in ${INSTALL_MANS}; do \
		${INSTALL_MAN} ${WRKSRC}/doc/$$m \
			${DESTDIR}${PREFIX}/${PKGMANDIR}/man8; \
	done
	(cd ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8; \
		for a in tcptraceroute6 ; do \
			${RM} -f $$a.8; \
			${LN} -s rltraceroute6.8 $$a.8; \
		done; \
	)

.include "../../net/libpcap/buildlink3.mk"

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