From 6052e07182ab44fc941dec713248f266ff0aaceb Mon Sep 17 00:00:00 2001 From: krion Date: Wed, 20 Aug 2003 10:51:38 +0000 Subject: - Update to version 0.1.15 PR: 55744 Submitted by: Ports Fury --- audio/ximp3/Makefile | 8 +++++++- audio/ximp3/distinfo | 2 +- audio/ximp3/files/patch-lib::L3.h | 28 ++++++++++++++++++++++++++++ audio/ximp3/pkg-plist | 2 ++ 4 files changed, 38 insertions(+), 2 deletions(-) create mode 100644 audio/ximp3/files/patch-lib::L3.h (limited to 'audio') 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 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 ++ ++#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%% -- cgit