pkgsrc-Changes archive

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

CVS commit: pkgsrc/doc



Module Name:    pkgsrc
Committed By:   rillig
Date:           Sun May 31 21:22:47 UTC 2020

Modified Files:
        pkgsrc/doc: Makefile-example

Log Message:
doc/Makefile-example: unquote RESTRICTED, fix post-install


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 pkgsrc/doc/Makefile-example

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

Modified files:

Index: pkgsrc/doc/Makefile-example
diff -u pkgsrc/doc/Makefile-example:1.26 pkgsrc/doc/Makefile-example:1.27
--- pkgsrc/doc/Makefile-example:1.26    Sun May 31 21:18:14 2020
+++ pkgsrc/doc/Makefile-example Sun May 31 21:22:47 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile-example,v 1.26 2020/05/31 21:18:14 rillig Exp $
+# $NetBSD: Makefile-example,v 1.27 2020/05/31 21:22:47 rillig Exp $
 
 # First paragraph - distfile and binary package data
 # DISTNAME PKGNAME PKGREVISION CATEGORIES MASTER_SITES
@@ -23,7 +23,7 @@ LICENSE=              hptools-license # Licenses sho
 
 # Set RESTRICTED to a very short explanation (typically "No permission to
 # redistribute for a fee.").  NO_*_ON_* may only be set to ${RESTRICTED}.
-RESTRICTED=            "Redistribution of unmodified source only; resale prohibited."
+RESTRICTED=            Redistribution of unmodified source only; resale prohibited.
 NO_SRC_ON_CDROM=       ${RESTRICTED}
 NO_BIN_ON_FTP=         ${RESTRICTED}
 NO_BIN_ON_CDROM=       ${RESTRICTED}
@@ -71,12 +71,12 @@ BUILD_DEFS+=                GNU_PROGRAM_PREFIX
 
 # Makefile targets should occur after all the other definitions in the file
 post-install:
-       ${CHMOD} g-s ${PREFIX}/bin/${GNU_PROGRAM_PREFIX}make
-       ${CHGRP} ${BINGRP} ${PREFIX}/bin/${GNU_PROGRAM_PREFIX}make
+       ${CHMOD} g-s ${DESTDIR}${PREFIX}/bin/${GNU_PROGRAM_PREFIX}make
+       ${CHGRP} ${BINGRP} ${DESTDIR}${PREFIX}/bin/${GNU_PROGRAM_PREFIX}make
 .if !defined(GNU_PROGRAM_PREFIX) || ${GNU_PROGRAM_PREFIX} != "g"
        # Solaris's "ln -fs" is not the same as on *BSD - use an explicit rm(1) instead
-       ${RM} -f ${PREFIX}/bin/gmake
-       ${LN} -s ${GNU_PROGRAM_PREFIX}make ${PREFIX}/bin/gmake
+       ${RM} -f ${DESTDIR}${PREFIX}/bin/gmake
+       ${LN} -s ${GNU_PROGRAM_PREFIX}make ${DESTDIR}${PREFIX}/bin/gmake
 .endif
 
 # buildlink3 files should come after all variables have been set,



Home | Main Index | Thread Index | Old Index