30 lines
652 B
Makefile
30 lines
652 B
Makefile
# $NetBSD: Makefile,v 1.8 2005/06/17 03:50:23 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= 6tunnel-0.09
|
|
CATEGORIES= net
|
|
MASTER_SITES= ftp://amba.bydg.pdi.net/pub/wojtekka/
|
|
|
|
MAINTAINER= zuntum@NetBSD.org
|
|
COMMENT= v4/v6 protocol translation
|
|
|
|
WRKSRC= ${WRKDIR}/6tunnel
|
|
|
|
NOT_FOR_PLATFORM+= Interix-*-* # no IPv6 support
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == "SunOS"
|
|
LDFLAGS+= -lsocket -lnsl
|
|
.endif
|
|
|
|
INSTALLATION_DIRS= bin man/man1
|
|
|
|
do-build:
|
|
${CC} ${CFLAGS} -o ${WRKSRC}/6tunnel ${WRKSRC}/6tunnel.c ${LDFLAGS}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/6tunnel ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/6tunnel.1 ${PREFIX}/man/man1
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|