Bug 22395 - update of ports/audio/napster
Summary: update of ports/audio/napster
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: dburr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-10-29 14:00 UTC by lyngbol
Modified: 2001-03-29 22:55 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lyngbol 2000-10-29 14:00:01 UTC
	Update of napster port to 1.4.4
Comment 1 lyngbol 2000-10-29 14:09:02 UTC
Doh! Forgot to include diff:


diff -ruN napster.orig/Makefile napster/Makefile
--- napster.orig/Makefile	Sun Oct 29 13:07:29 2000
+++ napster/Makefile	Sun Oct 29 14:33:42 2000
@@ -6,35 +6,27 @@
 #
 
 PORTNAME=	napster
-PORTVERSION=	0.9b
+PORTVERSION=	1.4.4
 CATEGORIES=	audio net
-MASTER_SITES=	http://www.gis.net/~nite/
-DISTNAME=	nap-bsd-0.9BETA
+MASTER_SITES=	http://download.sourceforge.net/nap/
+DISTNAME=	nap-1.4.4
 
 MAINTAINER=	dburr@FreeBSD.org
 
-# 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
+GNU_CONFIGURE=  yes
 
-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
+pre-install:
 	${MKDIR} ${PREFIX}/share/nap
-	${INSTALL_DATA} ${WRKSRC}/nap.conf ${PREFIX}/share/nap
+	${INSTALL_DATA} ${WRKSRC}/nap.conf.dist ${PREFIX}/share/nap
+
 .if (!defined(NOPORTDOCS))
-	@${ECHO_MSG} "===>  Installing README in ${PREFIX}/share/doc/nap"
+	@${ECHO_MSG} "===>  Installing NEWS + README in ${PREFIX}/share/doc/nap"
 	${MKDIR} ${PREFIX}/share/doc/nap
+	${INSTALL_DATA} ${WRKSRC}/NEWS ${PREFIX}/share/doc/nap
 	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/nap
 .endif
 
 post-install:
-	@${CAT} ${PKGMESSAGE}
+	@${CAT} ${PKGMESSAGE} | ${SED} 's:@PREFIX@:${PREFIX}:g'
 
 .include <bsd.port.mk>
diff -ruN napster.orig/distinfo napster/distinfo
--- napster.orig/distinfo	Sun Oct 29 13:07:29 2000
+++ napster/distinfo	Sun Oct 29 13:57:12 2000
@@ -1 +1,2 @@
 MD5 (nap-bsd-0.9BETA.tar.gz) = 3fd3aa290456d33d2a96be1cc82e9edb
+MD5 (nap-1.4.4.tar.gz) = c00062ea018579ffcccfb48703b6aab0
diff -ruN napster.orig/pkg-message napster/pkg-message
--- napster.orig/pkg-message	Sun Oct 29 13:07:29 2000
+++ napster/pkg-message	Sun Oct 29 14:34:51 2000
@@ -1,5 +1,6 @@
-Each user will have to make their own copy of ${PREFIX}/share/nap/nap.conf
-into a directory of their choice, then run nap from that directory.
+Each user will have to make their own copy of @PREFIX@/share/nap/nap.conf.dist
+(named nap.conf) into a directory of their choice, then run nap from that 
+directory.
 
 The first time you run nap, run it with the '-b' file to create an index
 of your available MP3's.  You'll have to do this whenever you add new
@@ -10,7 +11,7 @@
 and run `nap -m'.
 
 For more documentation on this version of Napster, read the file
-${PREFIX}/share/doc/nap.  For information about Napster in general,
+@PREFIX@/share/doc/nap/README.  For information about Napster in general,
 check http://www.napster.com/ and http://www.napster.com/FAQ/
 
 Have fun!
diff -ruN napster.orig/pkg-plist napster/pkg-plist
--- napster.orig/pkg-plist	Sun Oct 29 13:07:29 2000
+++ napster/pkg-plist	Sun Oct 29 14:00:24 2000
@@ -1,5 +1,6 @@
 bin/nap
-share/nap/nap.conf
+share/nap/nap.conf.dist
 @dirrm share/nap
+share/doc/nap/NEWS
 share/doc/nap/README
 @dirrm share/doc/nap
Comment 2 Maxim Sobolev freebsd_committer freebsd_triage 2000-11-02 14:28:39 UTC
Responsible Changed
From-To: freebsd-ports->dburr

Over to maintainer.
Comment 3 Michael Haro freebsd_committer freebsd_triage 2001-03-29 22:55:30 UTC
State Changed
From-To: open->closed

Committed