diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-02-22 16:58:10 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-02-22 16:58:10 +0800 |
commit | 4104f7d8b01d4d6db027c3849bc23949527d7845 (patch) | |
tree | 46b0cb85455ad98256c17b0a7c893341ba0116f8 /devel/sdl-devel | |
parent | 7117a4deed3cae17223e88cde1e8a00d3b22a59b (diff) | |
download | freebsd-ports-gnome-4104f7d8b01d4d6db027c3849bc23949527d7845.tar.gz freebsd-ports-gnome-4104f7d8b01d4d6db027c3849bc23949527d7845.tar.zst freebsd-ports-gnome-4104f7d8b01d4d6db027c3849bc23949527d7845.zip |
Add a message explaining how to use SDL on console using vgl driver.
Diffstat (limited to 'devel/sdl-devel')
-rw-r--r-- | devel/sdl-devel/Makefile | 4 | ||||
-rw-r--r-- | devel/sdl-devel/pkg-message | 9 |
2 files changed, 13 insertions, 0 deletions
diff --git a/devel/sdl-devel/Makefile b/devel/sdl-devel/Makefile index 695fef7ad4bb..a48c75954251 100644 --- a/devel/sdl-devel/Makefile +++ b/devel/sdl-devel/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/sdl-devel/pkg-message b/devel/sdl-devel/pkg-message new file mode 100644 index 000000000000..1e8daa08f54e --- /dev/null +++ b/devel/sdl-devel/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! +------------------------------------------------------------------------------ |