Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Mar 2014 23:15:19 +0000 (UTC)
From:      Rusmir Dusko <nemysis@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r348015 - head/devel/allegro-devel
Message-ID:  <201403122315.s2CNFJJT053591@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nemysis
Date: Wed Mar 12 23:15:19 2014
New Revision: 348015
URL: http://svnweb.freebsd.org/changeset/ports/348015
QAT: https://qat.redports.org/buildarchive/r348015/

Log:
  - Fix build without EXAMPLES Option and change pkg-plist

Modified:
  head/devel/allegro-devel/Makefile
  head/devel/allegro-devel/pkg-plist

Modified: head/devel/allegro-devel/Makefile
==============================================================================
--- head/devel/allegro-devel/Makefile	Wed Mar 12 23:06:53 2014	(r348014)
+++ head/devel/allegro-devel/Makefile	Wed Mar 12 23:15:19 2014	(r348015)
@@ -100,8 +100,9 @@ post-install:
 	${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR}
 	@(cd ${DOCSRCDIR2} && ${COPYTREE_SHARE} "src html" ${STAGEDIR}${DOCSDIR2})
 
+.if ${PORT_OPTIONS:MEXAMPLES}
 	@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
-.for l in ex_acodec ex_acodec_multi ex_audio_chain ex_audio_props ex_audio_simple \
+. for l in ex_acodec ex_acodec_multi ex_audio_chain ex_audio_props ex_audio_simple \
 	ex_bitmap ex_bitmap_flip ex_bitmap_target ex_blend ex_blend2 \
 	ex_blend_bench ex_blend_test ex_blit ex_clip ex_color ex_config ex_convert \
 	ex_dir ex_disable_screensaver ex_display_events ex_display_options \
@@ -118,7 +119,8 @@ post-install:
 	ex_synth ex_threads ex_threads2 ex_timedwait ex_timer ex_transform ex_ttf \
 	ex_user_events ex_utf8 ex_vsync ex_warp_mouse ex_windows ex_winfull
 	${STRIP_CMD} ${STAGEDIR}${EXAMPLESDIR}/${l}
-.endfor
+. endfor
+.endif
 
 
 .if ${PORT_OPTIONS:MDEMOS} && ${PORT_OPTIONS:MEXAMPLES}

Modified: head/devel/allegro-devel/pkg-plist
==============================================================================
--- head/devel/allegro-devel/pkg-plist	Wed Mar 12 23:06:53 2014	(r348014)
+++ head/devel/allegro-devel/pkg-plist	Wed Mar 12 23:15:19 2014	(r348015)
@@ -1,5 +1,5 @@
-%%DEMOS%%bin/cosmic_protector
-%%DEMOS%%bin/speed
+%%DEMOS%%%%EXAMPLES%%bin/cosmic_protector
+%%DEMOS%%%%EXAMPLES%%bin/speed
 include/allegro5/alcompat.h
 include/allegro5/alinline.h
 include/allegro5/allegro.h
@@ -921,8 +921,8 @@ man/man3/al_wait_for_event.3.gz
 man/man3/al_wait_for_event_timed.3.gz
 man/man3/al_wait_for_event_until.3.gz
 man/man3/al_wait_for_vsync.3.gz
-%%DEMOS%%share/pixmaps/cosmic_protector.png
-%%DEMOS%%share/pixmaps/speed.png
+%%DEMOS%%%%EXAMPLES%%share/pixmaps/cosmic_protector.png
+%%DEMOS%%%%EXAMPLES%%share/pixmaps/speed.png
 @dirrm include/allegro5/platform
 @dirrm include/allegro5/opengl/GLext
 @dirrm include/allegro5/opengl



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403122315.s2CNFJJT053591>