Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/doc doc/Makefile-example: unquote RESTRICTED, fix post...
details: https://anonhg.NetBSD.org/pkgsrc/rev/862c20520c9a
branches: trunk
changeset: 433243:862c20520c9a
user: rillig <rillig%pkgsrc.org@localhost>
date: Sun May 31 21:22:47 2020 +0000
description:
doc/Makefile-example: unquote RESTRICTED, fix post-install
diffstat:
doc/Makefile-example | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (35 lines):
diff -r ef990bfc1042 -r 862c20520c9a doc/Makefile-example
--- a/doc/Makefile-example Sun May 31 21:18:14 2020 +0000
+++ b/doc/Makefile-example Sun May 31 21:22:47 2020 +0000
@@ -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 @@
# 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 @@
# 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