2020-01-09 21:09:34 +01:00
|
|
|
# $NetBSD: Makefile,v 1.18 2020/01/09 20:09:34 nia Exp $
|
2001-03-23 14:54:47 +01:00
|
|
|
|
2020-01-09 21:09:34 +01:00
|
|
|
DISTNAME= 6tunnel-0.13
|
2001-03-23 14:54:47 +01:00
|
|
|
CATEGORIES= net
|
2020-01-09 21:09:34 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=wojtekka/}
|
|
|
|
GITHUB_RELEASE= ${PKGVERSION_NOREV}
|
2001-03-23 14:54:47 +01:00
|
|
|
|
2010-02-26 11:28:30 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2020-01-09 21:09:34 +01:00
|
|
|
HOMEPAGE= https://github.com/wojtekka/6tunnel
|
2013-04-06 05:45:05 +02:00
|
|
|
COMMENT= Tunnelling for applications that don't speak IPv6
|
2016-09-11 14:46:46 +02:00
|
|
|
LICENSE= gnu-gpl-v2
|
2001-03-23 14:54:47 +01:00
|
|
|
|
2019-11-03 12:45:28 +01:00
|
|
|
NOT_FOR_PLATFORM+= Interix-*-* # no IPv6 support
|
2005-03-10 18:27:06 +01:00
|
|
|
|
2016-02-25 17:20:49 +01:00
|
|
|
LDFLAGS.SunOS+= -lsocket -lnsl
|
2003-09-22 18:18:06 +02:00
|
|
|
|
2007-01-07 10:13:46 +01:00
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
|
2005-06-17 05:50:19 +02:00
|
|
|
|
2001-03-23 14:54:47 +01:00
|
|
|
do-build:
|
2003-09-22 18:18:06 +02:00
|
|
|
${CC} ${CFLAGS} -o ${WRKSRC}/6tunnel ${WRKSRC}/6tunnel.c ${LDFLAGS}
|
2001-03-23 14:54:47 +01:00
|
|
|
|
|
|
|
do-install:
|
2008-06-12 04:14:13 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/6tunnel ${DESTDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/6tunnel.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
2001-03-23 14:54:47 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|