pkgsrc-Changes archive

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

CVS commit: pkgsrc/print/cups-browsed



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Apr 22 17:24:19 UTC 2026

Modified Files:
        pkgsrc/print/cups-browsed: Makefile PLIST

Log Message:
cups-browsed: install daemonizing script

>From Edgar Fuß

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/print/cups-browsed/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/print/cups-browsed/PLIST

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

Modified files:

Index: pkgsrc/print/cups-browsed/Makefile
diff -u pkgsrc/print/cups-browsed/Makefile:1.7 pkgsrc/print/cups-browsed/Makefile:1.8
--- pkgsrc/print/cups-browsed/Makefile:1.7      Fri Feb  6 10:05:42 2026
+++ pkgsrc/print/cups-browsed/Makefile  Wed Apr 22 17:24:19 2026
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2026/02/06 10:05:42 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2026/04/22 17:24:19 wiz Exp $
 
 DISTNAME=      cups-browsed-2.1.1
-PKGREVISION=   6
+PKGREVISION=   7
 CATEGORIES=    print
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=OpenPrinting/}
 GITHUB_PROJECT=        cups-browsed
@@ -24,9 +24,19 @@ CONF_FILES+= ${PREFIX}/share/examples/cu
 
 INSTALLATION_DIRS+=    share/examples/cups-filters
 
+post-extract:
+       ${CP} ${FILESDIR}/cups-browsed-daemonize.sh ${WRKSRC}
+
+SUBST_CLASSES+=                        daemonize
+SUBST_STAGE.daemonize=         pre-configure
+SUBST_MESSAGE.daemonize=       Customizing daemonizing script
+SUBST_FILES.daemonize=         cups-browsed-daemonize.sh
+SUBST_VARS.daemonize=          PREFIX VARBASE
+
 post-install:
        ${MV} ${DESTDIR}${PKG_SYSCONFDIR}/cups/cups-browsed.conf \
                ${DESTDIR}${PREFIX}/share/examples/cups-filters/cups-browsed.conf
+       ${INSTALL_SCRIPT} ${WRKSRC}/cups-browsed-daemonize.sh ${DESTDIR}${PREFIX}/libexec/cups-browsed
 
 .include "../../graphics/lcms2/buildlink3.mk"
 .include "../../graphics/libexif/buildlink3.mk"

Index: pkgsrc/print/cups-browsed/PLIST
diff -u pkgsrc/print/cups-browsed/PLIST:1.1 pkgsrc/print/cups-browsed/PLIST:1.2
--- pkgsrc/print/cups-browsed/PLIST:1.1 Sat Aug 16 01:11:39 2025
+++ pkgsrc/print/cups-browsed/PLIST     Wed Apr 22 17:24:19 2026
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2025/08/16 01:11:39 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.2 2026/04/22 17:24:19 wiz Exp $
+libexec/cups-browsed
 libexec/cups/backend/implicitclass
 man/man5/cups-browsed.conf.5
 man/man8/cups-browsed.8



Home | Main Index | Thread Index | Old Index