diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2002-02-20 10:56:03 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2002-02-20 10:56:03 +0000 |
commit | 6f53c11721e388176a8ada20986284a5364a477f (patch) | |
tree | 4022dd1b68773abbdc3b7c66eb44be961af5b838 /graphics/libggi | |
parent | Updated to 0.62.1. (diff) |
Add hidden dependency.
Submitted by: Norikatsu Shigemura <nork@ninth-nine.com>
PR: ports/35005
Diffstat (limited to 'graphics/libggi')
-rw-r--r-- | graphics/libggi/Makefile | 18 | ||||
-rw-r--r-- | graphics/libggi/pkg-plist | 9 |
2 files changed, 26 insertions, 1 deletions
diff --git a/graphics/libggi/Makefile b/graphics/libggi/Makefile index 818afff760f2..6a5a8a3e41ea 100644 --- a/graphics/libggi/Makefile +++ b/graphics/libggi/Makefile @@ -69,8 +69,24 @@ MLINKS= ggiDBGetBuffer.3ggi ggiDBGetNumBuffers.3ggi \ ggiSetOrigin.3ggi ggiGetOrigin.3ggi \ ggiSetPalette.3ggi ggiGetPalette.3ggi +.include <bsd.port.pre.mk> + +.if defined(WITH_AALIB) || exists(${LOCALBASE}/include/aalib.h) +LIB_DEPENDS+= aa.1:${PORTSDIR}/graphics/aalib +PLIST_SUB+= WITH_AALIB="" +.else +PLIST_SUB+= WITH_AALIB="@comment " +.endif + +.if defined(WITH_SVGALIB) || exists(${LOCALBASE}/include/vga.h) +LIB_DEPENDS+= vga.1:${PORTSDIR}/graphics/svgalib +PLIST_SUB+= WITH_SVGALIB="" +.else +PLIST_SUB+= WITH_SVGALIB="@comment " +.endif + post-install: @${CP} ${WRKSRC}/libggi.conf ${PREFIX}/etc/ggi/libggi.conf.dist @${CP} ${WRKSRC}/extensions/misc/libggimisc.conf ${PREFIX}/etc/ggi/libggimisc.conf.dist -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/graphics/libggi/pkg-plist b/graphics/libggi/pkg-plist index d7086051d4cf..ddcc0d5315dd 100644 --- a/graphics/libggi/pkg-plist +++ b/graphics/libggi/pkg-plist @@ -1,3 +1,4 @@ +bin/ggiteleserver bin/cube3d bin/monitest @unexec if cmp -s %D/etc/ggi/libggi.conf %D/etc/ggi/libggi.conf.dist; then rm -f %D/etc/ggi/libggi.conf; fi @@ -83,6 +84,8 @@ lib/ggi/display/X_misc.la lib/ggi/display/X_misc.so lib/ggi/display/Xlib.la lib/ggi/display/Xlib.so +%%WITH_AALIB%%lib/ggi/display/aa.la +%%WITH_AALIB%%lib/ggi/display/aa.so lib/ggi/display/file.la lib/ggi/display/file.so lib/ggi/display/mansync.la @@ -97,6 +100,10 @@ lib/ggi/display/palemu.la lib/ggi/display/palemu.so lib/ggi/display/sub.la lib/ggi/display/sub.so +%%WITH_SVGALIB%%lib/ggi/display/svgalib.la +%%WITH_SVGALIB%%lib/ggi/display/svgalib.so +%%WITH_SVGALIB%%lib/ggi/display/svgalib_misc.la +%%WITH_SVGALIB%%lib/ggi/display/svgalib_misc.so lib/ggi/display/tele.la lib/ggi/display/tele.so lib/ggi/display/terminfo.la @@ -105,6 +112,8 @@ lib/ggi/display/tile.la lib/ggi/display/tile.so lib/ggi/display/trueemu.la lib/ggi/display/trueemu.so +%%WITH_SVGALIB%%lib/ggi/display/vgagl.la +%%WITH_SVGALIB%%lib/ggi/display/vgagl.so lib/ggi/display/vgl.la lib/ggi/display/vgl.so lib/libggi.la |