diff options
author | lioux <lioux@FreeBSD.org> | 2001-09-07 14:34:21 +0000 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2001-09-07 14:34:21 +0000 |
commit | 18d4ac0035dbd23e76c0b909615b1447b6645b2e (patch) | |
tree | 70964a419d06e2e97c94acb9f1e990ef4ee3bc9d /net/linux-agsatellite | |
parent | 998d3c35b010c63b0d849b5371e00e2fd22fe7da (diff) | |
download | FreeBSD-ports-18d4ac0035dbd23e76c0b909615b1447b6645b2e.zip FreeBSD-ports-18d4ac0035dbd23e76c0b909615b1447b6645b2e.tar.gz |
New port agsatellite version 0.520: Client that allows you to share
your music on Audiogalaxy(TM)
Diffstat (limited to 'net/linux-agsatellite')
-rw-r--r-- | net/linux-agsatellite/Makefile | 46 | ||||
-rw-r--r-- | net/linux-agsatellite/distinfo | 1 | ||||
-rw-r--r-- | net/linux-agsatellite/files/wrapper.sh | 26 | ||||
-rw-r--r-- | net/linux-agsatellite/pkg-comment | 1 | ||||
-rw-r--r-- | net/linux-agsatellite/pkg-descr | 4 | ||||
-rw-r--r-- | net/linux-agsatellite/pkg-message | 20 | ||||
-rw-r--r-- | net/linux-agsatellite/pkg-plist | 6 |
7 files changed, 104 insertions, 0 deletions
diff --git a/net/linux-agsatellite/Makefile b/net/linux-agsatellite/Makefile new file mode 100644 index 0000000..c69d336 --- /dev/null +++ b/net/linux-agsatellite/Makefile @@ -0,0 +1,46 @@ +# New ports collection makefile for: audiogalaxy satellite +# Date created: Thu Aug 30 15:59:04 GMT 2001 +# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= agsatellite +PORTVERSION= 0.520 +CATEGORIES= audio net +MASTER_SITES= http://www.audiogalaxy.com/downloads/ +DISTNAME= AGSatellite${PORTVERSION:S/.//}-glibc21 + +MAINTAINER= lioux@FreeBSD.org + +WRKSRC= ${WRKDIR}/${DISTNAME:C/-.*//} + +USE_LINUX= yes +NO_BUILD= yes +STRIP= +RESTRICTED= no response from developer on licensing issues + +DOCS= german_readme.txt license.txt readme.txt + +BRANDELF= /usr/bin/brandelf + +post-patch: + @${PERL} -pi -e "s|
||" ${WRKSRC}/*.txt + @${SED} -e "s|%%PREFIX%%|${PREFIX}|" ${FILESDIR}/wrapper.sh > \ + ${WRKDIR}/wrapper.sh + +pre-install: + @${BRANDELF} -t Linux ${WRKSRC}/AGSatellite + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/AGSatellite ${PREFIX}/bin/AGSatellite-real + @${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${PREFIX}/bin/AGSatellite +.ifndef(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +. for doc in ${DOCS} + @${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} +. endfor +.endif + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/net/linux-agsatellite/distinfo b/net/linux-agsatellite/distinfo new file mode 100644 index 0000000..99a75c7 --- /dev/null +++ b/net/linux-agsatellite/distinfo @@ -0,0 +1 @@ +MD5 (AGSatellite0520-glibc21.tar.gz) = 3876f43497acde0474809a752a076cbf diff --git a/net/linux-agsatellite/files/wrapper.sh b/net/linux-agsatellite/files/wrapper.sh new file mode 100644 index 0000000..fb7fdbd --- /dev/null +++ b/net/linux-agsatellite/files/wrapper.sh @@ -0,0 +1,26 @@ +#!/bin/sh + +PREFIX="%%PREFIX%%" +PROGRAM="${0}" + +if [ ${#} -gt 1 ] +then + shift +fi + +if [ ! -d ${HOME}/.agsatellite ] +then + mkdir -p ${HOME}/.agsatellite +fi + +if [ ! -h ${HOME}/.agsatellite/${PROGRAM##*/} ] +then + ln -sf ${PREFIX}/bin/${PROGRAM##*/}-real ${HOME}/.agsatellite/${PROGRAM##*/} +fi + +echo " ${*} " | grep " \-createdironly " || + cd ${HOME}/.agsatellite && + echo Running Audio Galaxy Satellite under ${HOME}/.agsatellite && + echo Create both account.txt and shares.txt files under ${HOME}/.agsatellite && + exec ./${PROGRAM##*/} ${*} || + echo PROBLEM. Cannot create directory ${HOME}/.agsatellite, make sure you have the proper permissions to create itnd try again diff --git a/net/linux-agsatellite/pkg-comment b/net/linux-agsatellite/pkg-comment new file mode 100644 index 0000000..5505062 --- /dev/null +++ b/net/linux-agsatellite/pkg-comment @@ -0,0 +1 @@ +Client that allows you to share your music on Audiogalaxy(TM) diff --git a/net/linux-agsatellite/pkg-descr b/net/linux-agsatellite/pkg-descr new file mode 100644 index 0000000..7749f35 --- /dev/null +++ b/net/linux-agsatellite/pkg-descr @@ -0,0 +1,4 @@ +The Audiogalaxy Satellite is a small and simple program that allows +you to share your music with friends and other users on Audiogalaxy. + +WWW: http://www.audiogalaxy.com/ diff --git a/net/linux-agsatellite/pkg-message b/net/linux-agsatellite/pkg-message new file mode 100644 index 0000000..855c074 --- /dev/null +++ b/net/linux-agsatellite/pkg-message @@ -0,0 +1,20 @@ +[obtained from developers site, edited a bit] +* Accounts are now created FIRST on the website. To create a new +account and use the software go to http://www.audiogalaxy.com/betatest +and signup (login). Then use the SAME login information you used +on the web when the Satellite asks you for it. + +* Feel free to edit the file called shares.txt. Each line in the +text file should specify a directory where your files are. The +first directory is where the files you request are downloaded to. +FreeBSD users must create account.txt and shares.txt in their +favorite text editor before the Satellite will run. The format of +account.txt is simply email that you used to create an account from +the web site on the first line. The second line will be your password + +> account.txt +first_line_with_Email_you_have_subscribed +second_line_with_Password_you_have_subscribed + +* Create both account.txt and shares.txt files under the directory +.agsatellite in your HOME directory diff --git a/net/linux-agsatellite/pkg-plist b/net/linux-agsatellite/pkg-plist new file mode 100644 index 0000000..1fec4ae --- /dev/null +++ b/net/linux-agsatellite/pkg-plist @@ -0,0 +1,6 @@ +bin/AGSatellite +bin/AGSatellite-real +%%PORTDOCS%%share/doc/agsatellite/german_readme.txt +%%PORTDOCS%%share/doc/agsatellite/license.txt +%%PORTDOCS%%share/doc/agsatellite/readme.txt +%%PORTDOCS%%@dirrm share/doc/agsatellite |