pkgsrc-WIP-changes archive

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

munge: Install launchd .plist file on Darwin



Module Name:	pkgsrc-wip
Committed By:	Jason Bacon <bacon%NetBSD.org@localhost>
Pushed By:	outpaddling
Date:		Sat Jan 27 08:21:34 2024 -0600
Changeset:	923e4623f477bb60befdd564950e91694217af88

Modified Files:
	munge/Makefile
Added Files:
	munge/PLIST.Darwin

Log Message:
munge: Install launchd .plist file on Darwin

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

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

diffstat:
 munge/Makefile     | 7 +++++++
 munge/PLIST.Darwin | 1 +
 2 files changed, 8 insertions(+)

diffs:
diff --git a/munge/Makefile b/munge/Makefile
index 241deb102e..c8adac5e85 100644
--- a/munge/Makefile
+++ b/munge/Makefile
@@ -52,6 +52,13 @@ post-install:
 		${DESTDIR}${PREFIX}/share/examples/munge/systemd.sysconfig
 .endif
 
+.if ${OPSYS} == Darwin
+post-install:
+	${MKDIR} ${DESTDIR}${PREFIX}/share/munge/Launchd
+	${INSTALL_DATA} ${FILESDIR}/*.plist \
+		${DESTDIR}${PREFIX}/share/munge/Launchd
+.endif
+
 .include "../../archivers/bzip2/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../security/libgcrypt/buildlink3.mk"
diff --git a/munge/PLIST.Darwin b/munge/PLIST.Darwin
new file mode 100644
index 0000000000..4b73a94d2b
--- /dev/null
+++ b/munge/PLIST.Darwin
@@ -0,0 +1 @@
+share/munge/Launchd/org.pkgsrc.munged.plist


Home | Main Index | Thread Index | Old Index