pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

chezscheme-racket: Install bundled examples into $PREFIX/share



Module Name:	pkgsrc-wip
Committed By:	Johann Rudloff <johann%sinyax.net@localhost>
Pushed By:	cypheon
Date:		Mon Feb 21 20:54:10 2022 +0100
Changeset:	9d398b755f9f4e5dfe20ca4d73830a7b37e12dcf

Modified Files:
	chezscheme-racket/Makefile
	chezscheme-racket/PLIST

Log Message:
chezscheme-racket: Install bundled examples into $PREFIX/share

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=9d398b755f9f4e5dfe20ca4d73830a7b37e12dcf

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 chezscheme-racket/Makefile |  9 ++++++
 chezscheme-racket/PLIST    | 70 +++++++++++++++++++++++-----------------------
 2 files changed, 44 insertions(+), 35 deletions(-)

diffs:
diff --git a/chezscheme-racket/Makefile b/chezscheme-racket/Makefile
index 3a06ddc930..bf51ac071c 100644
--- a/chezscheme-racket/Makefile
+++ b/chezscheme-racket/Makefile
@@ -69,6 +69,15 @@ do-configure:
 			--installman=${PREFIX}/${PKGMANDIR} \
 			--temproot=${DESTDIR}
 
+post-install:
+	mkdir -p ${DESTDIR}/${PREFIX}/share/examples/csv${PKGVERSION}
+	${MV} -f \
+		${DESTDIR}/${PREFIX}/lib/csv${PKGVERSION}/examples/*.c \
+		${DESTDIR}/${PREFIX}/lib/csv${PKGVERSION}/examples/*.ss \
+		${DESTDIR}/${PREFIX}/lib/csv${PKGVERSION}/examples/Makefile \
+		${DESTDIR}/${PREFIX}/share/examples/csv${PKGVERSION}
+	${RMDIR} ${DESTDIR}/${PREFIX}/lib/csv${PKGVERSION}/examples
+
 .include "../../archivers/lz4/buildlink3.mk"
 .include "../../devel/ncurses/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/chezscheme-racket/PLIST b/chezscheme-racket/PLIST
index 918e762da9..fd25ed5674 100644
--- a/chezscheme-racket/PLIST
+++ b/chezscheme-racket/PLIST
@@ -2,40 +2,40 @@
 bin/petite
 bin/scheme
 bin/scheme-script
-lib/csv9.5.5.5/examples/Makefile
-lib/csv9.5.5.5/examples/compat.ss
-lib/csv9.5.5.5/examples/crepl.c
-lib/csv9.5.5.5/examples/csocket.c
-lib/csv9.5.5.5/examples/def.ss
-lib/csv9.5.5.5/examples/edit.ss
-lib/csv9.5.5.5/examples/ez-grammar-test.ss
-lib/csv9.5.5.5/examples/ez-grammar.ss
-lib/csv9.5.5.5/examples/fact.ss
-lib/csv9.5.5.5/examples/fatfib.ss
-lib/csv9.5.5.5/examples/fft.ss
-lib/csv9.5.5.5/examples/fib.ss
-lib/csv9.5.5.5/examples/foreign.ss
-lib/csv9.5.5.5/examples/freq.ss
-lib/csv9.5.5.5/examples/interpret.ss
-lib/csv9.5.5.5/examples/m4.ss
-lib/csv9.5.5.5/examples/macro.ss
-lib/csv9.5.5.5/examples/matrix.ss
-lib/csv9.5.5.5/examples/object.ss
-lib/csv9.5.5.5/examples/power.ss
-lib/csv9.5.5.5/examples/queue.ss
-lib/csv9.5.5.5/examples/rabbit.ss
-lib/csv9.5.5.5/examples/rsa.ss
-lib/csv9.5.5.5/examples/scons.ss
-lib/csv9.5.5.5/examples/setof.ss
-lib/csv9.5.5.5/examples/socket.ss
-lib/csv9.5.5.5/examples/template.ss
-lib/csv9.5.5.5/examples/unify.ss
-lib/csv9.5.5.5/${CHEZ_THREADED}${CHEZ_ARCH}${CHEZ_OS}/libkernel.a
-lib/csv9.5.5.5/${CHEZ_THREADED}${CHEZ_ARCH}${CHEZ_OS}/main.o
-lib/csv9.5.5.5/${CHEZ_THREADED}${CHEZ_ARCH}${CHEZ_OS}/petite.boot
-lib/csv9.5.5.5/${CHEZ_THREADED}${CHEZ_ARCH}${CHEZ_OS}/revision
-lib/csv9.5.5.5/${CHEZ_THREADED}${CHEZ_ARCH}${CHEZ_OS}/scheme-script.boot
-lib/csv9.5.5.5/${CHEZ_THREADED}${CHEZ_ARCH}${CHEZ_OS}/scheme.boot
-lib/csv9.5.5.5/${CHEZ_THREADED}${CHEZ_ARCH}${CHEZ_OS}/scheme.h
+share/examples/csv${PKGVERSION}/Makefile
+share/examples/csv${PKGVERSION}/compat.ss
+share/examples/csv${PKGVERSION}/crepl.c
+share/examples/csv${PKGVERSION}/csocket.c
+share/examples/csv${PKGVERSION}/def.ss
+share/examples/csv${PKGVERSION}/edit.ss
+share/examples/csv${PKGVERSION}/ez-grammar-test.ss
+share/examples/csv${PKGVERSION}/ez-grammar.ss
+share/examples/csv${PKGVERSION}/fact.ss
+share/examples/csv${PKGVERSION}/fatfib.ss
+share/examples/csv${PKGVERSION}/fft.ss
+share/examples/csv${PKGVERSION}/fib.ss
+share/examples/csv${PKGVERSION}/foreign.ss
+share/examples/csv${PKGVERSION}/freq.ss
+share/examples/csv${PKGVERSION}/interpret.ss
+share/examples/csv${PKGVERSION}/m4.ss
+share/examples/csv${PKGVERSION}/macro.ss
+share/examples/csv${PKGVERSION}/matrix.ss
+share/examples/csv${PKGVERSION}/object.ss
+share/examples/csv${PKGVERSION}/power.ss
+share/examples/csv${PKGVERSION}/queue.ss
+share/examples/csv${PKGVERSION}/rabbit.ss
+share/examples/csv${PKGVERSION}/rsa.ss
+share/examples/csv${PKGVERSION}/scons.ss
+share/examples/csv${PKGVERSION}/setof.ss
+share/examples/csv${PKGVERSION}/socket.ss
+share/examples/csv${PKGVERSION}/template.ss
+share/examples/csv${PKGVERSION}/unify.ss
+lib/csv${PKGVERSION}/${CHEZ_THREADED}${CHEZ_ARCH}${CHEZ_OS}/libkernel.a
+lib/csv${PKGVERSION}/${CHEZ_THREADED}${CHEZ_ARCH}${CHEZ_OS}/main.o
+lib/csv${PKGVERSION}/${CHEZ_THREADED}${CHEZ_ARCH}${CHEZ_OS}/petite.boot
+lib/csv${PKGVERSION}/${CHEZ_THREADED}${CHEZ_ARCH}${CHEZ_OS}/revision
+lib/csv${PKGVERSION}/${CHEZ_THREADED}${CHEZ_ARCH}${CHEZ_OS}/scheme-script.boot
+lib/csv${PKGVERSION}/${CHEZ_THREADED}${CHEZ_ARCH}${CHEZ_OS}/scheme.boot
+lib/csv${PKGVERSION}/${CHEZ_THREADED}${CHEZ_ARCH}${CHEZ_OS}/scheme.h
 man/man1/petite.1
 man/man1/scheme.1


Home | Main Index | Thread Index | Old Index