Tue Jun 30 00:42:01 2009 UTC ()
Move PKG_INSTALLATION_TYPES and PKG_DESTDIR_SUPPORT before bsd.prefs.mk.


(joerg)
diff -r1.59 -r1.60 pkgsrc/x11/openmotif/Makefile

cvs diff -r1.59 -r1.60 pkgsrc/x11/openmotif/Attic/Makefile (expand / switch to unified diff)

--- pkgsrc/x11/openmotif/Attic/Makefile 2009/05/19 08:59:38 1.59
+++ pkgsrc/x11/openmotif/Attic/Makefile 2009/06/30 00:42:01 1.60
@@ -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
3PKGVER= 2.3.1 3PKGVER= 2.3.1
4DISTNAME= openmotif-${PKGVER} 4DISTNAME= openmotif-${PKGVER}
5#PKGREVISION= 3 5#PKGREVISION= 3
6PKGREVISION= 1 6PKGREVISION= 1
7CATEGORIES= x11 7CATEGORIES= x11
8MASTER_SITES= http://ftp.ics.com/openmotif/2.3/2.3.1/ 8MASTER_SITES= http://ftp.ics.com/openmotif/2.3/2.3.1/
9MASTER_SITES+= ftp://ftp.ics.com/openmotif/2.3/2.3.1/ 9MASTER_SITES+= ftp://ftp.ics.com/openmotif/2.3/2.3.1/
10 10
11MAINTAINER= joerg@NetBSD.org 11MAINTAINER= joerg@NetBSD.org
12HOMEPAGE= http://www.opengroup.org/openmotif/ 12HOMEPAGE= http://www.opengroup.org/openmotif/
13COMMENT= The Open Group Motif toolkit for the X Window System 13COMMENT= The Open Group Motif toolkit for the X Window System
14LICENSE= openmotif-license 14LICENSE= openmotif-license
15 15
 16PKG_INSTALLATION_TYPES= overwrite pkgviews
 17PKG_DESTDIR_SUPPORT= user-destdir
 18
16.include "../../mk/bsd.prefs.mk" 19.include "../../mk/bsd.prefs.mk"
17 20
18RESTRICTED= Only for Open Source OS; complex terms for commercial distribution. 21RESTRICTED= 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.
26OPSYS_OK_LIST= DragonFly FreeBSD Linux NetBSD OpenBSD 29OPSYS_OK_LIST= DragonFly FreeBSD Linux NetBSD OpenBSD
27.if empty(OPSYS_OK_LIST:M${OPSYS}) 30.if empty(OPSYS_OK_LIST:M${OPSYS})
28NO_BIN_ON_FTP= ${RESTRICTED} 31NO_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.
34NO_SRC_ON_CDROM= ${RESTRICTED} 37NO_SRC_ON_CDROM= ${RESTRICTED}
35NO_BIN_ON_CDROM= ${RESTRICTED} 38NO_BIN_ON_CDROM= ${RESTRICTED}
36 39
37PKG_INSTALLATION_TYPES= overwrite pkgviews 
38PKG_DESTDIR_SUPPORT= user-destdir 
39 
40CONFLICTS+= lesstif-[0-9]* 40CONFLICTS+= lesstif-[0-9]*
41 41
42USE_LIBTOOL= yes 42USE_LIBTOOL= yes
43USE_TOOLS+= flex gmake tbl pkg-config 43USE_TOOLS+= flex gmake tbl pkg-config
44GNU_CONFIGURE= yes 44GNU_CONFIGURE= yes
45MAKE_JOBS_SAFE= no # PR 37233 45MAKE_JOBS_SAFE= no # PR 37233
46 46
47SUBST_CLASSES+= man_rename 47SUBST_CLASSES+= man_rename
48SUBST_STAGE.man_rename= pre-configure 48SUBST_STAGE.man_rename= pre-configure
49SUBST_MESSAGE.man_rename= Fixing hardcoded paths. 49SUBST_MESSAGE.man_rename= Fixing hardcoded paths.
50SUBST_FILES.man_rename= doc/man/man3/Makefile.in 50SUBST_FILES.man_rename= doc/man/man3/Makefile.in
51SUBST_SED.man_rename= -e 's: Core.3: XCore.3:g' 51SUBST_SED.man_rename= -e 's: Core.3: XCore.3:g'
52SUBST_SED.man_rename+= -e 's: Object.3: XObject.3:g' 52SUBST_SED.man_rename+= -e 's: Object.3: XObject.3:g'