summaryrefslogtreecommitdiff
path: root/audio/ximp3
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-08-20 10:51:38 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-08-20 10:51:38 +0000
commit2a772453817aae7626a1b6588554dad9e7aee2a9 (patch)
tree4838a69c35cad360e9d227b44b8df4e3a744a05b /audio/ximp3
parentUpdate maintainer's e-mail address. (diff)
- Update to version 0.1.15
PR: 55744 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=87372
Diffstat (limited to 'audio/ximp3')
-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%%