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

Collapse All | Expand All

(-)Makefile (+1 lines)
Lines 533-538 Link Here
533
    SUBDIR += opencore-amr
533
    SUBDIR += opencore-amr
534
    SUBDIR += openspc
534
    SUBDIR += openspc
535
    SUBDIR += optimfrog
535
    SUBDIR += optimfrog
536
    SUBDIR += optimfrog-sse2
536
    SUBDIR += opus
537
    SUBDIR += opus
537
    SUBDIR += opus-tools
538
    SUBDIR += opus-tools
538
    SUBDIR += opusfile
539
    SUBDIR += opusfile
(-)optimfrog/Makefile (-15 / +34 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
LICENSE=	OptimFROG
13
LICENSE_NAME=	OptimFROG - License
14
LICENSE_FILE=	${WRKSRC}/license.html	#only available as html file
15
LICENSE_PERMS=	dist-mirror pkg-mirror auto-accept
14
16
17
INSTALL_CONFLICTS?=	optimfrog-sse2-[0-9]*
18
19
ONLY_FOR_ARCHS?=	amd64 i386
20
15
NO_CDROM=	No commercial use
21
NO_CDROM=	No commercial use
16
NO_BUILD=	yes
22
NO_BUILD=	yes
17
USES=		zip
23
USE_LDCONFIG=	yes
18
USE_LINUX=	yes
19
PLIST_FILES=	bin/off bin/ofr bin/ofs
20
FETCH_ARGS=	-o ${DISTDIR}/${DISTFILES}
21
24
25
OPTIONS_DEFINE_i386=	SSE2
26
OPTIONS_DEFINE?=	#
27
SSE2_DESCR=	Use SSE2 instructions
28
SSE2_VARS=	PKGNAMESUFFIX=-sse2
29
30
.include <bsd.port.pre.mk>
31
32
.if ${ARCH} == "amd64"
33
DISTNAME=	OptimFROG_FreeBSD_x64_${DISTVERSION:S/.//}
34
.else # ${ARCH} == "i386"
35
. if ${PORT_OPTIONS:MSSE2}
36
DISTNAME=	OptimFROG_FreeBSD_x86_SSE2_${DISTVERSION:S/.//}
37
. else
38
DISTNAME=	OptimFROG_FreeBSD_x86_${DISTVERSION:S/.//}
39
. endif
40
.endif
41
22
do-install:
42
do-install:
23
	@${BRANDELF} -t Linux ${WRKSRC}/off ${WRKSRC}/ofr ${WRKSRC}/ofs
43
	@(cd ${WRKSRC} && ./install.sh -d ${STAGEDIR})
24
	@${INSTALL_PROGRAM} ${WRKSRC}/off ${WRKSRC}/ofr ${WRKSRC}/ofs ${STAGEDIR}${PREFIX}/bin/
25
44
26
.include <bsd.port.mk>
45
.include <bsd.port.post.mk>
(-)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
(-)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
(-)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