aboutsummaryrefslogtreecommitdiff
path: root/net/linux-agsatellite
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-09-07 14:34:21 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-09-07 14:34:21 +0000
commit59393b6e61564d8228d7c16c7743931ab110d3bb (patch)
tree258a7e73247c0affe99d580b988028fa22a8da03 /net/linux-agsatellite
parent33fcc64cd1d939eb77506d593a8ef2dee050f727 (diff)
downloadports-59393b6e61564d8228d7c16c7743931ab110d3bb.tar.gz
ports-59393b6e61564d8228d7c16c7743931ab110d3bb.zip
Notes
Diffstat (limited to 'net/linux-agsatellite')
-rw-r--r--net/linux-agsatellite/Makefile46
-rw-r--r--net/linux-agsatellite/distinfo1
-rw-r--r--net/linux-agsatellite/files/wrapper.sh26
-rw-r--r--net/linux-agsatellite/pkg-comment1
-rw-r--r--net/linux-agsatellite/pkg-descr4
-rw-r--r--net/linux-agsatellite/pkg-message20
-rw-r--r--net/linux-agsatellite/pkg-plist6
7 files changed, 104 insertions, 0 deletions
diff --git a/net/linux-agsatellite/Makefile b/net/linux-agsatellite/Makefile
new file mode 100644
index 000000000000..c69d336ac8ac
--- /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 000000000000..99a75c74089c
--- /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 000000000000..fb7fdbd6f492
--- /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 000000000000..5505062aa192
--- /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 000000000000..7749f35e202f
--- /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 000000000000..855c074f8ad3
--- /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 000000000000..1fec4aea1310
--- /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