diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-02-22 08:58:10 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-02-22 08:58:10 +0000 |
commit | 71ad5ce95a218e0b3e2206501f6e8fb35a82f4e3 (patch) | |
tree | adccbdee9c32e0025e9b3c713b123ef7682f5d34 /devel/sdl12 | |
parent | Update to 0.10. (diff) |
Add a message explaining how to use SDL on console using vgl driver.
Notes
Notes:
svn path=/head/; revision=38586
Diffstat (limited to 'devel/sdl12')
-rw-r--r-- | devel/sdl12/Makefile | 4 | ||||
-rw-r--r-- | devel/sdl12/pkg-message | 9 |
2 files changed, 13 insertions, 0 deletions
diff --git a/devel/sdl12/Makefile b/devel/sdl12/Makefile index 695fef7ad4bb..a48c75954251 100644 --- a/devel/sdl12/Makefile +++ b/devel/sdl12/Makefile @@ -30,8 +30,11 @@ CFLAGS+= -D_THREAD_SAFE .if exists(/usr/lib/libvgl.so.3) CONFIGURE_ARGS+=--enable-video-vgl +DISPLAY_MSG= ${CAT} ${PKGMESSAGE} .else CONFIGURE_ARGS+=--disable-video-vgl +PKGMESSAGE= +DISPLAY_MSG= ${DO_NADA} .endif .if defined(WITHOUT_GL) @@ -66,5 +69,6 @@ post-install: @cd ${WRKSRC}/docs; tar cf - `${ECHO} [^Mm]*` | \ (cd ${PREFIX}/share/doc/SDL11/docs; ${TAR} --unlink -xf - ) .endif + @${DISPLAY_MSG} .include <bsd.port.post.mk> diff --git a/devel/sdl12/pkg-message b/devel/sdl12/pkg-message new file mode 100644 index 000000000000..1e8daa08f54e --- /dev/null +++ b/devel/sdl12/pkg-message @@ -0,0 +1,9 @@ +------------------------------------------------------------------------------ + Your SDL library has been built with libvgl support, which means that you + can run almost any SDL application straight on your console (VESA 2.0 + compatible videocard is required). To do this you have to enable VESA + support in the kernel by adding "option VESA" into your kernel + configuration file and set environment variable "SDL_VIDEODRIVER=vgl". + + Good luck! +------------------------------------------------------------------------------ |