diff pkg-plist @ 550:847ae246f3cc

Make the port really DATADIR and EXAMPLESDIR safe because the user may redefine DATADIR and EXAMPLESDIR. pkg-plist must use DATADIR and EXAMPLESDIR. The scripts must search for common.subr and farray.sh more intelligently.
author Franz Glasner <fzglas.hg@dom66.de>
date Tue, 10 Sep 2024 21:10:27 +0200
parents f86041364bc1
children 260a81d769a6
line wrap: on
line diff
--- a/pkg-plist	Tue Sep 10 19:48:07 2024 +0200
+++ b/pkg-plist	Tue Sep 10 21:10:27 2024 +0200
@@ -8,10 +8,10 @@
 sbin/ftjail
 sbin/fpkg
 sbin/fzfs
-share/local-bsdtools/common.subr
-share/local-bsdtools/farray.sh
-share/examples/local-bsdtools/freebsd-update-ftjail-template.sh
-share/examples/local-bsdtools/freebsd-update-ftjail.sh
+%%DATADIR%%/common.subr
+%%DATADIR%%/farray.sh
+%%EXAMPLESDIR%%/freebsd-update-ftjail-template.sh
+%%EXAMPLESDIR%%/freebsd-update-ftjail.sh
 %%DOCS%%share/man/man5/bsmtp2dma.conf.5.gz
 %%DOCS%%share/man/man5/local-bsdtools-periodic.5.gz
 %%DOCS%%share/man/man5/package-mapping.conf.5.gz