aboutsummaryrefslogtreecommitdiff
path: root/multimedia/motion
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-06-19 14:49:48 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-06-19 14:49:48 +0000
commitb4ee4e602f99740a3a07be172fd14bc9950b2a37 (patch)
treea68fd45270b7c0808f8f47e600ee78e28e94c1a7 /multimedia/motion
parent36b97c9a0530d0b6e1863837d648c75fcb5a34fa (diff)
downloadports-b4ee4e602f99740a3a07be172fd14bc9950b2a37.tar.gz
ports-b4ee4e602f99740a3a07be172fd14bc9950b2a37.zip
Notes
Diffstat (limited to 'multimedia/motion')
-rw-r--r--multimedia/motion/Makefile8
-rw-r--r--multimedia/motion/pkg-plist6
2 files changed, 5 insertions, 9 deletions
diff --git a/multimedia/motion/Makefile b/multimedia/motion/Makefile
index c685480fe939..93520cc1da10 100644
--- a/multimedia/motion/Makefile
+++ b/multimedia/motion/Makefile
@@ -35,7 +35,7 @@ USE_GCC= 3.4+
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 @@ post-install:
${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 @@ post-install:
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
+ @${ECHO_MSG} "===> Docs are installed in ${DOCSDIR}."
.endif
.if defined(WITH_BKTR)
diff --git a/multimedia/motion/pkg-plist b/multimedia/motion/pkg-plist
index 614209873fb4..f3f5099464fa 100644
--- a/multimedia/motion/pkg-plist
+++ b/multimedia/motion/pkg-plist
@@ -3,9 +3,3 @@ bin/motion
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%%