diff options
author | miwi <miwi@FreeBSD.org> | 2008-06-19 22:49:48 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-06-19 22:49:48 +0800 |
commit | 176897824f7db3708a9ffa060c55034fbc96bbaa (patch) | |
tree | 1b4b58e0eb49027d73258713fe80d783920e89d5 /multimedia | |
parent | 80aab9d347864a4670cd70b0da5aca0c653256e6 (diff) | |
download | freebsd-ports-gnome-176897824f7db3708a9ffa060c55034fbc96bbaa.tar.gz freebsd-ports-gnome-176897824f7db3708a9ffa060c55034fbc96bbaa.tar.zst freebsd-ports-gnome-176897824f7db3708a9ffa060c55034fbc96bbaa.zip |
- Respect NOPORTEXAMPLES
PR: 124757
Submitted by: Angel Carpintero <ack@telefonica.net>
Reported by: ionbot
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/motion/Makefile | 8 | ||||
-rw-r--r-- | multimedia/motion/pkg-plist | 6 |
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%% |