diff options
author | Thomas Zander <riggs@FreeBSD.org> | 2016-01-02 15:54:07 +0000 |
---|---|---|
committer | Thomas Zander <riggs@FreeBSD.org> | 2016-01-02 15:54:07 +0000 |
commit | b6304e01cdca514d5be99fa977b38741e8328fa1 (patch) | |
tree | 413bb49b4844cfb88567825a946b6b6166b7529a /audio/optimfrog | |
parent | 87d6f762bedd3aaed9519d63e44e365d8ced4040 (diff) | |
download | ports-b6304e01cdca514d5be99fa977b38741e8328fa1.tar.gz ports-b6304e01cdca514d5be99fa977b38741e8328fa1.zip |
Notes
Diffstat (limited to 'audio/optimfrog')
-rw-r--r-- | audio/optimfrog/Makefile | 49 | ||||
-rw-r--r-- | audio/optimfrog/distinfo | 8 | ||||
-rw-r--r-- | audio/optimfrog/pkg-plist | 11 |
3 files changed, 51 insertions, 17 deletions
diff --git a/audio/optimfrog/Makefile b/audio/optimfrog/Makefile index 2afe0dec5d8f..0384f3fa8002 100644 --- a/audio/optimfrog/Makefile +++ b/audio/optimfrog/Makefile @@ -1,26 +1,45 @@ -# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org> # $FreeBSD$ PORTNAME= optimfrog -DISTVERSION= 4.520b1 -CATEGORIES= audio linux -MASTER_SITES= http://www.losslessaudio.org/DownloadNew/OptimFROG_All_Linux_x86_${DISTVERSION:S/.//}.php? -DISTNAME= OptimFROG_All_Linux_x86_${DISTVERSION:S/.//} +PORTVERSION= 5.003 +CATEGORIES= audio +MASTER_SITES= http://losslessaudio.org/Downloads/A1C0/${DISTVERSION:S/.//}/FreeBSD/ +DISTNAME= # OptimFROG_FreeBSD_${ARCH}_${DISTVERSION:S/.//} -MAINTAINER= ports@FreeBSD.org -COMMENT= Lossless audio codec +MAINTAINER= matthew@reztek.cz +COMMENT?= Best-ratio lossless audio codec -ONLY_FOR_ARCHS= amd64 i386 +LICENSE= OptimFROG +LICENSE_NAME= OptimFROG - License +LICENSE_FILE= ${WRKSRC}/license.html #only available as html file +LICENSE_PERMS= dist-mirror pkg-mirror auto-accept + +INSTALL_CONFLICTS?= optimfrog-sse2-[0-9]* + +ONLY_FOR_ARCHS?= amd64 i386 NO_CDROM= No commercial use NO_BUILD= yes -USES= zip -USE_LINUX= yes -PLIST_FILES= bin/off bin/ofr bin/ofs -FETCH_ARGS= -o ${DISTDIR}/${DISTFILES} +USE_LDCONFIG= yes + +OPTIONS_DEFINE_i386= SSE2 +OPTIONS_DEFINE?= # +SSE2_DESCR= Use SSE2 instructions +SSE2_VARS= PKGNAMESUFFIX=-sse2 + +.include <bsd.port.pre.mk> + +.if ${ARCH} == "amd64" +DISTNAME= OptimFROG_FreeBSD_x64_${DISTVERSION:S/.//} +.else # ${ARCH} == "i386" +. if ${PORT_OPTIONS:MSSE2} +DISTNAME= OptimFROG_FreeBSD_x86_SSE2_${DISTVERSION:S/.//} +. else +DISTNAME= OptimFROG_FreeBSD_x86_${DISTVERSION:S/.//} +. endif +.endif do-install: - @${BRANDELF} -t Linux ${WRKSRC}/off ${WRKSRC}/ofr ${WRKSRC}/ofs - @${INSTALL_PROGRAM} ${WRKSRC}/off ${WRKSRC}/ofr ${WRKSRC}/ofs ${STAGEDIR}${PREFIX}/bin/ + @(cd ${WRKSRC} && ./install.sh -d ${STAGEDIR}) -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/audio/optimfrog/distinfo b/audio/optimfrog/distinfo index 66e6bb187351..d7a8a720ac02 100644 --- a/audio/optimfrog/distinfo +++ b/audio/optimfrog/distinfo @@ -1,2 +1,6 @@ -SHA256 (OptimFROG_All_Linux_x86_4520b1.zip) = 69d2aeb581be15278920576cc35b5398c1d22d79abf017bedc04f8aba295710d -SIZE (OptimFROG_All_Linux_x86_4520b1.zip) = 1171509 +SHA256 (OptimFROG_FreeBSD_x64_5003.tar.gz) = 8fdf1c9314be45677b6fba521ead09aa0ff37fc3477076030a7ecb93646025cd +SIZE (OptimFROG_FreeBSD_x64_5003.tar.gz) = 1033888 +SHA256 (OptimFROG_FreeBSD_x86_5003.tar.gz) = 94f6afcac8c7e249b4c666a8c69fd2d8acd541a2bb510b5a23326722c278670f +SIZE (OptimFROG_FreeBSD_x86_5003.tar.gz) = 981489 +SHA256 (OptimFROG_FreeBSD_x86_SSE2_5003.tar.gz) = 32c8bc83928a5f4bc19b9ad40e65f218fabdcf9d251fa63066bc1077374c13e9 +SIZE (OptimFROG_FreeBSD_x86_SSE2_5003.tar.gz) = 987641 diff --git a/audio/optimfrog/pkg-plist b/audio/optimfrog/pkg-plist new file mode 100644 index 000000000000..266f761613a6 --- /dev/null +++ b/audio/optimfrog/pkg-plist @@ -0,0 +1,11 @@ +bin/off +bin/ofr +bin/ofr_sfx +bin/ofs +include/OptimFROG/OptimFROG.h +include/OptimFROG/OptimFROGDecoder.h +include/OptimFROG/PortableTypes.h +include/OptimFROG/SystemID.h +lib/libOptimFROG.so +lib/libOptimFROG.so.0 +libdata/pkgconfig/optimfrog.pc |