aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--audio/amp/Makefile11
-rw-r--r--audio/amp/distinfo4
-rw-r--r--audio/amp/files/patch-ab23
3 files changed, 22 insertions, 16 deletions
diff --git a/audio/amp/Makefile b/audio/amp/Makefile
index 2ade1f46e04a..21acafb0c3b7 100644
--- a/audio/amp/Makefile
+++ b/audio/amp/Makefile
@@ -6,18 +6,19 @@
#
PORTNAME= amp
-PORTVERSION= 0.7.6
-PORTREVISION= 1
+PORTVERSION= 0.7.5
+PORTEPOCH= 1
CATEGORIES= audio
-#MASTER_SITES= ftp://ftp.rasip.fer.hr/pub/mpeg/
-# the author's site seems dead.
-MASTER_SITES= ftp://ftp.clara.net/pub/unix/Audio/
+MASTER_SITES= ftp://ftp.funet.fi/pub/sci/audio/mpeg/amp/
+DISTNAME= ${PORTNAME}-${PORTVERSION}-99
+EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Another mp3 player
GNU_CONFIGURE= yes
USE_GMAKE= yes
+MAKE_ARGS= CC="${CC}"
MAN1= amp.1
PLIST_FILES= bin/amp
diff --git a/audio/amp/distinfo b/audio/amp/distinfo
index 92a269bdb2c8..c2aa33cb2629 100644
--- a/audio/amp/distinfo
+++ b/audio/amp/distinfo
@@ -1,2 +1,2 @@
-MD5 (amp-0.7.6.tar.gz) = 999678ef5e399b9f9c3d7268e19d703f
-SIZE (amp-0.7.6.tar.gz) = 100351
+MD5 (amp-0.7.5-99.tgz) = 34b2345a4648e9ea652baddbc2288a75
+SIZE (amp-0.7.5-99.tgz) = 154473
diff --git a/audio/amp/files/patch-ab b/audio/amp/files/patch-ab
index d06b4cd197c2..f5daaa14c312 100644
--- a/audio/amp/files/patch-ab
+++ b/audio/amp/files/patch-ab
@@ -1,14 +1,18 @@
---- configure.orig Mon Apr 30 01:25:59 2001
-+++ configure Mon Apr 30 01:25:49 2001
-@@ -1380,7 +1380,6 @@
+--- configure.orig Wed Feb 16 14:16:08 2005
++++ configure Wed Feb 16 14:16:54 2005
+@@ -1323,11 +1323,6 @@
ARCH_TYPE=`uname -m`
echo "$ac_t""$ARCH_TYPE" 1>&6
+-CC=
-CFLAGS=
- LDFLAGS=
- CFLAGS_ARCH=
- DEFINES=
-@@ -1399,17 +1398,9 @@
+-LDFLAGS=
+-CFLAGS_ARCH=
+-
+
+
+
+@@ -1340,17 +1335,10 @@
;;
Linux|FreeBSD)
@@ -22,7 +26,8 @@
if test "$OS_TYPE" = "FreeBSD" ; then
OS_TYPE="BSD"
fi
-- CFLAGS="-O6 -ffast-math -fomit-frame-pointer ${CFLAGS_ARCH}"
- DEFINES="-DNO_BYTE_SWAPPING -DOS_$OS_TYPE -DARCH_$ARCH_TYPE"
+- CFLAGS="-O6 -ffast-math -fomit-frame-pointer -DNO_BYTE_SWAPPING ${CFLAGS_ARCH}"
++ CFLAGS="${CFLAGS} -ffast-math -fomit-frame-pointer -DNO_BYTE_SWAPPING ${CFLAGS_ARCH}"
;;
+ SunOS)