bf8f77da5d
Changes by Stuart Cardall: Updated help message. Changes by Paul Warren: Avoid segfault in "-f" mode. Changes by Wojtek Kaniewski: Support automake's "make check" target.
26 lines
727 B
Makefile
26 lines
727 B
Makefile
# $NetBSD: Makefile,v 1.18 2020/01/09 20:09:34 nia Exp $
|
|
|
|
DISTNAME= 6tunnel-0.13
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=wojtekka/}
|
|
GITHUB_RELEASE= ${PKGVERSION_NOREV}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/wojtekka/6tunnel
|
|
COMMENT= Tunnelling for applications that don't speak IPv6
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
NOT_FOR_PLATFORM+= Interix-*-* # no IPv6 support
|
|
|
|
LDFLAGS.SunOS+= -lsocket -lnsl
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
|
|
|
|
do-build:
|
|
${CC} ${CFLAGS} -o ${WRKSRC}/6tunnel ${WRKSRC}/6tunnel.c ${LDFLAGS}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/6tunnel ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/6tunnel.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|