View | Details | Raw Unified | Return to bug 204830 | Differences between
and this patch

Collapse All | Expand All

(-)audio/Makefile (+1 lines)
Lines 535-540 Link Here
535
    SUBDIR += opencore-amr
535
    SUBDIR += opencore-amr
536
    SUBDIR += openspc
536
    SUBDIR += openspc
537
    SUBDIR += optimfrog
537
    SUBDIR += optimfrog
538
    SUBDIR += optimfrog-sse2
538
    SUBDIR += opus
539
    SUBDIR += opus
539
    SUBDIR += opus-tools
540
    SUBDIR += opus-tools
540
    SUBDIR += opusfile
541
    SUBDIR += opusfile
(-)audio/optimfrog/Makefile (-15 / +29 lines)
Lines 1-26 Link Here
1
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
2
# $FreeBSD$
1
# $FreeBSD$
3
2
4
PORTNAME=	optimfrog
3
PORTNAME=	optimfrog
5
DISTVERSION=	4.520b1
4
PORTVERSION=	5.003
6
CATEGORIES=	audio linux
5
CATEGORIES=	audio
7
MASTER_SITES=	http://www.losslessaudio.org/DownloadNew/OptimFROG_All_Linux_x86_${DISTVERSION:S/.//}.php?
6
MASTER_SITES=	http://losslessaudio.org/Downloads/A1C0/${DISTVERSION:S/.//}/FreeBSD/
8
DISTNAME=	OptimFROG_All_Linux_x86_${DISTVERSION:S/.//}
7
DISTNAME=	# OptimFROG_FreeBSD_${ARCH}_${DISTVERSION:S/.//}
9
8
10
MAINTAINER=	ports@FreeBSD.org
9
MAINTAINER=	matthew@reztek.cz
11
COMMENT=	Lossless audio codec
10
COMMENT?=	Best-ratio lossless audio codec
12
11
13
ONLY_FOR_ARCHS=	amd64 i386
12
INSTALL_CONFLICTS?=	optimfrog-sse2-[0-9]*
14
13
14
ONLY_FOR_ARCHS?=	amd64 i386
15
15
NO_CDROM=	No commercial use
16
NO_CDROM=	No commercial use
16
NO_BUILD=	yes
17
NO_BUILD=	yes
17
USES=		zip
18
USE_LDCONFIG=	yes
18
USE_LINUX=	yes
19
PLIST_FILES=	bin/off bin/ofr bin/ofs
20
FETCH_ARGS=	-o ${DISTDIR}/${DISTFILES}
21
19
20
OPTIONS_DEFINE_i386=	SSE2
21
OPTIONS_DEFINE?=	#
22
SSE2_DESCR=	Use SSE2 instructions
23
SSE2_VARS=	PKGNAMESUFFIX=-sse2
24
25
.include <bsd.port.pre.mk>
26
27
.if ${ARCH} == "amd64"
28
DISTNAME=	OptimFROG_FreeBSD_x64_${DISTVERSION:S/.//}
29
.else # ${ARCH} == "i386"
30
. if ${PORT_OPTIONS:MSSE2}
31
DISTNAME=	OptimFROG_FreeBSD_x86_SSE2_${DISTVERSION:S/.//}
32
. else
33
DISTNAME=	OptimFROG_FreeBSD_x86_${DISTVERSION:S/.//}
34
. endif
35
.endif
36
22
do-install:
37
do-install:
23
	@${BRANDELF} -t Linux ${WRKSRC}/off ${WRKSRC}/ofr ${WRKSRC}/ofs
38
	@(cd ${WRKSRC} && ./install.sh -d ${STAGEDIR})
24
	@${INSTALL_PROGRAM} ${WRKSRC}/off ${WRKSRC}/ofr ${WRKSRC}/ofs ${STAGEDIR}${PREFIX}/bin/
25
39
26
.include <bsd.port.mk>
40
.include <bsd.port.post.mk>
(-)audio/optimfrog/distinfo (-2 / +6 lines)
Lines 1-2 Link Here
1
SHA256 (OptimFROG_All_Linux_x86_4520b1.zip) = 69d2aeb581be15278920576cc35b5398c1d22d79abf017bedc04f8aba295710d
1
SHA256 (OptimFROG_FreeBSD_x64_5003.tar.gz) = 8fdf1c9314be45677b6fba521ead09aa0ff37fc3477076030a7ecb93646025cd
2
SIZE (OptimFROG_All_Linux_x86_4520b1.zip) = 1171509
2
SIZE (OptimFROG_FreeBSD_x64_5003.tar.gz) = 1033888
3
SHA256 (OptimFROG_FreeBSD_x86_5003.tar.gz) = 94f6afcac8c7e249b4c666a8c69fd2d8acd541a2bb510b5a23326722c278670f
4
SIZE (OptimFROG_FreeBSD_x86_5003.tar.gz) = 981489
5
SHA256 (OptimFROG_FreeBSD_x86_SSE2_5003.tar.gz) = 32c8bc83928a5f4bc19b9ad40e65f218fabdcf9d251fa63066bc1077374c13e9
6
SIZE (OptimFROG_FreeBSD_x86_SSE2_5003.tar.gz) = 987641
(-)audio/optimfrog/pkg-plist (+11 lines)
Line 0 Link Here
1
bin/off
2
bin/ofr
3
bin/ofr_sfx
4
bin/ofs
5
include/OptimFROG/OptimFROG.h
6
include/OptimFROG/OptimFROGDecoder.h
7
include/OptimFROG/PortableTypes.h
8
include/OptimFROG/SystemID.h
9
lib/libOptimFROG.so
10
lib/libOptimFROG.so.0
11
libdata/pkgconfig/optimfrog.pc
(-)audio/optimfrog-sse2/Makefile (+11 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
MASTERDIR=	${.CURDIR}/../optimfrog
4
COMMENT=	Best-ratio lossless audio codec (SSE2 required)
5
6
INSTALL_CONFLICTS=	optimfrog-[0-9]*
7
8
ONLY_FOR_ARCHS=	i386
9
OPTIONS_DEFAULT=	SSE2
10
11
.include "${MASTERDIR}/Makefile"

Return to bug 204830