aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-11-30 11:27:19 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-11-30 11:27:19 +0000
commit5560cc299bbe29b3a137123856a58e1775872103 (patch)
treeb08bfe9b3155e27cc465d715bf94a2e84115d593 /multimedia
parent9012e8830a100e73afef976cc7fdc353629b316a (diff)
downloadports-5560cc299bbe29b3a137123856a58e1775872103.tar.gz
ports-5560cc299bbe29b3a137123856a58e1775872103.zip
Notes
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/motion/Makefile12
-rw-r--r--multimedia/motion/distinfo12
2 files changed, 15 insertions, 9 deletions
diff --git a/multimedia/motion/Makefile b/multimedia/motion/Makefile
index 199426d2499d..b3f4b2e9892f 100644
--- a/multimedia/motion/Makefile
+++ b/multimedia/motion/Makefile
@@ -6,13 +6,13 @@
#
PORTNAME= motion
-PORTVERSION= 3.2.6
+PORTVERSION= 3.2.7
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.6.port-freebsd.diff.gz
+PATCHFILES= motion-3.2.7.port-freebsd.diff.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= ack@telefonica.net
@@ -39,7 +39,8 @@ PORTDOCS= CHANGELOG CREDITS README.FreeBSD README \
EXAMPLES= motion-dist.conf motion.init-FreeBSD.sh thread1.conf \
thread2.conf thread3.conf thread4.conf
-OPTIONS= BKTR "Support for TV Capture cards" on
+OPTIONS= BKTR "Support for TV Capture cards" on \
+ LINUXTHREADS "Use LinuxThreads" off
MAKE_ENV+= CC="${CC}"
@@ -49,12 +50,17 @@ MAKE_ENV+= CC="${CC}"
CFLAGS+= -DWITHOUT_V4L
.endif
+.if defined(WITH_LINUXTHREADS) || ${OSVERSION} < 504000
+CONFIGURE_ARGS= --with-linuxthreads
+
.if ${OSVERSION} > 500000
LIB_DEPENDS+= lthread.[35]:${PORTSDIR}/devel/linuxthreads
.else
LIB_DEPENDS+= lthread.[24]:${PORTSDIR}/devel/linuxthreads
.endif
+.endif
+
post-install:
.if !exists(${PREFIX}/etc/motion.conf)
${INSTALL_DATA} ${PREFIX}/etc/motion.conf.sample ${PREFIX}/etc/motion.conf
diff --git a/multimedia/motion/distinfo b/multimedia/motion/distinfo
index aea0871610bd..d8a40c3f90f4 100644
--- a/multimedia/motion/distinfo
+++ b/multimedia/motion/distinfo
@@ -1,6 +1,6 @@
-MD5 (motion-3.2.6.tar.gz) = 71e6bd13fcca70372e9b7c7806d62b30
-SHA256 (motion-3.2.6.tar.gz) = 48c456dfcadec2db472320e317fa37dc697f184e12f99006a1ec0b6512d2ebcd
-SIZE (motion-3.2.6.tar.gz) = 363174
-MD5 (motion-3.2.6.port-freebsd.diff.gz) = 940abcb48cc9a6b971730748204f2510
-SHA256 (motion-3.2.6.port-freebsd.diff.gz) = a0a83fe1c4e47e15cd2cec2cfc5eb1b45263fb8356a71c9a3742a7301b3786d4
-SIZE (motion-3.2.6.port-freebsd.diff.gz) = 20170
+MD5 (motion-3.2.7.tar.gz) = b4af6e10532fcdec89060bc61a27fc3a
+SHA256 (motion-3.2.7.tar.gz) = 9ae4e8145b367d9ff0ffd607da597aee3439d23939f3ee28268bc831f71252f2
+SIZE (motion-3.2.7.tar.gz) = 370830
+MD5 (motion-3.2.7.port-freebsd.diff.gz) = 99a8e8209a3c84c901945a3bd7030dd9
+SHA256 (motion-3.2.7.port-freebsd.diff.gz) = 44f0ef82dd2e6e01546e13de1558f93edc026dae84bdfe11cb79febaf432e5a2
+SIZE (motion-3.2.7.port-freebsd.diff.gz) = 3123