summaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-02-22 08:58:10 +0000
committersobomax <sobomax@FreeBSD.org>2001-02-22 08:58:10 +0000
commit4104f7d8b01d4d6db027c3849bc23949527d7845 (patch)
tree46b0cb85455ad98256c17b0a7c893341ba0116f8 /devel
parent7117a4deed3cae17223e88cde1e8a00d3b22a59b (diff)
downloadFreeBSD-ports-4104f7d8b01d4d6db027c3849bc23949527d7845.zip
FreeBSD-ports-4104f7d8b01d4d6db027c3849bc23949527d7845.tar.gz
Add a message explaining how to use SDL on console using vgl driver.
Diffstat (limited to 'devel')
-rw-r--r--devel/sdl-devel/Makefile4
-rw-r--r--devel/sdl-devel/pkg-message9
-rw-r--r--devel/sdl12/Makefile4
-rw-r--r--devel/sdl12/pkg-message9
4 files changed, 26 insertions, 0 deletions
diff --git a/devel/sdl-devel/Makefile b/devel/sdl-devel/Makefile
index 695fef7..a48c759 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 0000000..1e8daa0
--- /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!
+------------------------------------------------------------------------------
diff --git a/devel/sdl12/Makefile b/devel/sdl12/Makefile
index 695fef7..a48c759 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 0000000..1e8daa0
--- /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!
+------------------------------------------------------------------------------
OpenPOWER on IntegriCloud