ports/124757: [MAINTAINER] multimedia/motion fix NOPORTEXAMPLES handling
Angel Carpintero
ack at telefonica.net
Thu Jun 19 12:50:02 UTC 2008
>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 at 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
- at dirrm %%EXAMPLESDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list