diff options
author | gdt <gdt@pkgsrc.org> | 2006-05-14 16:35:58 +0000 |
---|---|---|
committer | gdt <gdt@pkgsrc.org> | 2006-05-14 16:35:58 +0000 |
commit | 814650e9545f6a47a8531cbf8676af9deff5dd6a (patch) | |
tree | 4a4be2eb9fdbdb8a00d2980b100d25e5d82bac47 /x11 | |
parent | eddbc9d55066d5f954872012cc8c003d894c50c3 (diff) | |
download | pkgsrc-814650e9545f6a47a8531cbf8676af9deff5dd6a.tar.gz |
Remove NOT_FOR_PLATFORM for Interix; that should be for technical
issues only, not licensing.
Add LICENSE=openmotif-license because this software is non-Free.
Set RESTRICTED, and NO_*_ON_CDROM because the license has complex
terms for "commercial product offering".
If $(OPSYS) is not in
DragonFly FreeBSD Linux NetBSD OpenBSD
set NO_*_ON_FTP, because the license only grants distribution rights
for open source operating systems.
I believe this commit will still prevent openmotif from building on
Interix without setting ACCEPTABLE_LICENSES, and should also result in
all 4 of NO_*_ON_* being set on Interix.
There's too much make code to implement NO_*_ON_FTP-on-other-than-list
(munged from bsd.pkg.mk), but I didn't see a way to make
ONLY_FOR_PLATFORM run a makefile fragment on other platforms.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/openmotif/Makefile | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/x11/openmotif/Makefile b/x11/openmotif/Makefile index 3d78c91f0b3..cbe34801768 100644 --- a/x11/openmotif/Makefile +++ b/x11/openmotif/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.45 2006/05/14 14:52:56 tv Exp $ +# $NetBSD: Makefile,v 1.46 2006/05/14 16:35:58 gdt Exp $ PKGVER= 2.2.3 DISTNAME= openMotif-${PKGVER} @@ -11,7 +11,26 @@ MAINTAINER= joerg@NetBSD.org HOMEPAGE= http://www.opengroup.org/openmotif/ COMMENT= The Open Group Motif toolkit for the X Window System -NOT_FOR_PLATFORM+= Interix-*-* # not Open Source, prohibited by license +LICENSE= openmotif-licenes +RESTRICTED= Only for Open Source OS; complex terms for commercial +# List OSes known to be Open Source; default to not acceptable for new ones. +_OPSYS_OK= NO +_OPSYS_OK_LIST= DragonFly FreeBSD Linux NetBSD OpenBSD +.for __tmp__ in ${_OPSYS_OK_LIST} +. if !empty(${OPSYS:M${__tmp__}}) +. _OPSYS_OK=YES +. endif +.endfor +# Open Source OS ==> non-commercial distribution acceptable +# Other OS ==> no distribution +.if empty(_OPSYS_OK:MYES) +NO_SRC_ON_FTP= ${RESTRICTED} +NO_BIN_ON_FTP= ${RESTRICTED} +.endif +# License seems to require indemnification for "commercial product offering", +# but doesn't define that. +NO_SRC_ON_CDROM= ${RESTRICTED} +NO_PKG_ON_CDROM= ${RESTRICTED} CONFLICTS+= lesstif-[0-9]* |