pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/cdrtools



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Fri Dec  3 17:45:34 UTC 2021

Modified Files:
        pkgsrc/sysutils/cdrtools: Makefile
        pkgsrc/sysutils/cdrtools/files: INSTALL.pkgsrc

Log Message:
cdrtools: Simplify SUBSTs for files/INSTALL.pkgsrc and replace LOCALBASE too


To generate a diff of this commit:
cvs rdiff -u -r1.123 -r1.124 pkgsrc/sysutils/cdrtools/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/sysutils/cdrtools/files/INSTALL.pkgsrc

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

Modified files:

Index: pkgsrc/sysutils/cdrtools/Makefile
diff -u pkgsrc/sysutils/cdrtools/Makefile:1.123 pkgsrc/sysutils/cdrtools/Makefile:1.124
--- pkgsrc/sysutils/cdrtools/Makefile:1.123     Fri Dec  3 15:13:26 2021
+++ pkgsrc/sysutils/cdrtools/Makefile   Fri Dec  3 17:45:34 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.123 2021/12/03 15:13:26 micha Exp $
+# $NetBSD: Makefile,v 1.124 2021/12/03 17:45:34 ryoon Exp $
 
 DISTNAME=      schily-2021-09-18
 PKGNAME=       cdrtools-3.02a10
@@ -41,8 +41,9 @@ SUBST_CLASSES+=               install
 SUBST_STAGE.install=   post-configure
 SUBST_MESSAGE.install= Preparing INSTALL.pkgsrc file ...
 SUBST_FILES.install=   ${WRKDIR}/INSTALL.pkgsrc
-SUBST_SED.install=     -e 's,PKGNAME_NOREV,${PKGNAME_NOREV},'
-SUBST_SED.install+=    -e 's,CDRECORD_CONF,${PKG_SYSCONFDIR}/cdrecord,'
+SUBST_VARS.install=    PKGNAME_NOREV
+SUBST_VARS.install+=   PKG_SYSCONFDIR
+SUBST_VARS.install+=   LOCALBASE
 
 # Shared platform specific code for schilytools (provided by smake package)
 .include "../../devel/smake/Makefile.common"

Index: pkgsrc/sysutils/cdrtools/files/INSTALL.pkgsrc
diff -u pkgsrc/sysutils/cdrtools/files/INSTALL.pkgsrc:1.1 pkgsrc/sysutils/cdrtools/files/INSTALL.pkgsrc:1.2
--- pkgsrc/sysutils/cdrtools/files/INSTALL.pkgsrc:1.1   Fri Dec  3 15:13:27 2021
+++ pkgsrc/sysutils/cdrtools/files/INSTALL.pkgsrc       Fri Dec  3 17:45:34 2021
@@ -1,14 +1,14 @@
-The location of the PKGNAME_NOREV `defaults' file has been set to:
+The location of the @PKGNAME_NOREV@ `defaults' file has been set to:
 
-   CDRECORD_CONF
+   @PKG_SYSCONFDIR@/cdrecord
 
-This is the pkgsrc standard config file location, NOT the PKGNAME_NOREV
+This is the pkgsrc standard config file location, NOT the @PKGNAME_NOREV@
 standard location, which is /etc/default/cdrecord.
 
 The reason for this is that pkgsrc packages should not use configuration
-files outside ${LOCALBASE} unless they are explicitly set by the user.
+files outside @LOCALBASE@ unless they are explicitly set by the user.
 
 
-You will need to stop Solaris volume management before using PKGNAME_NOREV:
+You will need to stop Solaris volume management before using @PKGNAME_NOREV@:
 
     /etc/init.d/volmgt stop



Home | Main Index | Thread Index | Old Index