ports/90892: New port: multimedia/motion

Angel Carpintero ack at telefonica.net
Sun Dec 25 01:30:12 UTC 2005


>Number:         90892
>Category:       ports
>Synopsis:       New port: multimedia/motion
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 25 01:30:10 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Angel Carpintero
>Release:        5.4-RELEASE
>Organization:
>Environment:
FreeBSD motion.local.house 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May  8 10:21:06 UTC 2005     root at harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Add multimedia/motion new port.
>How-To-Repeat:
              
>Fix:
Also available : 

http://www.lavrsen.dk/twiki/pub/Motion/FreeBSDPatch/new-motion-port.shar.gz

# 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:
#
#       /usr/ports/multimedia/motion/
#       /usr/ports/multimedia/motion/Makefile
#       /usr/ports/multimedia/motion/pkg-descr
#       /usr/ports/multimedia/motion/pkg-plist
#       /usr/ports/multimedia/motion/distinfo
#
echo c - /usr/ports/multimedia/motion/
mkdir -p /usr/ports/multimedia/motion/ > /dev/null 2>&1
echo x - /usr/ports/multimedia/motion/Makefile
sed 's/^X//' >/usr/ports/multimedia/motion/Makefile << 'END-of-/usr/ports/multimedia/motion/Makefile'
X# New ports collection makefile for:  motion
X# Date created:                22 Dec 2005
X# Whom:        Angel Carpintero <ack at telefonica.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=      motion
XPORTVERSION=   3.2.4
XPORTREVISION=  1
XCATEGORIES=  multimedia
XMASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=    motion
X
XPATCH_SITES= http://www.lavrsen.dk/twiki/pub/Motion/FreeBSDPatch/
XPATCHFILES= motion-3.2.5-daily.diff.gz motion-3.2.4-port-configure-patch.diff.gz
XPATCH_DIST_STRIP=      -p1
X
XMAINTAINER= ack at telefonica.net
XCOMMENT= Motion detection application
X
XLIB_DEPENDS=   jpeg.9:${PORTSDIR}/graphics/jpeg \
X               avcodec.1:${PORTSDIR}/multimedia/ffmpeg
X
XONLY_FOR_ARCHS= i386 amd64
X
XCONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
X
XMAN1=          motion.1
XMANCOMPRESSED= no
X
XUSE_AUTOTOOLS=  autoconf:259
XGNU_CONFIGURE= yes
XUSE_GMAKE=     yes
XUSE_GCC=       3.4+
X
XOPTIONS=BKTR "Support for TV Capture cards" on
X
X.include <bsd.port.pre.mk>
X
X.if !defined(WITH_BKTR)
XCFLAGS+=-DWITHOUT_V4L
X.endif
X
X.if ${OSVERSION} > 500000
XLIB_DEPENDS+=  lthread.[35]:${PORTSDIR}/devel/linuxthreads
X.else
XLIB_DEPENDS+=  lthread.[24]:${PORTSDIR}/devel/linuxthreads
X.endif
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X       ${MKDIR} ${DOCSDIR}
X       ${INSTALL_MAN} ${WRKSRC}/CHANGELOG ${WRKSRC}/COPYING ${WRKSRC}/CREDITS ${WRKSRC}/INSTALL ${WRKSRC}/README.FreeBSD ${WRKSRC}/README
${WRKSRC}/motion_guide.html ${DOCSDIR}
X       ${MKDIR} ${EXAMPLESDIR}
X       ${INSTALL_MAN} ${WRKSRC}/motion-dist.conf ${WRKSRC}/motion.init-FreeBSD.sh ${WRKSRC}/thread1.conf ${WRKSRC}/thread2.conf ${WRKSRC}/thread3.conf ${WRKSRC}/thread4.conf ${EXAMPLESDIR}
X.endif
X
X.include <bsd.port.post.mk>
END-of-/usr/ports/multimedia/motion/Makefile
echo x - /usr/ports/multimedia/motion/pkg-descr
sed 's/^X//' >/usr/ports/multimedia/motion/pkg-descr << 'END-of-/usr/ports/multimedia/motion/pkg-descr'
XThis is a port of motion , this version works with network cameras
X and with any capture devices that supports BKTR with composite and
X svideo inputs ( tuner support is not yet implemented ).
X
XWWW: http://motion.sf.net
END-of-/usr/ports/multimedia/motion/pkg-descr
echo x - /usr/ports/multimedia/motion/pkg-plist
sed 's/^X//' >/usr/ports/multimedia/motion/pkg-plist << 'END-of-/usr/ports/multimedia/motion/pkg-plist'
Xbin/motion
Xetc/motion.conf.sample
X%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
X%%PORTDOCS%%%%DOCSDIR%%/COPYING
X%%PORTDOCS%%%%DOCSDIR%%/CREDITS
X%%PORTDOCS%%%%DOCSDIR%%/INSTALL
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%%%DOCSDIR%%/README.FreeBSD
X%%PORTDOCS%%%%DOCSDIR%%/motion_guide.html
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X%%PORTDOCS%%%%EXAMPLESDIR%%/motion-dist.conf
X%%PORTDOCS%%%%EXAMPLESDIR%%/motion.init-FreeBSD.sh
X%%PORTDOCS%%%%EXAMPLESDIR%%/thread1.conf
X%%PORTDOCS%%%%EXAMPLESDIR%%/thread2.conf
X%%PORTDOCS%%%%EXAMPLESDIR%%/thread3.conf
X%%PORTDOCS%%%%EXAMPLESDIR%%/thread4.conf
X%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
END-of-/usr/ports/multimedia/motion/pkg-plist
echo x - /usr/ports/multimedia/motion/distinfo
sed 's/^X//' >/usr/ports/multimedia/motion/distinfo << 'END-of-/usr/ports/multimedia/motion/distinfo'
XMD5 (motion-3.2.4.tar.gz) = ce0a4f5cea6c59ebd7b2d12a5f95b07d
XSIZE (motion-3.2.4.tar.gz) = 360850
XMD5 (motion-3.2.5-daily.diff.gz) = 70573499028138f37254ae507326ab77
XSIZE (motion-3.2.5-daily.diff.gz) = 23328
XMD5 (motion-3.2.4-port-configure-patch.diff.gz) = 2da6c66ac4662081e6bf3dc02366dbe7
XSIZE (motion-3.2.4-port-configure-patch.diff.gz) = 2656
END-of-/usr/ports/multimedia/motion/distinfo
exit
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list