| @@ -1,52 +1,52 @@ | | | @@ -1,52 +1,52 @@ |
1 | # $NetBSD: Makefile,v 1.59 2009/05/19 08:59:38 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.60 2009/06/30 00:42:01 joerg Exp $ |
2 | | | 2 | |
3 | PKGVER= 2.3.1 | | 3 | PKGVER= 2.3.1 |
4 | DISTNAME= openmotif-${PKGVER} | | 4 | DISTNAME= openmotif-${PKGVER} |
5 | #PKGREVISION= 3 | | 5 | #PKGREVISION= 3 |
6 | PKGREVISION= 1 | | 6 | PKGREVISION= 1 |
7 | CATEGORIES= x11 | | 7 | CATEGORIES= x11 |
8 | MASTER_SITES= http://ftp.ics.com/openmotif/2.3/2.3.1/ | | 8 | MASTER_SITES= http://ftp.ics.com/openmotif/2.3/2.3.1/ |
9 | MASTER_SITES+= ftp://ftp.ics.com/openmotif/2.3/2.3.1/ | | 9 | MASTER_SITES+= ftp://ftp.ics.com/openmotif/2.3/2.3.1/ |
10 | | | 10 | |
11 | MAINTAINER= joerg@NetBSD.org | | 11 | MAINTAINER= joerg@NetBSD.org |
12 | HOMEPAGE= http://www.opengroup.org/openmotif/ | | 12 | HOMEPAGE= http://www.opengroup.org/openmotif/ |
13 | COMMENT= The Open Group Motif toolkit for the X Window System | | 13 | COMMENT= The Open Group Motif toolkit for the X Window System |
14 | LICENSE= openmotif-license | | 14 | LICENSE= openmotif-license |
15 | | | 15 | |
| | | 16 | PKG_INSTALLATION_TYPES= overwrite pkgviews |
| | | 17 | PKG_DESTDIR_SUPPORT= user-destdir |
| | | 18 | |
16 | .include "../../mk/bsd.prefs.mk" | | 19 | .include "../../mk/bsd.prefs.mk" |
17 | | | 20 | |
18 | RESTRICTED= Only for Open Source OS; complex terms for commercial distribution. | | 21 | RESTRICTED= Only for Open Source OS; complex terms for commercial distribution. |
19 | | | 22 | |
20 | # License grants permission to reproduce distfile for use on Open | | 23 | # License grants permission to reproduce distfile for use on Open |
21 | # Source OSes. Therefore, do not set NO_SRC_ON_FTP, since the | | 24 | # Source OSes. Therefore, do not set NO_SRC_ON_FTP, since the |
22 | # distfile is thereby provided with the intent of it being used | | 25 | # distfile is thereby provided with the intent of it being used |
23 | # according to the license. Set NO_BIN_ON_FTP if the operating system | | 26 | # according to the license. Set NO_BIN_ON_FTP if the operating system |
24 | # for which the package is built is not known to be open source. | | 27 | # for which the package is built is not known to be open source. |
25 | # List OSes known to be Open Source; default to not acceptable for new ones. | | 28 | # List OSes known to be Open Source; default to not acceptable for new ones. |
26 | OPSYS_OK_LIST= DragonFly FreeBSD Linux NetBSD OpenBSD | | 29 | OPSYS_OK_LIST= DragonFly FreeBSD Linux NetBSD OpenBSD |
27 | .if empty(OPSYS_OK_LIST:M${OPSYS}) | | 30 | .if empty(OPSYS_OK_LIST:M${OPSYS}) |
28 | NO_BIN_ON_FTP= ${RESTRICTED} | | 31 | NO_BIN_ON_FTP= ${RESTRICTED} |
29 | .endif | | 32 | .endif |
30 | | | 33 | |
31 | # NO_*_ON_CDROM: License seems to require indemnification for | | 34 | # NO_*_ON_CDROM: License seems to require indemnification for |
32 | # "commercial product offering", but doesn't define commercial product | | 35 | # "commercial product offering", but doesn't define commercial product |
33 | # offering. Err on the side of caution and mark restricted. | | 36 | # offering. Err on the side of caution and mark restricted. |
34 | NO_SRC_ON_CDROM= ${RESTRICTED} | | 37 | NO_SRC_ON_CDROM= ${RESTRICTED} |
35 | NO_BIN_ON_CDROM= ${RESTRICTED} | | 38 | NO_BIN_ON_CDROM= ${RESTRICTED} |
36 | | | 39 | |
37 | PKG_INSTALLATION_TYPES= overwrite pkgviews | | | |
38 | PKG_DESTDIR_SUPPORT= user-destdir | | | |
39 | | | | |
40 | CONFLICTS+= lesstif-[0-9]* | | 40 | CONFLICTS+= lesstif-[0-9]* |
41 | | | 41 | |
42 | USE_LIBTOOL= yes | | 42 | USE_LIBTOOL= yes |
43 | USE_TOOLS+= flex gmake tbl pkg-config | | 43 | USE_TOOLS+= flex gmake tbl pkg-config |
44 | GNU_CONFIGURE= yes | | 44 | GNU_CONFIGURE= yes |
45 | MAKE_JOBS_SAFE= no # PR 37233 | | 45 | MAKE_JOBS_SAFE= no # PR 37233 |
46 | | | 46 | |
47 | SUBST_CLASSES+= man_rename | | 47 | SUBST_CLASSES+= man_rename |
48 | SUBST_STAGE.man_rename= pre-configure | | 48 | SUBST_STAGE.man_rename= pre-configure |
49 | SUBST_MESSAGE.man_rename= Fixing hardcoded paths. | | 49 | SUBST_MESSAGE.man_rename= Fixing hardcoded paths. |
50 | SUBST_FILES.man_rename= doc/man/man3/Makefile.in | | 50 | SUBST_FILES.man_rename= doc/man/man3/Makefile.in |
51 | SUBST_SED.man_rename= -e 's: Core.3: XCore.3:g' | | 51 | SUBST_SED.man_rename= -e 's: Core.3: XCore.3:g' |
52 | SUBST_SED.man_rename+= -e 's: Object.3: XObject.3:g' | | 52 | SUBST_SED.man_rename+= -e 's: Object.3: XObject.3:g' |