2008-06-12 04:14:13 +02:00
|
|
|
# $NetBSD: Makefile,v 1.10 2008/06/12 02:14:38 joerg Exp $
|
2001-03-23 14:54:47 +01:00
|
|
|
#
|
|
|
|
|
2001-10-23 22:23:09 +02:00
|
|
|
DISTNAME= 6tunnel-0.09
|
2001-03-23 14:54:47 +01:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= ftp://amba.bydg.pdi.net/pub/wojtekka/
|
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER= zuntum@NetBSD.org
|
2001-03-23 14:54:47 +01:00
|
|
|
COMMENT= v4/v6 protocol translation
|
|
|
|
|
2008-06-12 04:14:13 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}/6tunnel
|
|
|
|
|
2005-03-10 18:27:06 +01:00
|
|
|
NOT_FOR_PLATFORM+= Interix-*-* # no IPv6 support
|
|
|
|
|
2003-09-22 18:18:06 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if ${OPSYS} == "SunOS"
|
|
|
|
LDFLAGS+= -lsocket -lnsl
|
|
|
|
.endif
|
|
|
|
|
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"
|