aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2026-11-01 08:01:54 +0000
committerMathieu Arnold <mat@FreeBSD.org>2026-11-04 07:12:50 +0000
commit07747230ffe5188961cc41ae788d9720b7aef21f (patch)
treeec005936954f07874c1c9e7814e9bf828154ecc8
parent0774722088918fc0bf5bd9bef15b087ec8bef028 (diff)
*: fix plist issues with sbom
-rw-r--r--security/pam_kde/Makefile8
-rw-r--r--textproc/xhtml1-xsd/Makefile6
-rw-r--r--x11/swaylock-plugin/Makefile2
3 files changed, 10 insertions, 6 deletions
diff --git a/security/pam_kde/Makefile b/security/pam_kde/Makefile
index 2a88a6e85b0b..901fc76fa25e 100644
--- a/security/pam_kde/Makefile
+++ b/security/pam_kde/Makefile
@@ -8,14 +8,16 @@ COMMENT= PAM modules for KDE Display Manager
NO_BUILD= yes
-PLIST_FILES= etc/pam.d/kde
+PAM_FILES= etc/pam.d/kde
OPTIONS_DEFINE= AUTOLOGIN
OPTIONS_DEFAULT= AUTOLOGIN
AUTOLOGIN_DESC= Install module for automatic login
-AUTOLOGIN_PLIST_FILES= etc/pam.d/kde-np
+AUTOLOGIN_VARS= PAM_FILES+=etc/pam.d/kde-np
+
+PLIST_FILES= ${PAM_FILES}
do-install:
- ${INSTALL_DATA} ${PLIST_FILES:S,etc/pam.d,${FILESDIR},} ${STAGEDIR}${PREFIX}/etc/pam.d
+ ${INSTALL_DATA} ${PAM_FILES:S,etc/pam.d,${FILESDIR},} ${STAGEDIR}${PREFIX}/etc/pam.d
.include <bsd.port.mk>
diff --git a/textproc/xhtml1-xsd/Makefile b/textproc/xhtml1-xsd/Makefile
index 448309c50cec..8801ce4b1e2c 100644
--- a/textproc/xhtml1-xsd/Makefile
+++ b/textproc/xhtml1-xsd/Makefile
@@ -15,13 +15,15 @@ EXTRACT_BEFORE_ARGS= # empty
EXTRACT_AFTER_ARGS= .
NO_BUILD= yes
-PLIST_FILES= ${DATADIR_REL}/xhtml1-frameset.xsd \
+DATA_FILES= ${DATADIR_REL}/xhtml1-frameset.xsd \
${DATADIR_REL}/xhtml1-strict.xsd \
${DATADIR_REL}/xhtml1-transitional.xsd
+PLIST_FILES= ${DATA_FILES}
+
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
- (cd ${WRKSRC} && ${INSTALL_DATA} ${PLIST_FILES:S|^${DATADIR_REL}/||} \
+ (cd ${WRKSRC} && ${INSTALL_DATA} ${DATA_FILES:S|^${DATADIR_REL}/||} \
${STAGEDIR}${DATADIR})
.include <bsd.port.mk>
diff --git a/x11/swaylock-plugin/Makefile b/x11/swaylock-plugin/Makefile
index 8c4c0de1d05f..0a56cd2b1ef9 100644
--- a/x11/swaylock-plugin/Makefile
+++ b/x11/swaylock-plugin/Makefile
@@ -27,6 +27,6 @@ slave-post-patch:
${WRKSRC}/meson.build
post-install:
- @${REINPLACE_CMD} '/licenses/!s/${PORTNAME}/${PKGBASE}/' ${TMPPLIST}
+ @${REINPLACE_CMD} -E '/licenses|sbom/!s/${PORTNAME}/${PKGBASE}/' ${TMPPLIST}
.include "${MASTERDIR}/Makefile"