diff options
author | Jimmy Olgeni <olgeni@FreeBSD.org> | 2001-06-17 17:20:43 +0000 |
---|---|---|
committer | Jimmy Olgeni <olgeni@FreeBSD.org> | 2001-06-17 17:20:43 +0000 |
commit | dd202cc5bc3dcb3c601c9c44658515e74f11c237 (patch) | |
tree | b423dab26e7c592b2e90f864aabff995844942e4 /devel/libgii | |
parent | acf95d77b9c4f6d8014a90bb88f953a13fa86440 (diff) | |
download | ports-dd202cc5bc3dcb3c601c9c44658515e74f11c237.tar.gz ports-dd202cc5bc3dcb3c601c9c44658515e74f11c237.zip |
Notes
Diffstat (limited to 'devel/libgii')
-rw-r--r-- | devel/libgii/Makefile | 3 | ||||
-rw-r--r-- | devel/libgii/pkg-plist | 28 |
2 files changed, 20 insertions, 11 deletions
diff --git a/devel/libgii/Makefile b/devel/libgii/Makefile index 56cd58b23c6c..9ca8d5f04f71 100644 --- a/devel/libgii/Makefile +++ b/devel/libgii/Makefile @@ -42,6 +42,9 @@ post-configure: @${PERL} -p -i.bak -e 's/deplibs -lc/deplibs/;' ${WRKSRC}/libtool post-install: + @${CP} ${WRKSRC}/libgii.conf ${PREFIX}/etc/ggi/libgii.conf.dist + @${CP} ${WRKSRC}/filter/mouse/mouse ${PREFIX}/etc/ggi/filter/mouse.dist + @${CP} ${WRKSRC}/filter/keytrans/keytrans ${PREFIX}/etc/ggi/filter/keytrans.dist @${MAKE} install-examples .if !defined(NOPORTDOCS) @${MAKE} install-documents diff --git a/devel/libgii/pkg-plist b/devel/libgii/pkg-plist index 6579f580145e..376708ea8997 100644 --- a/devel/libgii/pkg-plist +++ b/devel/libgii/pkg-plist @@ -1,8 +1,14 @@ bin/mhub bin/xsendbut -etc/ggi/filter/keytrans -etc/ggi/filter/mouse -etc/ggi/libgii.conf +@unexec if cmp -s %D/etc/ggi/filter/keytrans %D/etc/ggi/filter/keytrans.dist; then rm -f %D/etc/ggi/filter/keytrans; fi +etc/ggi/filter/keytrans.dist +@exec [ -f %B/keytrans ] || cp %B/%f %B/keytrans +@unexec if cmp -s %D/etc/ggi/filter/mouse %D/etc/ggi/filter/mouse.dist; then rm -f %D/etc/ggi/filter/mouse; fi +etc/ggi/filter/mouse.dist +@exec [ -f %B/mouse ] || cp %B/%f %B/mouse +@unexec if cmp -s %D/etc/ggi/libgii.conf %D/etc/ggi/libgii.conf.dist; then rm -f %D/etc/ggi/libgii.conf; fi +etc/ggi/libgii.conf.dist +@exec [ -f %B/libgii.conf ] || cp %B/%f %B/libgii.conf include/ggi/errors.h include/ggi/events.h include/ggi/gg.h @@ -58,13 +64,13 @@ share/examples/libgii/demo.c share/examples/libgii/filter.c share/examples/libgii/mhub.c share/examples/libgii/xsendbut.c -@dirrm etc/ggi/filter -@dirrm etc/ggi -@dirrm include/ggi/input -@dirrm include/ggi/internal -@dirrm include/ggi -@dirrm lib/ggi/filter +@dirrm share/examples/libgii +@dirrm share/doc/libgii @dirrm lib/ggi/input +@dirrm lib/ggi/filter @dirrm lib/ggi -@dirrm share/doc/libgii -@dirrm share/examples/libgii +@dirrm include/ggi/internal +@dirrm include/ggi/input +@dirrm include/ggi +@unexec rmdir %D/etc/ggi/filter 2>/dev/null || true +@unexec rmdir %D/etc/ggi 2>/dev/null || true |