Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jun 1997 14:10:43 +0800 (CST)
From:      vanilla@MinJe.com.TW
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/3935: new ports amp-0.7.3 
Message-ID:  <199706230610.OAA04024@MinJe.com.TW>
Resent-Message-ID: <199706230620.XAA14858@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         3935
>Category:       ports
>Synopsis:       another mp3 player
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 22 23:20:01 PDT 1997
>Last-Modified:
>Originator:     Vanill I. Shu
>Organization:
Cray running FreeBSD
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:


>Description:

	here is another mp3 player, AMP-0.7.3

>How-To-Repeat:


>Fix:
	
diff -ruN amp.orig/Makefile amp/Makefile
--- amp.orig/Makefile	Thu Jan  1 08:00:00 1970
+++ amp/Makefile	Mon Jun 23 14:00:24 1997
@@ -0,0 +1,25 @@
+# New ports collection makefile for:	amp
+# Version required:	0.7.3
+# Date created:		Jun 23 1997
+# Whom:			Vanilla I. Shu <vanilla@MinJe.com.TW>
+#
+# $Id$
+#
+
+DISTNAME=	amp-0.7.3
+CATEGORIES=	audio
+MASTER_SITES=	ftp://ftp.rasip.fer.hr/pub/mpeg/
+EXTRACT_SUFX=	.tgz
+
+MAINTAINER=	vanilla@MinJe.com.TW
+
+HAS_CONFIGURE=	yes
+USE_GMAKE=	yes
+
+MAN1=		amp.1
+
+do-install:
+	@ ${INSTALL_PROGRAM} ${WRKSRC}/amp ${PREFIX}/bin
+	@ ${INSTALL_DATA} ${WRKSRC}/amp.1 ${PREFIX}/man/man1
+
+.include <bsd.port.mk>
diff -ruN amp.orig/files/md5 amp/files/md5
--- amp.orig/files/md5	Thu Jan  1 08:00:00 1970
+++ amp/files/md5	Mon Jun 23 13:40:44 1997
@@ -0,0 +1 @@
+MD5 (amp-0.7.3.tgz) = 48029668ed9b74a3425727763caa12d0
diff -ruN amp.orig/patches/patch-aa amp/patches/patch-aa
--- amp.orig/patches/patch-aa	Thu Jan  1 08:00:00 1970
+++ amp/patches/patch-aa	Mon Jun 23 13:51:36 1997
@@ -0,0 +1,22 @@
+*** configure.orig	Mon Jun 23 13:49:07 1997
+--- configure	Mon Jun 23 13:51:27 1997
+*************** case "$OS_TYPE" in
+*** 1281,1288 ****
+      fi
+      if test "$OS_TYPE" = "FreeBSD" ; then
+        OS_TYPE="BSD"
+      fi
+!     CFLAGS="-DOS_${OS_TYPE} -DARCH_${ARCH_TYPE} -Wall -O6 -ffast-math -DNO_BYTE_SWAPPING ${CFLAGS_ARCH}"
+      ;;
+  
+    SunOS)
+--- 1281,1289 ----
+      fi
+      if test "$OS_TYPE" = "FreeBSD" ; then
+        OS_TYPE="BSD"
++       SOUNDCARD="HAVE_MACHINE_SOUNDCARD_H"
+      fi
+!     CFLAGS="-DOS_${OS_TYPE} -DARCH_${ARCH_TYPE} -Wall -O2 -m486 -pipe -ffast-math -DNO_BYTE_SWAPPING -D${SOUNDCARD} ${CFLAGS_ARCH}"
+      ;;
+  
+    SunOS)
diff -ruN amp.orig/pkg/COMMENT amp/pkg/COMMENT
--- amp.orig/pkg/COMMENT	Thu Jan  1 08:00:00 1970
+++ amp/pkg/COMMENT	Mon Jun 23 13:52:58 1997
@@ -0,0 +1 @@
+another mp3 player
diff -ruN amp.orig/pkg/DESCR amp/pkg/DESCR
--- amp.orig/pkg/DESCR	Thu Jan  1 08:00:00 1970
+++ amp/pkg/DESCR	Mon Jun 23 13:55:18 1997
@@ -0,0 +1,8 @@
+amp (Audio Mpeg Player) is an MPEG audio decoder which I originally started 
+putting together as a side project of the MPEG hardware design project at 
+FER/Zagreb - just to confirm my knowledge of the standard. It works with
+both MPEG1 and MPEG2 audio streams (except for the multichannel extensions
+defined in MPEG2), layer3 only for now.
+
+- Vanilla
+vanilla@MinJe.com.TW
diff -ruN amp.orig/pkg/PLIST amp/pkg/PLIST
--- amp.orig/pkg/PLIST	Thu Jan  1 08:00:00 1970
+++ amp/pkg/PLIST	Mon Jun 23 13:59:41 1997
@@ -0,0 +1,2 @@
+bin/amp
+man/man1/amp.1.gz
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706230610.OAA04024>