aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-08-20 18:51:38 +0800
committerkrion <krion@FreeBSD.org>2003-08-20 18:51:38 +0800
commit6052e07182ab44fc941dec713248f266ff0aaceb (patch)
treeecb11bf3ed43293471ac8a51776c216baaef0d0b /audio
parent2f3eaf4d560f8bfeb822b46cc48035be8f99cfe5 (diff)
downloadfreebsd-ports-gnome-6052e07182ab44fc941dec713248f266ff0aaceb.tar.gz
freebsd-ports-gnome-6052e07182ab44fc941dec713248f266ff0aaceb.tar.zst
freebsd-ports-gnome-6052e07182ab44fc941dec713248f266ff0aaceb.zip
- Update to version 0.1.15
PR: 55744 Submitted by: Ports Fury
Diffstat (limited to 'audio')
-rw-r--r--audio/ximp3/Makefile8
-rw-r--r--audio/ximp3/distinfo2
-rw-r--r--audio/ximp3/files/patch-lib::L3.h28
-rw-r--r--audio/ximp3/pkg-plist2
4 files changed, 38 insertions, 2 deletions
diff --git a/audio/ximp3/Makefile b/audio/ximp3/Makefile
index aa94b870beda..0735ca1bdccd 100644
--- a/audio/ximp3/Makefile
+++ b/audio/ximp3/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= ximp3
-PORTVERSION= 0.1.14
+PORTVERSION= 0.1.15
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= apps/sound/players/mp3
@@ -17,4 +17,10 @@ COMMENT= A simple console MP3 player
GNU_CONFIGURE= yes
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+.endif
+
.include <bsd.port.mk>
diff --git a/audio/ximp3/distinfo b/audio/ximp3/distinfo
index 60b7e437f873..465bee692d25 100644
--- a/audio/ximp3/distinfo
+++ b/audio/ximp3/distinfo
@@ -1 +1 @@
-MD5 (ximp3-0.1.14.tar.gz) = 2f836218fd5f5c67c4908c3414d662f6
+MD5 (ximp3-0.1.15.tar.gz) = c08eb16304286e9d6192289562f7f086
diff --git a/audio/ximp3/files/patch-lib::L3.h b/audio/ximp3/files/patch-lib::L3.h
new file mode 100644
index 000000000000..3148ca42a62e
--- /dev/null
+++ b/audio/ximp3/files/patch-lib::L3.h
@@ -0,0 +1,28 @@
+--- lib/L3.h.orig Sat Oct 27 23:05:42 2001
++++ lib/L3.h Mon Aug 18 20:18:00 2003
+@@ -39,6 +39,16 @@
+ #define GLOBAL_GAIN_SCALE (4*15)
+ /* #define GLOBAL_GAIN_SCALE 0 */
+
++#include <sys/types.h>
++
++#ifdef BYTE_ORDER
++#if BYTE_ORDER == LITTLE_ENDIAN
++#define L_ENDIAN 1
++#else
++#define L_ENDIAN 0
++#endif
++#else
++
+ #ifdef i386
+ #define L_ENDIAN 1
+ #endif
+@@ -53,6 +63,8 @@
+
+ #ifdef sparc
+ #define L_ENDIAN 0
++#endif
++
+ #endif
+
+ #ifndef L_ENDIAN
diff --git a/audio/ximp3/pkg-plist b/audio/ximp3/pkg-plist
index 0a73c14cfa35..61dbdb008b14 100644
--- a/audio/ximp3/pkg-plist
+++ b/audio/ximp3/pkg-plist
@@ -1 +1,3 @@
bin/ximp3
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%