svn commit: r347770 - head/devel/allegro-devel

Rusmir Dusko nemysis at FreeBSD.org
Mon Mar 10 15:15:56 UTC 2014


Author: nemysis
Date: Mon Mar 10 15:15:55 2014
New Revision: 347770
URL: http://svnweb.freebsd.org/changeset/ports/347770
QAT: https://qat.redports.org/buildarchive/r347770/

Log:
  - Change license BSD to BSD3CLAUSE
  - Use USE_GL=glu instead of USE_GL=gl glu
  - Break lines around 80 characters
  - Strip executables

Modified:
  head/devel/allegro-devel/Makefile

Modified: head/devel/allegro-devel/Makefile
==============================================================================
--- head/devel/allegro-devel/Makefile	Mon Mar 10 15:12:18 2014	(r347769)
+++ head/devel/allegro-devel/Makefile	Mon Mar 10 15:15:55 2014	(r347770)
@@ -13,7 +13,7 @@ EXTRACT_ONLY=	${PORTNAME}-${DISTVERSION}
 MAINTAINER=	nemysis at FreeBSD.org
 COMMENT=	Cross-platform library for games and multimedia programming
 
-LICENSE=	ZLIB BSD
+LICENSE=	ZLIB BSD3CLAUSE
 LICENSE_COMB=	dual
 
 LIB_DEPENDS+=	libjack.so:${PORTSDIR}/audio/jack \
@@ -25,7 +25,7 @@ LIB_DEPENDS+=	libjack.so:${PORTSDIR}/aud
 
 USES=		gmake cmake openal:soft pkgconfig
 USE_XORG=	x11 xpm xext xcursor xxf86vm xxf86dga
-USE_GL=		gl glu
+USE_GL=		glu
 USE_GNOME=	gtk20
 USE_FREETYPE=	yes
 USE_LDCONFIG=	yes
@@ -78,10 +78,10 @@ SUB_FILES+=	cosmic_protector speed \
 MASTER_SITES+=	SF/nemysisfreebsdp/${CATEGORIES}/${PORTNAME}/:icons
 DISTFILES+=	cosmic_protector.png:icons \
 		speed.png:icons
-DESKTOP_ENTRIES+="Cosmic Protector" "Protect the earth from a deadly meteor shower" "cosmic_protector" \
-		"cosmic_protector" "Game;ArcadeGame;" false
-DESKTOP_ENTRIES+="SPEED" "Simultaneous Projections Employing an Ensemble of Displays" "speed" \
-		"speed" "Game;ArcadeGame;" false
+DESKTOP_ENTRIES+="Cosmic Protector" "Protect the earth from a deadly meteor shower" \
+		"cosmic_protector" "cosmic_protector" "Game;ArcadeGame;" ""
+DESKTOP_ENTRIES+="SPEED" "Simultaneous Projections Employing an Ensemble of Displays" \
+		"speed" "speed" "Game;ArcadeGame;" ""
 .else
 CMAKE_ARGS+=-DWANT_DEMO=off
 .endif
@@ -100,6 +100,25 @@ post-install:
 	@(cd ${DOCSRCDIR2} && ${COPYTREE_SHARE} "src html" ${STAGEDIR}${DOCSDIR2})
 
 	@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
+.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 \
+	ex_draw ex_draw_bitmap ex_drawpixels ex_dualies ex_expose ex_file_slice \
+	ex_filter ex_font ex_font_justify ex_fs_resize ex_fs_window ex_get_path \
+	ex_gldepth ex_glext ex_haiku ex_icon ex_icon2 ex_joystick_events \
+	ex_joystick_hotplugging ex_kcm_direct ex_keyboard_events ex_keyboard_focus \
+	ex_lines ex_lockbitmap ex_logo ex_membmp ex_memfile ex_mixer_chain \
+	ex_mixer_pp ex_monitorinfo ex_mouse ex_mouse_cursor ex_mouse_events \
+	ex_mouse_focus ex_multisample ex_multiwin ex_native_filechooser ex_nodisplay \
+	ex_noframe ex_opengl ex_opengl_pixel_shader ex_path ex_path_test ex_physfs \
+	ex_pixelformat ex_premulalpha ex_prim ex_resample_test ex_resize ex_resize2 \
+	ex_rotate ex_saw ex_scale ex_stream_file ex_stream_seek ex_subbitmap \
+	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
+
 
 .if ${PORT_OPTIONS:MDEMOS} && ${PORT_OPTIONS:MEXAMPLES}
 	@(cd ${WRKSRC} && ${COPYTREE_SHARE} demos ${STAGEDIR}${EXAMPLESDIR})
@@ -109,6 +128,8 @@ post-install:
 	${INSTALL_SCRIPT} ${WRKDIR}/speed ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_DATA} ${_DISTDIR}/speed.png ${STAGEDIR}${PREFIX}/share/pixmaps/
 	@(cd ${STAGEDIR}${EXAMPLESDIR}/demos/speed && ${CHMOD} 755 speed)
+	${STRIP_CMD} ${STAGEDIR}${EXAMPLESDIR}/demos/cosmic_protector/cosmic_protector
+	${STRIP_CMD} ${STAGEDIR}${EXAMPLESDIR}/demos/speed/speed
 .endif
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list