View | Details | Raw Unified | Return to bug 184823
Collapse All | Expand All

(-)audio/sidplay/Makefile (-9 / +7 lines)
Lines 3-27 Link Here
3
3
4
PORTNAME=	sidplay
4
PORTNAME=	sidplay
5
PORTVERSION=	1.0.9
5
PORTVERSION=	1.0.9
6
DISTVERSIONPREFIX=	base-
6
CATEGORIES=	audio emulators
7
CATEGORIES=	audio emulators
7
MASTER_SITES=	http://bsd-geek.de/FreeBSD/distfiles/
8
MASTER_SITES=	http://bsd-geek.de/FreeBSD/distfiles/ \
8
DISTNAME=	${PORTNAME}-base-${PORTVERSION}
9
		http://www.sourcefiles.org/Multimedia/Module_Players/
9
EXTRACT_SUFX=	.tgz
10
EXTRACT_SUFX=	.tgz
10
11
11
MAINTAINER=	ports@FreeBSD.org
12
MAINTAINER=	ports@FreeBSD.org
12
COMMENT=	Commodore SID-chip emulator that plays SID music files
13
COMMENT=	Commodore SID-chip emulator that plays SID music files
13
14
15
LICENSE=	GPLv2 # (or later)
16
14
LIB_DEPENDS=	libsidplay.so:${PORTSDIR}/audio/libsidplay
17
LIB_DEPENDS=	libsidplay.so:${PORTSDIR}/audio/libsidplay
15
18
19
GNU_CONFIGURE=	yes
16
CONFIGURE_ARGS=	--with-sidplay-includes=${LOCALBASE}/include \
20
CONFIGURE_ARGS=	--with-sidplay-includes=${LOCALBASE}/include \
17
		--with-sidplay-library=${LOCALBASE}/lib
21
		--with-sidplay-library=${LOCALBASE}/lib
18
22
19
WRKSRC=		${WRKDIR}/${PORTNAME}-base-${PORTVERSION}
23
PLIST_FILES=	bin/sid2wav bin/sidcon bin/sidplay
20
GNU_CONFIGURE=	yes
21
NO_STAGE=	yes
22
23
post-install:
24
	${STRIP_CMD} ${PREFIX}/bin/sidplay ${PREFIX}/bin/sid2wav \
25
		${PREFIX}/bin/sidcon
26
24
27
.include <bsd.port.mk>
25
.include <bsd.port.mk>
(-)audio/sidplay/files/patch-sid2wav.cpp (+32 lines)
Line 0 Link Here
1
--- sid2wav.cpp.orig
2
+++ sid2wav.cpp
3
@@ -18,9 +18,9 @@
4
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
5
 //
6
 
7
-#include <iostream.h>
8
-#include <iomanip.h>
9
-#include <fstream.h>
10
+#include <iostream>
11
+#include <iomanip>
12
+#include <fstream>
13
 #include <string.h>
14
 
15
 #include <stdlib.h>
16
@@ -39,6 +39,16 @@
17
 #include <sidplay/fformat.h>
18
 #include <sidplay/myendian.h>
19
 
20
+using std::cerr;
21
+using std::cout;
22
+using std::endl;
23
+using std::dec;
24
+using std::flush;
25
+using std::hex;
26
+using std::ios;
27
+using std::setfill;
28
+using std::setw;
29
+
30
 const char s2w_version[] = "1.8";
31
 
32
 struct wav_hdr                  // little endian
(-)audio/sidplay/files/patch-sidcon.cpp (+23 lines)
Line 0 Link Here
1
--- sidcon.cpp.orig
2
+++ sidcon.cpp
3
@@ -25,12 +25,18 @@
4
 #include <stdio.h>
5
 #include <stdlib.h>
6
 #include <string.h>
7
-#include <iostream.h>
8
-#include <iomanip.h>
9
+#include <iostream>
10
+#include <iomanip>
11
 
12
 #include <sidplay/sidtune.h>
13
 #include <sidplay/fformat.h>
14
 
15
+using std::cerr;
16
+using std::cin;
17
+using std::cout;
18
+using std::endl;
19
+using std::flush;
20
+
21
 static bool toPSID = true,
22
     toSIDPLAY = false,
23
     checkOnly = false,
(-)audio/sidplay/files/patch-sidplay.cpp (+28 lines)
Line 0 Link Here
1
--- sidplay.cpp.orig
2
+++ sidplay.cpp
3
@@ -18,8 +18,8 @@
4
 //
5
 
6
 #include <ctype.h>
7
-#include <iomanip.h>
8
-#include <fstream.h>
9
+#include <iomanip>
10
+#include <iostream>
11
 #include <signal.h>
12
 #include <stdlib.h>
13
 #include <string.h>
14
@@ -41,6 +41,14 @@
15
 #define DISALLOW_STEREO_SOUND
16
 #endif
17
 
18
+using std::cerr;
19
+using std::cout;
20
+using std::dec;
21
+using std::endl;
22
+using std::hex;
23
+using std::setfill;
24
+using std::setw;
25
+
26
 // Error and status message numbers.
27
 enum
28
 {
(-)audio/sidplay/pkg-plist (-3 lines)
Lines 1-3 Link Here
1
bin/sidplay
2
bin/sid2wav
3
bin/sidcon

Return to bug 184823