aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authornemysis <nemysis@FreeBSD.org>2014-03-13 07:06:53 +0800
committernemysis <nemysis@FreeBSD.org>2014-03-13 07:06:53 +0800
commit0c17050554fdcbf39b585af564884ececc8631cf (patch)
tree7aa4e1b949cc3db0a2a79833c3b4e934d81d13c9 /devel
parentbcecf901ece37b6de06e6b27cceae352109e8bc0 (diff)
downloadfreebsd-ports-gnome-0c17050554fdcbf39b585af564884ececc8631cf.tar.gz
freebsd-ports-gnome-0c17050554fdcbf39b585af564884ececc8631cf.tar.zst
freebsd-ports-gnome-0c17050554fdcbf39b585af564884ececc8631cf.zip
- Fix build, without EXAMPLES Option and change pkg-plist
PR: ports/187511 Submitted by: Volodymyr Kostyrko <arcade@b1t.name>
Diffstat (limited to 'devel')
-rw-r--r--devel/allegro/Makefile7
-rw-r--r--devel/allegro/pkg-plist10
2 files changed, 10 insertions, 7 deletions
diff --git a/devel/allegro/Makefile b/devel/allegro/Makefile
index 16f8789486d4..46a9c07dab8d 100644
--- a/devel/allegro/Makefile
+++ b/devel/allegro/Makefile
@@ -93,15 +93,18 @@ post-patch:
post-install:
@${INSTALL_MAN} ${WRKSRC}/docs/man/*.3 ${STAGEDIR}${MAN3PREFIX}/man/man3/
+
+.if ${PORT_OPTIONS:MEXAMPLES}
@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
-.for l in ex12bit ex3buf ex3d exaccel exalpha exbitmap exblend excamera excolmap \
+. for l in ex12bit ex3buf ex3d exaccel exalpha exbitmap exblend excamera excolmap \
exconfig excustom exdata exdbuf exexedat exfixed exflame exflip exfont \
exgui exhello exjoy exkeys exlights exmem exmidi exmouse expackf expal \
expat exquat exrgbhsv exrotscl exsample exscale exscn3d exscroll exshade \
exspline exsprite exstars exstream exswitch exsyscur extimer extrans \
extrans2 extruec exunicod exupdate exxfade exzbuf
${STRIP_CMD} ${STAGEDIR}${EXAMPLESDIR}/${l}
-.endfor
+. endfor
+.endif
.if ${PORT_OPTIONS:MDEMOS} && ${PORT_OPTIONS:MEXAMPLES}
@(cd ${WRKSRC} && ${COPYTREE_SHARE} demos ${STAGEDIR}${EXAMPLESDIR})
diff --git a/devel/allegro/pkg-plist b/devel/allegro/pkg-plist
index f1b3f7fb8d2f..cad5f06eeee3 100644
--- a/devel/allegro/pkg-plist
+++ b/devel/allegro/pkg-plist
@@ -8,9 +8,9 @@ bin/grabber
bin/pack
bin/pat2dat
bin/rgbmap
-%%DEMOS%%bin/shooter
-%%DEMOS%%bin/skater
-%%DEMOS%%bin/skater_agl
+%%DEMOS%%%%EXAMPLES%%bin/shooter
+%%DEMOS%%%%EXAMPLES%%bin/skater
+%%DEMOS%%%%EXAMPLES%%bin/skater_agl
bin/textconv
include/alleggl.h
include/allegro.h
@@ -1059,8 +1059,8 @@ man/man3/voice_sweep_pan.3.gz
man/man3/vsync.3.gz
man/man3/xor_mode.3.gz
man/man3/xwin_set_window_name.3.gz
-%%DEMOS%%share/pixmaps/shooter.png
-%%DEMOS%%share/pixmaps/skater.png
+%%DEMOS%%%%EXAMPLES%%share/pixmaps/shooter.png
+%%DEMOS%%%%EXAMPLES%%share/pixmaps/skater.png
@dirrm lib/allegro/%%SHLIB_VER%%
@dirrm lib/allegro
@dirrm include/allegrogl/GLext