ports/51013: New Port: avidemux2
Anish Mistry
mistry.7 at osu.edu
Tue Nov 11 09:00:44 UTC 2003
The following reply was made to PR ports/51013; it has been noted by GNATS.
From: Anish Mistry <mistry.7 at osu.edu>
To: freebsd-gnats-submit at FreeBSD.org, linimon at lonesome.com
Cc:
Subject: Re: ports/51013: New Port: avidemux2
Date: Tue, 11 Nov 2003 03:48:31 -0500
--Boundary-00=_fJKs/jYODtgctr+
Content-Type: multipart/signed;
charset="us-ascii";
protocol="application/pgp-signature";
micalg=pgp-sha1;
boundary="Boundary-02=_mJKs/ZjYv4eK5OZ";
name=" "
Content-Transfer-Encoding: 7bit
--Boundary-02=_mJKs/ZjYv4eK5OZ
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Description: signed data
Content-Disposition: inline
Updated shell archive attached.
=2D-=20
Anish Mistry
--Boundary-02=_mJKs/ZjYv4eK5OZ
Content-Type: application/pgp-signature
Content-Description: signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)
iD8DBQA/sKJmxqA5ziudZT0RAh6NAKDTUut2g+cHBXFwoZa+znwaP0hJ6wCgs+K5
Hqff6A41OljtRL4odQdtJgU=
=6m0I
-----END PGP SIGNATURE-----
--Boundary-02=_mJKs/ZjYv4eK5OZ--
--Boundary-00=_fJKs/jYODtgctr+
Content-Type: text/plain;
charset="us-ascii";
name="avidemux2.shar"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="avidemux2.shar"
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# avidemux2
# avidemux2/files
# avidemux2/pkg-plist
# avidemux2/Makefile
# avidemux2/pkg-descr
# avidemux2/pkg-message
# avidemux2/distinfo
#
echo c - avidemux2
mkdir -p avidemux2 > /dev/null 2>&1
echo c - avidemux2/files
mkdir -p avidemux2/files > /dev/null 2>&1
echo x - avidemux2/pkg-plist
sed 's/^X//' >avidemux2/pkg-plist << 'END-of-avidemux2/pkg-plist'
Xbin/avidemux2
END-of-avidemux2/pkg-plist
echo x - avidemux2/Makefile
sed 's/^X//' >avidemux2/Makefile << 'END-of-avidemux2/Makefile'
X# New ports collection makefile for: avidemux2
X# Date created: 16 April 2003
X# Whom: Anish Mistry
X# with help from mean
X# $FreeBSD$
X#
X
XPORTNAME= avidemux2
XPORTVERSION= 2.0.18
XCATEGORIES= multimedia
XMASTER_SITES= http://fixounet.free.fr/avidemux/
XDISTNAME= avidemux-2.0.18
XEXTRACT_SUFX= .tar.gz
X
XMAINTAINER= amistry at am-productions.biz
XCOMMENT= Simple GUI based video editor
X
XLIB_DEPENDS= mp3lame.0:${PORTSDIR}/audio/lame \
X mad.1:${PORTSDIR}/audio/mad \
X freetype.9:${PORTSDIR}/print/freetype2 \
X gtk-x11-2.0:${PORTSDIR}/x11-toolkits/gtk20 \
X xml.5:${PORTSDIR}/textproc/libxml2
XBUILD_DEPENDS= \
X ${X11BASE}/include/X11/extensions/Xvlib.h:${PORTSDIR}/graphics/xv
X
XUSE_REINPLACE= yes
XUSE_X_PREFIX= yes
XUSE_LIBTOOL= yes
XUSE_GNOMENG= yes
XUSE_GNOME= gnomeprefix gnomehack gtk20
XUSE_GLIB= yes
XGNU_CONFIGURE= yes
XCONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include \
X -I${LOCALBASE}/include/ffmpeg \
X -I${LOCALBASE}/include/a52dec" \
X LIBFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
X LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
X PTHREAD_LIBS=${PTHREAD_LIBS} \
X PTHREAD_CFLAGS=${PTHREAD_CFLAGS}
XCONFIGURE_ARGS= --disable-warnings
XUSE_GMAKE= yes
X
X.if exists(${LOCALBASE}/bin/mpeg2enc)
XWITH_MPEGENC= yes
X.endif
X
X.if exists(${LOCALBASE}/lib/liba52.so.0)
XWITH_A52= yes
X.endif
X
X.if exists(${LOCALBASE}/lib/libxvidcore.so.0)
XWITH_XVID= yes
X.endif
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_MPEGENC)
XRUN_DEPENDS+= mpeg2enc:${PORTSDIR}/multimedia/mjpegtools
X.endif
X
X.if defined(WITH_XVID)
XLIB_DEPENDS+= xvidcore.0:${PORTSDIR}/multimedia/xvid
XCONFIGURE_ARGS+= --with-xvid-as-decoder
X.endif
X
X.if ${MACHINE_ARCH} != "i386"
XCONFIGURE_ARGS+= --disable-mmx
X.endif
X
X.if defined(WITH_A52)
XLIB_DEPENDS+= a52.0:${PORTSDIR}/audio/liba52
X.endif
X
Xpre-everything::
X.if !defined(WITH_MPEGENC)
X @${ECHO_MSG} "To enable mpeg support define WITH_MPEGENC."
X.endif
X
X.if !defined(WITH_XVID)
X @${ECHO_MSG} "To enable xvid as the decoder define WITH_XVID."
X.endif
X
X.if !defined(WITH_A52)
X @${ECHO_MSG} "To enable A/52 support define WITH_A52."
X.endif
X
Xpost-patch:
X @${TOUCH} ${WRKSRC}/*
X @${REINPLACE_CMD} 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure ${WRKSRC}/*/*/Makefile
Xpost-configure:
X# @${SH} ${WRKSRC}/buildLavCodec.sh
X
X.include <bsd.port.post.mk>
END-of-avidemux2/Makefile
echo x - avidemux2/pkg-descr
sed 's/^X//' >avidemux2/pkg-descr << 'END-of-avidemux2/pkg-descr'
XAn simple video editor that is built around Xvid and ffmpeg. Contains
Xvarious filters for deinterlacing, cropping, resizing, etc. Allows for
Xcutting without re-encoding. Has the ability to re-encode and re-sample.
X
XWWW: http://fixounet.free.fr/avidemux/
X
X- Anish Mistry
Xamistry at am-productions.biz
XAM Productions http://am-productions.biz
END-of-avidemux2/pkg-descr
echo x - avidemux2/pkg-message
sed 's/^X//' >avidemux2/pkg-message << 'END-of-avidemux2/pkg-message'
XRemove any encore2.h, encore.h, and decore.h that you may have moved to the
X${PREFIX}/include directory since it may cause the built program to crash
Xwhen opening a file.
END-of-avidemux2/pkg-message
echo x - avidemux2/distinfo
sed 's/^X//' >avidemux2/distinfo << 'END-of-avidemux2/distinfo'
XMD5 (avidemux-2.0.18.tar.gz) = 5236a00d4a56b25df2c5f28fa8a40ce8
END-of-avidemux2/distinfo
exit
--Boundary-00=_fJKs/jYODtgctr+--
More information about the freebsd-ports-bugs
mailing list