diff options
author | jlam <jlam@pkgsrc.org> | 2007-07-29 05:18:36 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2007-07-29 05:18:36 +0000 |
commit | 28eeb8a5663998ab6cfc07ef15ed10e5d97cf91d (patch) | |
tree | 45cad36d8470a568b9136017b2dd79c9efcc65bc /print/acroread5 | |
parent | 566d930409bea6d1ac48d9e1a3be5e5e1a6296e5 (diff) | |
download | pkgsrc-28eeb8a5663998ab6cfc07ef15ed10e5d97cf91d.tar.gz |
* Add new emulator framework in pkgsrc/mk/emulator that handles all
binary-only packages that require binary "emulation" on the native
operating system. Please see pkgsrc/mk/emulator/README for more
details.
* Teach the plist framework to automatically use any existing
PLIST.${EMUL_PLATFORM} as part of the default PLIST_SRC definition.
* Convert all of the binary-only packages in pkgsrc to use the
emulator framework. Most of them have been tested to install and
deinstall correctly. This involves the following cleanup actions:
* Remove use of custom PLIST code and use PLIST.${EMUL_PLATFORM}
more consistently.
* Simplify packages by using default INSTALL and DEINSTALL scripts
instead of custom INSTALL/DEINSTALL code.
* Remove "SUSE_COMPAT32" and "PKG_OPTIONS.suse" from pkgsrc.
Packages only need to state exactly which emulations they support,
and the framework handles any i386-on-x86_64 or sparc-on-sparc64
uses.
* Remove "USE_NATIVE_LINUX" from pkgsrc. The framework will
automatically detect when the package is installing on Linux.
Specific changes to packages include:
* Bump the PKGREVISIONs for all of the suse100* and suse91* packages
due to changes in the +INSTALL/+DEINSTALL scripts used in all
of the packages.
* Remove pkgsrc/emulators/suse_linux, which is unused by any
packages.
* cad/lc -- remove custom code to create the distinfo file for
all supported platforms; just use "emul-fetch" and "emul-distinfo"
instead.
* lang/Cg-compiler -- install the shared libraries under ${EMULDIR}
instead of ${PREFIX}/lib so that compiled programs will find
the shared libraries.
* mail/thunderbird-bin-nightly -- update to latest binary
distributions for supported platforms.
* multimedia/ns-flash -- update Linux version to 9.0.48 as the
older version is no longer available for interactive fetch.
* security/uvscan -- set LD_LIBRARY_PATH explicitly so that
it's not necessary to install library symlinks into
${EMULDIR}/usr/local/lib.
* www/firefox-bin-flash -- update Linux version to 9.0.48 as the
older version is no longer available for interactive fetch.
Diffstat (limited to 'print/acroread5')
-rw-r--r-- | print/acroread5/Makefile | 44 | ||||
-rw-r--r-- | print/acroread5/PLIST.solaris-sparc (renamed from print/acroread5/PLIST.sparc) | 2 |
2 files changed, 12 insertions, 34 deletions
diff --git a/print/acroread5/Makefile b/print/acroread5/Makefile index 64d33082d60..0e62832e953 100644 --- a/print/acroread5/Makefile +++ b/print/acroread5/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.36 2006/10/14 08:14:24 wiz Exp $ +# $NetBSD: Makefile,v 1.37 2007/07/29 05:19:50 jlam Exp $ -DISTNAME= acroread5 # Overridden below +DISTNAME= acroread5 # overridden below PKGNAME= acroread5-5.10 PKGREVISION= 4 CATEGORIES= print @@ -23,40 +23,22 @@ NO_SRC_ON_FTP= ${RESTRICTED} LICENSE= adobe-acrobat-license WRKSRC= ${WRKDIR}/installers -CHECK_SHLIBS_SUPPORTED= no -NO_BUILD= yes +BUILD_DIRS= # empty -.include "../../mk/bsd.prefs.mk" - -ONLY_FOR_PLATFORM= *-*-i386 *-*-sparc* +EMUL_PLATFORMS= linux-i386 +EMUL_PLATFORMS+= solaris-sparc +EMUL_MODULES.linux= x11 -# Default (overridden below) -PLATFORM= unknown +.include "../../mk/bsd.prefs.mk" -.if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly" -. if (${MACHINE_ARCH} == "i386") -DEPENDS+= suse_x11>=6.1:../../emulators/${SUSE_DIR_PREFIX}_x11 -DISTNAME= linux-5010 -PLATFORM= intellinux -. elif (${MACHINE_ARCH} == "sparc") -. if !exists(/emul/svr4/usr/lib/ld.so) -PKG_FAIL_REASON+= '${PKGNAME} requires Solaris libraries - see compat_svr4(8)' -. endif -DISTNAME= solaris-5010 -PLATFORM= sparcsolaris -. elif (${MACHINE_ARCH} == "sparc64") -. if !exists(/emul/svr4_32/usr/lib/ld.so) -PKG_FAIL_REASON+= '${PKGNAME} requires Solaris libraries - see compat_svr4_32(8)' -. endif -DISTNAME= solaris-5010 -PLATFORM= sparcsolaris -. endif -.elif ${OPSYS} == "Linux" +.if ${EMUL_PLATFORM} == "linux-i386" DISTNAME= linux-5010 PLATFORM= intellinux -.elif ${OPSYS} == "SunOS" +.elif ${EMUL_PLATFORM} == "solaris-sparc" DISTNAME= solaris-5010 PLATFORM= sparcsolaris +.else +PLATFORM= unknown .endif PLIST_SUBST+= PLATFORM=${PLATFORM:Q} @@ -79,8 +61,4 @@ post-install: @${ECHO_MSG} "${PREFIX}/Acrobat5/Reader/license.txt" ${LN} -sf ${PREFIX}/bin/acroread5 ${PREFIX}/bin/acroread -# do not include the linux stuff if we are, for example, on a Solaris box -. if (${MACHINE_ARCH} == "i386") -.include "../../emulators/suse_linux/Makefile.application" -.endif .include "../../mk/bsd.pkg.mk" diff --git a/print/acroread5/PLIST.sparc b/print/acroread5/PLIST.solaris-sparc index 0f24d25fcd8..ac27656034e 100644 --- a/print/acroread5/PLIST.sparc +++ b/print/acroread5/PLIST.solaris-sparc @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST.sparc,v 1.2 2003/05/04 18:04:22 jmmv Exp $ +@comment $NetBSD: PLIST.solaris-sparc,v 1.1 2007/07/29 05:19:50 jlam Exp $ Acrobat5/Reader/help/search.pdf Acrobat5/Reader/${PLATFORM}/plug_ins/search.api Acrobat5/Reader/${PLATFORM}/plug_ins/acrosrch.uid |