pkgsrc/net/6tunnel/Makefile
rillig 2829e658f2 Mechanically replaced man/* with ${PKGMANDIR}/* in the definition of
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with
${PREFIX}/${PKGMANDIR}.

Fixes PR 35265, although I did not use the patch provided therein.
2007-01-07 09:13:46 +00:00

30 lines
672 B
Makefile

# $NetBSD: Makefile,v 1.9 2007/01/07 09:14:01 rillig 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 ${PKGMANDIR}/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}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"