summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2001-06-17 17:21:56 +0000
committerolgeni <olgeni@FreeBSD.org>2001-06-17 17:21:56 +0000
commit3053cf9fb54d6f81feccac54ac3d4a3e430985a6 (patch)
treef01162066fccc3d2280be897c66e8fe8a6a3518d /graphics
parent2fafc4082e45ff6b00715710aa64252d4edc126b (diff)
downloadFreeBSD-ports-3053cf9fb54d6f81feccac54ac3d4a3e430985a6.zip
FreeBSD-ports-3053cf9fb54d6f81feccac54ac3d4a3e430985a6.tar.gz
Add some files to pkg-plist, and add etc/ files management.
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 e7339f8..818afff 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 09d3bd6..5f08df9 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
OpenPOWER on IntegriCloud