summaryrefslogtreecommitdiffstats
path: root/devel/sdl12/Makefile
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/sdl12/Makefile
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/sdl12/Makefile')
-rw-r--r--devel/sdl12/Makefile4
1 files changed, 4 insertions, 0 deletions
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>
OpenPOWER on IntegriCloud