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

(-)streamtranscoder/Makefile (-4 / +3 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	streamtranscoder
4
PORTNAME=	streamtranscoder
5
PORTVERSION=	1.2.8
5
PORTVERSION=	1.2.8
6
PORTREVISION=	11
6
PORTREVISION=	12
7
CATEGORIES=	audio
7
CATEGORIES=	audio
8
MASTER_SITES=	http://www.oddsock.org/tools/streamTranscoder/
8
MASTER_SITES=	http://www.oddsock.org/tools/streamTranscoder/
9
9
Lines 16-22 Link Here
16
		libcurl.so:${PORTSDIR}/ftp/curl \
16
		libcurl.so:${PORTSDIR}/ftp/curl \
17
		libmp3lame.so:${PORTSDIR}/audio/lame
17
		libmp3lame.so:${PORTSDIR}/audio/lame
18
18
19
NO_STAGE=	yes
20
GNU_CONFIGURE=	yes
19
GNU_CONFIGURE=	yes
21
CPPFLAGS+=	-I${LOCALBASE}/include
20
CPPFLAGS+=	-I${LOCALBASE}/include
22
LDFLAGS+=	-L${LOCALBASE}/lib
21
LDFLAGS+=	-L${LOCALBASE}/lib
Lines 38-45 Link Here
38
37
39
post-install:
38
post-install:
40
.if ${PORT_OPTIONS:MDOCS}
39
.if ${PORT_OPTIONS:MDOCS}
41
	${MKDIR} ${DOCSDIR}
40
	${MKDIR} ${STAGEDIR}${DOCSDIR}
42
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
41
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
43
.endif
42
.endif
44
43
45
.include <bsd.port.mk>
44
.include <bsd.port.mk>
(-)streamtranscoder/files/patch-src-commandline.cpp (+11 lines)
Line 0 Link Here
1
--- src/commandline.cpp.orig	2014-06-08 18:46:55.585823061 +0100
2
+++ src/commandline.cpp	2014-06-08 18:47:13.735820885 +0100
3
@@ -221,7 +221,7 @@
4
 	return 1;
5
 }
6
 
7
-main(int argc, char **argv) {
8
+int main(int argc, char **argv) {
9
 	int processID = 0;
10
 	transcode_init(argc, argv);
11
 	return transcode_main();

Return to bug 190800