aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2012-08-21 16:27:01 +0800
committerdanfe <danfe@FreeBSD.org>2012-08-21 16:27:01 +0800
commitbe433dd358f291a876115c6401db39e5d4e6d121 (patch)
treec506e54577173c7cbd85b726ac4ded503e702fc3 /multimedia
parentbd68f7789ed90255a8001ebb135b9dbd921bb7b3 (diff)
downloadfreebsd-ports-gnome-be433dd358f291a876115c6401db39e5d4e6d121.tar.gz
freebsd-ports-gnome-be433dd358f291a876115c6401db39e5d4e6d121.tar.zst
freebsd-ports-gnome-be433dd358f291a876115c6401db39e5d4e6d121.zip
Sanitize Makefile formatting (and, to a less extent, port description).
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/handbrake/Makefile73
-rw-r--r--multimedia/handbrake/pkg-descr22
2 files changed, 45 insertions, 50 deletions
diff --git a/multimedia/handbrake/Makefile b/multimedia/handbrake/Makefile
index 36e213dd5b4b..87a3496c21c2 100644
--- a/multimedia/handbrake/Makefile
+++ b/multimedia/handbrake/Makefile
@@ -1,37 +1,37 @@
-# New ports collection makefile for: handbrake
-# Date created: 19 November 2004
-# Whom: Andrew Thompson <andy@fud.org.nz>
+# New ports collection makefile for: HandBrake
+# Date created: 19 November 2004
+# Whom: Andrew Thompson <andy@fud.org.nz>
#
# $FreeBSD$
#
-PORTNAME= handbrake
+PORTNAME= handbrake
PORTVERSION= 0.9.3
PORTREVISION= 1
-CATEGORIES= multimedia
-MASTER_SITES= LOCAL/beech/handbrake/:main \
- LOCAL/beech/handbrake/:contrib
-DISTFILES= HandBrake-${PORTVERSION}.tar.gz:main \
- a52dec-0.7.4.tar.gz:contrib \
- faad2-2.6.1.tar.gz:contrib \
- ffmpeg-r15462.tar.gz:contrib \
- libdca-r81-strapped.tar.gz:contrib \
- libdvdread-0.9.7.tar.gz:contrib \
- faac-1.26.tar.gz:contrib \
- lame-3.98.tar.gz:contrib \
- libmp4v2-r45.tar.gz:contrib \
- libmkv-0.6.3.tar.gz:contrib \
- mpeg2dec-0.5.1.tar.gz:contrib \
- libogg-1.1.3.tar.gz:contrib \
- libsamplerate-0.1.4.tar.gz:contrib \
- libvorbis-aotuv_b5.tar.gz:contrib \
- libtheora-1.0.tar.gz:contrib \
- x264-r1028-83baa7f.tar.gz:contrib \
- xvidcore-1.1.3.tar.gz:contrib
+CATEGORIES= multimedia
+MASTER_SITES= LOCAL/beech/handbrake/:main \
+ LOCAL/beech/handbrake/:contrib
+DISTFILES= HandBrake-${PORTVERSION}.tar.gz:main \
+ a52dec-0.7.4.tar.gz:contrib \
+ faad2-2.6.1.tar.gz:contrib \
+ ffmpeg-r15462.tar.gz:contrib \
+ libdca-r81-strapped.tar.gz:contrib \
+ libdvdread-0.9.7.tar.gz:contrib \
+ faac-1.26.tar.gz:contrib \
+ lame-3.98.tar.gz:contrib \
+ libmp4v2-r45.tar.gz:contrib \
+ libmkv-0.6.3.tar.gz:contrib \
+ mpeg2dec-0.5.1.tar.gz:contrib \
+ libogg-1.1.3.tar.gz:contrib \
+ libsamplerate-0.1.4.tar.gz:contrib \
+ libvorbis-aotuv_b5.tar.gz:contrib \
+ libtheora-1.0.tar.gz:contrib \
+ x264-r1028-83baa7f.tar.gz:contrib \
+ xvidcore-1.1.3.tar.gz:contrib
DIST_SUBDIR= handbrake
-MAINTAINER= ports@FreeBSD.org
-COMMENT= A DVD to MPEG-4 ripper and encoder
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Open-source, multiplatform, multithreaded video transcoder
BUILD_DEPENDS= jam:${PORTSDIR}/devel/jam
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2
@@ -43,7 +43,7 @@ USE_AUTOTOOLS= libtool aclocal
LIBTOOLFILES= configure
-WRKSRC= ${WRKDIR}/HandBrake-0.9.3
+WRKSRC= ${WRKDIR}/HandBrake-${PORTVERSION}
PLIST_FILES= bin/handbrake
ONLY_FOR_ARCHS= i386
@@ -53,8 +53,8 @@ APPLY?= /usr/bin/apply
.include <bsd.port.pre.mk>
-# nasm/yasm needed by x264
-.if ${ARCH}=="i386"
+# nasm/yasm is needed for x264
+.if ${ARCH} == "i386"
BUILD_DEPENDS+= nasm:${PORTSDIR}/devel/nasm
.else
BUILD_DEPENDS+= yasm>=0.6.0:${PORTSDIR}/devel/yasm
@@ -99,24 +99,19 @@ post-patch:
${WRKSRC}/contrib/Jamfile
# Following multimedia/x264 replace X86 with i386 and X86_64 with amd64
# This appears to be an issue only when building within the ports system
- @${REINPLACE_CMD} -E \
- -e 's|,X86)|,i386)|g' \
- -e 's|,X86_64)|,amd64)|g' \
+ @${REINPLACE_CMD} -E 's|,X86)|,i386)|g ; s|,X86_64)|,amd64)|g' \
${WRKSRC}/contrib/x264/Makefile
# The following patch fixes CPU count detection
- @${REINPLACE_CMD} -E \
- -e 's|/usr/sbin/sysctl|/sbin/sysctl|g' \
+ @${REINPLACE_CMD} -E 's|/usr/sbin/sysctl|/sbin/sysctl|g' \
${WRKSRC}/libhb/ports.c
# Set release version so we don't depend on subversion
- @${REINPLACE_CMD} -E \
- -e 's|`svnversion`|0.9.3_freebsd-ports|g' \
+ @${REINPLACE_CMD} -E 's|`svnversion`|0.9.3_freebsd-ports|g' \
${WRKSRC}/configure
- @${REINPLACE_CMD} -E \
- -e 's|\$$\(HB_VERSION\)|0.9.3_freebsd-ports|g' \
+ @${REINPLACE_CMD} -E 's|\$$\(HB_VERSION\)|0.9.3_freebsd-ports|g' \
${WRKSRC}/Makefile
do-build:
- @(cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${JAM} -q)
+ @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${JAM} -q)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/HandBrakeCLI ${PREFIX}/bin/handbrake
diff --git a/multimedia/handbrake/pkg-descr b/multimedia/handbrake/pkg-descr
index 475f3c8d2f46..d174aae12509 100644
--- a/multimedia/handbrake/pkg-descr
+++ b/multimedia/handbrake/pkg-descr
@@ -1,21 +1,21 @@
HandBrake is an open-source, GPL-licensed, multiplatform, multithreaded video
-transcoder, available for MacOS X, Linux and Windows (...and FreeBSD).
+transcoder with rich selection of features.
Supported sources:
* Any DVD-like source: VIDEO_TS folder, DVD image or real DVD
- (unencrypted--protection methods including CSS are not supported internally
- and must be handled externally with third-party software and libraries), and
- some .VOB and .TS files
- * Most any multimedia file it can get libavformat to
- read and libavcodec to decode.
+ (unencrypted: protection methods including CSS are not supported
+ internally and must be handled externally with third-party software
+ and libraries), and some .VOB and .TS files
+ * Most any multimedia file it can get libavformat to read and
+ libavcodec to decode.
Outputs:
- * File format: MP4, MKV, AVI or OGM
- * Video: MPEG-4, H.264, or Theora (1 or 2 passes or constant quantizer/rate
- encoding)
- * Audio: AAC, MP3, Vorbis or AC-3 pass-through (supports encoding of several
- audio tracks)
+ * File format: MP4, MKV, AVI, or OGM
+ * Video: MPEG-4, H.264, or Theora (1 or 2 passes or constant
+ quantizer/rate encoding)
+ * Audio: AAC, MP3, Vorbis or AC-3 pass-through (supports encoding
+ of several audio tracks)
WWW: http://handbrake.fr/