diff options
author | frueauf <frueauf> | 1998-07-14 10:56:15 +0000 |
---|---|---|
committer | frueauf <frueauf> | 1998-07-14 10:56:15 +0000 |
commit | 714257b6afb8ab51421a0e7cfc30e531143e198a (patch) | |
tree | eaaacd3793a7798f41fc2b41ca1fa95c4725d22f /mk | |
parent | c29cddbefec23421358d21f9cf6bccb7d7842a38 (diff) | |
download | pkgsrc-714257b6afb8ab51421a0e7cfc30e531143e198a.tar.gz |
cat ${PKGDIR}/MESSAGE in bsd.pkg.mk if it exists, don't do it in every
package Makefile.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 9308ed973fb..e42b676a9e5 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.115 1998/07/13 13:08:06 mycroft Exp $ +# $NetBSD: bsd.pkg.mk,v 1.116 1998/07/14 10:56:15 frueauf Exp $ # # This file is in the public domain. # @@ -569,16 +569,16 @@ IGNORE= "is restricted: ${RESTRICTED}" IGNORE= "uses X11, but ${X11BASE} not found" .elif defined(BROKEN) IGNORE= "is marked as broken: ${BROKEN}" -.elif defined(LICENSE) -.ifdef ACCEPTABLE_LICENSES -.for _lic in ${ACCEPTABLE_LICENSES} -.if ${LICENSE} == "${_lic}" +.elif defined(LICENCE) +.ifdef ACCEPTABLE_LICENCES +.for _lic in ${ACCEPTABLE_LICENCES} +.if ${LICENCE} == "${_lic}" _ACCEPTABLE= yes .endif .endfor # _lic -.endif # ACCEPTABLE_LICENSES +.endif # ACCEPTABLE_LICENCES .ifndef _ACCEPTABLE -IGNORE= "Unacceptable license: ${LICENSE}" +IGNORE= "Unacceptable licence: ${LICENCE}" .endif .endif @@ -1059,6 +1059,10 @@ _PORT_USE: .USE fi; \ done; \ fi) +.if exists(${PKGDIR}/MESSAGE) + @${ECHO_MSG} "===> Please note the following:" + @${CAT} ${PKGDIR}/MESSAGE +.endif .if !defined(NO_PKG_REGISTER) @cd ${.CURDIR} && ${MAKE} ${.MAKEFLAGS} fake-pkg .endif # NO_PKG_REGISTER |