From 7b8fe4d056572b19c6dbed2d13d407adb951972e Mon Sep 17 00:00:00 2001 From: Rusmir Dusko Date: Mon, 10 Mar 2014 13:44:30 +0000 Subject: - Use USE_GL=glu instead of USE_GL=gl glu - Strip executables --- devel/allegro/Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'devel') diff --git a/devel/allegro/Makefile b/devel/allegro/Makefile index 6503fa28856e..38f310013fd2 100644 --- a/devel/allegro/Makefile +++ b/devel/allegro/Makefile @@ -17,7 +17,7 @@ LIB_DEPENDS+= libpng15.so:${PORTSDIR}/graphics/png \ USES= gmake cmake pkgconfig USE_XORG= x11 xpm xext xcursor xxf86vm xxf86dga -USE_GL= gl glu +USE_GL= glu USE_LDCONFIG= yes PORTDOCS= * @@ -94,6 +94,14 @@ post-patch: post-install: @${INSTALL_MAN} ${WRKSRC}/docs/man/*.3 ${STAGEDIR}${MAN3PREFIX}/man/man3/ @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) +.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}${PREFIX}/share/examples/allegro/${l} +.endfor .if ${PORT_OPTIONS:MDEMOS} && ${PORT_OPTIONS:MEXAMPLES} @(cd ${WRKSRC} && ${COPYTREE_SHARE} demos ${STAGEDIR}${EXAMPLESDIR}) @@ -103,6 +111,8 @@ post-install: ${INSTALL_SCRIPT} ${WRKDIR}/skater* ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${_DISTDIR}/skater.png ${STAGEDIR}${PREFIX}/share/pixmaps/ @(cd ${STAGEDIR}${EXAMPLESDIR}/demos/skater && ${CHMOD} 755 skater*) + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/share/examples/allegro/demos/shooter/shooter + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/share/examples/allegro/demos/skater/skater* .endif .include -- cgit v1.2.3