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%%