From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jun 19 12:50:02 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E6F8106564A for ; Thu, 19 Jun 2008 12:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 340F48FC20 for ; Thu, 19 Jun 2008 12:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m5JCo10U057801 for ; Thu, 19 Jun 2008 12:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m5JCo1WZ057800; Thu, 19 Jun 2008 12:50:01 GMT (envelope-from gnats) Resent-Date: Thu, 19 Jun 2008 12:50:01 GMT Resent-Message-Id: <200806191250.m5JCo1WZ057800@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Angel Carpintero Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 207891065676 for ; Thu, 19 Jun 2008 12:40:15 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 08ADD8FC17 for ; Thu, 19 Jun 2008 12:40:15 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m5JCeEqM010859 for ; Thu, 19 Jun 2008 12:40:14 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m5JCeEuL010858; Thu, 19 Jun 2008 12:40:14 GMT (envelope-from nobody) Message-Id: <200806191240.m5JCeEuL010858@www.freebsd.org> Date: Thu, 19 Jun 2008 12:40:14 GMT From: Angel Carpintero To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/124757: [MAINTAINER] multimedia/motion fix NOPORTEXAMPLES handling X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jun 2008 12:50:02 -0000 >Number: 124757 >Category: ports >Synopsis: [MAINTAINER] multimedia/motion fix NOPORTEXAMPLES handling >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: Thu Jun 19 12:50:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Angel Carpintero >Release: 6.3-RELEASE-p1 >Organization: N/A >Environment: FreeBSD freebsd.local.house 6.3-RELEASE-p1 FreeBSD 6.3-RELEASE-p1 #0: Wed Feb 13 02:40:56 UTC 2008 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: The port is ignoring the NOPORTEXAMPLES flag. This patch fix this problem. >How-To-Repeat: >Fix: Patch attached with submission follows: --- Makefile.orig 2008-06-13 22:24:23.000000000 +0200 +++ Makefile 2008-06-19 13:47:44.000000000 +0200 @@ -35,7 +35,7 @@ MAN1= motion.1 PORTDOCS= CHANGELOG CREDITS README.FreeBSD README \ motion_guide.html -EXAMPLES= motion-dist.conf thread1.conf thread2.conf \ +PORTEXAMPLES= motion-dist.conf thread1.conf thread2.conf \ thread3.conf thread4.conf OPTIONS= PWCBSD "PWCBSD based Webcams (disables BKTR)" off \ @@ -66,12 +66,13 @@ ${INSTALL_DATA} ${PREFIX}/etc/motion.conf.sample ${PREFIX}/etc/motion.conf .endif ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.init-FreeBSD.sh ${PREFIX}/etc/rc.d/${PORTNAME} - ${MKDIR} ${EXAMPLESDIR} .if !defined(NOPORTEXAMPLES) -.for f in ${EXAMPLES} + ${MKDIR} ${EXAMPLESDIR} +.for f in ${PORTEXAMPLES} ${INSTALL_DATA} ${WRKSRC}/${f} ${EXAMPLESDIR} .endfor + @${ECHO_MSG} "===> Examples are installed in ${EXAMPLESDIR}." .endif .if !defined(NOPORTDOCS) @@ -79,6 +80,7 @@ .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} .endfor + @${ECHO_MSG} "===> Docs are installed in ${DOCSDIR}." .endif .if defined(WITH_BKTR) --- pkg-plist.orig 2008-05-20 19:33:29.000000000 +0200 +++ pkg-plist 2008-06-19 14:22:28.000000000 +0200 @@ -3,9 +3,3 @@ etc/motion.conf.sample @exec [ -f %B/motion.conf ] || cp %B/%f %B/motion.conf etc/rc.d/motion -%%EXAMPLESDIR%%/motion-dist.conf -%%EXAMPLESDIR%%/thread1.conf -%%EXAMPLESDIR%%/thread2.conf -%%EXAMPLESDIR%%/thread3.conf -%%EXAMPLESDIR%%/thread4.conf -@dirrm %%EXAMPLESDIR%% >Release-Note: >Audit-Trail: >Unformatted: