summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2001-06-17 17:21:56 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2001-06-17 17:21:56 +0000
commit78868a31f10b26abce75b8b6dac2f37434ef5edd (patch)
tree269380582770a0d5da22791508335bbda2fd6b33 /graphics
parentSort pkg-plist, add etc/ files management. (diff)
Add some files to pkg-plist, and add etc/ files management.
Notes
Notes: svn path=/head/; revision=44110
Diffstat (limited to 'graphics')
-rw-r--r--graphics/libggi/Makefile4
-rw-r--r--graphics/libggi/pkg-plist14
2 files changed, 16 insertions, 2 deletions
diff --git a/graphics/libggi/Makefile b/graphics/libggi/Makefile
index e7339f810923..818afff760f2 100644
--- a/graphics/libggi/Makefile
+++ b/graphics/libggi/Makefile
@@ -69,4 +69,8 @@ MLINKS= ggiDBGetBuffer.3ggi ggiDBGetNumBuffers.3ggi \
ggiSetOrigin.3ggi ggiGetOrigin.3ggi \
ggiSetPalette.3ggi ggiGetPalette.3ggi
+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>
diff --git a/graphics/libggi/pkg-plist b/graphics/libggi/pkg-plist
index 09d3bd62f96a..5f08df97b31b 100644
--- a/graphics/libggi/pkg-plist
+++ b/graphics/libggi/pkg-plist
@@ -1,7 +1,11 @@
bin/cube3d
bin/monitest
-etc/ggi/libggi.conf
-etc/ggi/libggimisc.conf
+@unexec if cmp -s %D/etc/ggi/libggi.conf %D/etc/ggi/libggi.conf.dist; then rm -f %D/etc/ggi/libggi.conf; fi
+etc/ggi/libggi.conf.dist
+@exec [ -f %B/libggi.conf ] || cp %B/%f %B/libggi.conf
+@unexec if cmp -s %D/etc/ggi/libggimisc.conf %D/etc/ggi/libggimisc.conf.dist; then rm -f %D/etc/ggi/libggimisc.conf; fi
+etc/ggi/libggimisc.conf.dist
+@exec [ -f %B/libggimisc.conf ] || cp %B/%f %B/libggimisc.conf
include/ggi/default/genkgi.h
include/ggi/display/aa.h
include/ggi/display/directx.h
@@ -95,6 +99,10 @@ lib/ggi/display/palemu.la
lib/ggi/display/palemu.so
lib/ggi/display/sub.la
lib/ggi/display/sub.so
+lib/ggi/display/svgalib.la
+lib/ggi/display/svgalib.so
+lib/ggi/display/svgalib_misc.la
+lib/ggi/display/svgalib_misc.so
lib/ggi/display/tele.la
lib/ggi/display/tele.so
lib/ggi/display/terminfo.la
@@ -103,6 +111,8 @@ lib/ggi/display/tile.la
lib/ggi/display/tile.so
lib/ggi/display/trueemu.la
lib/ggi/display/trueemu.so
+lib/ggi/display/vgagl.la
+lib/ggi/display/vgagl.so
lib/ggi/display/vgl.la
lib/ggi/display/vgl.so
lib/libggi.la