diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2005-12-26 05:55:42 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2005-12-26 05:55:42 +0800 |
commit | eda26c3453be35690aea9fd1918020cbe45376e3 (patch) | |
tree | 8374c0ef652b09202e703f6ebbc2996dc26c26dc /multimedia | |
parent | f2bdb9766f49233d451289fc36c1c292712f5942 (diff) | |
download | freebsd-ports-gnome-eda26c3453be35690aea9fd1918020cbe45376e3.tar.gz freebsd-ports-gnome-eda26c3453be35690aea9fd1918020cbe45376e3.tar.zst freebsd-ports-gnome-eda26c3453be35690aea9fd1918020cbe45376e3.zip |
Add motion 3.2.4, a motion detection application.
PR: 90892
Submitted by: Angel Carpintero <ack@telefonica.net>
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/Makefile | 1 | ||||
-rw-r--r-- | multimedia/motion/Makefile | 80 | ||||
-rw-r--r-- | multimedia/motion/distinfo | 9 | ||||
-rw-r--r-- | multimedia/motion/pkg-descr | 5 | ||||
-rw-r--r-- | multimedia/motion/pkg-plist | 11 |
5 files changed, 106 insertions, 0 deletions
diff --git a/multimedia/Makefile b/multimedia/Makefile index 3c728adb3a3e..8c0fdfee1715 100644 --- a/multimedia/Makefile +++ b/multimedia/Makefile @@ -109,6 +109,7 @@ SUBDIR += mkxvcd SUBDIR += mmpython SUBDIR += mmsclient + SUBDIR += motion SUBDIR += mpeg SUBDIR += mpeg2codec SUBDIR += mpeg2play diff --git a/multimedia/motion/Makefile b/multimedia/motion/Makefile new file mode 100644 index 000000000000..3c78d73cf828 --- /dev/null +++ b/multimedia/motion/Makefile @@ -0,0 +1,80 @@ +# New ports collection makefile for: motion +# Date created: 22 Dec 2005 +# Whom: Angel Carpintero <ack@telefonica.net> +# +# $FreeBSD$ +# + +PORTNAME= motion +PORTVERSION= 3.2.4 +CATEGORIES= multimedia +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= motion + +PATCH_SITES= http://www.lavrsen.dk/twiki/pub/Motion/FreeBSDPatch/ +PATCHFILES= motion-3.2.5-daily.diff.gz motion-3.2.4-port-configure-patch.diff.gz +PATCH_DIST_STRIP= -p1 + +MAINTAINER= ack@telefonica.net +COMMENT= A motion detection application + +LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ + avcodec.1:${PORTSDIR}/multimedia/ffmpeg + +ONLY_FOR_ARCHS= i386 amd64 + +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} + +MAN1= motion.1 + +USE_AUTOTOOLS= autoconf:259 +GNU_CONFIGURE= yes +USE_GMAKE= yes +MANCOMPRESSED= no +USE_GCC= 3.4+ + +MAN1= motion.1 +PORTDOCS= CHANGELOG CREDITS README.FreeBSD README \ + motion_guide.html +EXAMPLES= motion-dist.conf motion.init-FreeBSD.sh thread1.conf \ + thread2.conf thread3.conf thread4.conf + +OPTIONS= BKTR "Support for TV Capture cards" on + +MAKE_ENV+= CC="${CC}" + +.include <bsd.port.pre.mk> + +.if !defined(WITH_BKTR) +CFLAGS+= -DWITHOUT_V4L +.endif + +.if ${OSVERSION} > 500000 +LIB_DEPENDS+= lthread.[35]:${PORTSDIR}/devel/linuxthreads +.else +LIB_DEPENDS+= lthread.[24]:${PORTSDIR}/devel/linuxthreads +.endif + +post-install: +.if !exists(${PREFIX}/etc/motion.conf) + ${INSTALL_DATA} ${PREFIX}/etc/motion.conf.sample ${PREFIX}/etc/motion.conf +.endif + ${MKDIR} ${EXAMPLESDIR} +.for f in ${EXAMPLES} + ${INSTALL_DATA} ${WRKSRC}/${f} ${EXAMPLESDIR} +.endfor + +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +.for f in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} +.endfor +.endif + +.if defined(WITH_BKTR) + @${ECHO_MSG} "===============================================================================" + @${ECHO_MSG} "Please make sure you have bktr(4) kernel support." + @${ECHO_MSG} "===============================================================================" +.endif + +.include <bsd.port.post.mk> diff --git a/multimedia/motion/distinfo b/multimedia/motion/distinfo new file mode 100644 index 000000000000..8f67c81c8bcb --- /dev/null +++ b/multimedia/motion/distinfo @@ -0,0 +1,9 @@ +MD5 (motion-3.2.4.tar.gz) = ce0a4f5cea6c59ebd7b2d12a5f95b07d +SHA256 (motion-3.2.4.tar.gz) = 31b862c9bafc3b1682627ca6e93bf8aa4559ec7f0385f0bf6dbceb91afee3530 +SIZE (motion-3.2.4.tar.gz) = 360850 +MD5 (motion-3.2.5-daily.diff.gz) = 70573499028138f37254ae507326ab77 +SHA256 (motion-3.2.5-daily.diff.gz) = 4675cbd141b3fc7b935a1d9590dde5ad055154fa81025720a3000e9aec7170bf +SIZE (motion-3.2.5-daily.diff.gz) = 23328 +MD5 (motion-3.2.4-port-configure-patch.diff.gz) = 2da6c66ac4662081e6bf3dc02366dbe7 +SHA256 (motion-3.2.4-port-configure-patch.diff.gz) = 4dd27e4899ab73f4e052a35981ff462427a1fc3a51fedefe3e41efaed45e198c +SIZE (motion-3.2.4-port-configure-patch.diff.gz) = 2656 diff --git a/multimedia/motion/pkg-descr b/multimedia/motion/pkg-descr new file mode 100644 index 000000000000..4889e9a1e53e --- /dev/null +++ b/multimedia/motion/pkg-descr @@ -0,0 +1,5 @@ +This is a port of motion, this version works with network cameras and with any +capture devices that supports bktr(4) with composite and svideo inputs. Tuner +support is not yet implemented. + +WWW: http://motion.sourceforge.net/ diff --git a/multimedia/motion/pkg-plist b/multimedia/motion/pkg-plist new file mode 100644 index 000000000000..6b2c971460df --- /dev/null +++ b/multimedia/motion/pkg-plist @@ -0,0 +1,11 @@ +bin/motion +@unexec if cmp -s %D/etc/motion.conf %D/etc/motion.conf.sample; then rm -f %D/etc/motion.conf; fi +etc/motion.conf.sample +@exec [ -f %B/motion.conf ] || cp %B/%f %B/motion.conf +%%EXAMPLESDIR%%/motion-dist.conf +%%EXAMPLESDIR%%/motion.init-FreeBSD.sh +%%EXAMPLESDIR%%/thread1.conf +%%EXAMPLESDIR%%/thread2.conf +%%EXAMPLESDIR%%/thread3.conf +%%EXAMPLESDIR%%/thread4.conf +@dirrm %%EXAMPLESDIR%% |