# New ports collection makefile for:    napster
# Date created:         Thu Nov 18 01:07:00 PST 1999
# Whom:                 dburr@FreeBSD.org
#
# $FreeBSD: ports/audio/napster/Makefile,v 1.11 2000/11/03 22:30:18 kris Exp $
#

PORTNAME=	napster
PORTVERSION=	0.9b
CATEGORIES=	audio net
MASTER_SITES=	http://www.gis.net/~nite/
DISTNAME=	nap-bsd-0.9BETA

MAINTAINER=	dburr@FreeBSD.org

FORBIDDEN=	"Remote vulnerabilities"

# leaving this here, in case they decide to drop the BSD version again *sigh*
# RUN_DEPENDS=	/compat/linux/usr/i486-linux-libc5/lib/libc.so.5:${PORTSDIR}/emulators/linux_base

ONLY_FOR_ARCHS=	i386
WRKSRC=		${WRKDIR}/nap
NO_BUILD=	yes

# leaving this here in case they decide to drop the BSD version again *sigh*
# do-patch:
#	brandelf -t Linux ${WRKSRC}/nap

do-install:
	${INSTALL} -c -o root -g wheel -m 555 ${WRKSRC}/nap ${PREFIX}/bin/nap
	${MKDIR} ${PREFIX}/share/nap
	${INSTALL_DATA} ${WRKSRC}/nap.conf ${PREFIX}/share/nap
.if (!defined(NOPORTDOCS))
	@${ECHO_MSG} "===>  Installing README in ${PREFIX}/share/doc/nap"
	${MKDIR} ${PREFIX}/share/doc/nap
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/nap
.endif

post-install:
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
