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 | 33f30156fb37245b360bbc293320402ecf1aba41 (patch) | |
tree | 45cad36d8470a568b9136017b2dd79c9efcc65bc /print/acroread7/Makefile | |
parent | ffe106498e5f63e2e945d5b6b2ac8807a10ae78f (diff) | |
download | pkgsrc-33f30156fb37245b360bbc293320402ecf1aba41.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/acroread7/Makefile')
-rw-r--r-- | print/acroread7/Makefile | 37 |
1 files changed, 12 insertions, 25 deletions
diff --git a/print/acroread7/Makefile b/print/acroread7/Makefile index 4ddaeb814e6..56c9442d248 100644 --- a/print/acroread7/Makefile +++ b/print/acroread7/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.17 2007/01/11 11:52:17 obache Exp $ +# $NetBSD: Makefile,v 1.18 2007/07/29 05:19:50 jlam Exp $ -DISTNAME= acroread7 # Overridden below +DISTNAME= acroread7 # overridden below PKGNAME= acroread7-7.0.9 CATEGORIES= print MASTER_SITES= http://ardownload.adobe.com/pub/adobe/reader/unix/7x/7.0.9/enu/ @@ -22,28 +22,19 @@ NO_SRC_ON_FTP= ${RESTRICTED} LICENSE= adobe-acrobat-license WRKSRC= ${WRKDIR}/AdobeReader -CHECK_SHLIBS_SUPPORTED= NO -NO_BUILD= YES +BUILD_DIRS= # empty -.include "../../mk/bsd.prefs.mk" - -ONLY_FOR_PLATFORM= *-*-i386 +EMUL_PLATFORMS= linux-i386 +EMUL_MODULES.linux= compat cups gtk2 locale +SUSE_VERSION_REQD= 10.0 -# Default (overridden below) -PLATFORM= unknown +.include "../../mk/bsd.prefs.mk" -.if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly" -. if (${MACHINE_ARCH} == "i386") -DEPENDS+= suse_gtk2>=10.0:../../emulators/${SUSE_DIR_PREFIX}_gtk2 -DEPENDS+= suse_libcups>=10.0:../../emulators/${SUSE_DIR_PREFIX}_libcups -DEPENDS+= suse_locale>=10.0:../../emulators/${SUSE_DIR_PREFIX}_locale -DEPENDS+= suse_compat>=10.0:../../emulators/${SUSE_DIR_PREFIX}_compat -DISTNAME= AdobeReader_enu-7.0.9-1.i386 -PLATFORM= intellinux -.endif -.elif ${OPSYS} == "Linux" +.if ${EMUL_PLATFORM} == "linux-i386" DISTNAME= AdobeReader_enu-7.0.9-1.i386 PLATFORM= intellinux +.else +PLATFORM= unknown .endif PLIST_SUBST+= PLATFORM=${PLATFORM:Q} @@ -51,8 +42,8 @@ PLIST_SUBST+= PLATFORM=${PLATFORM:Q} BIN_PATCH= ${PATCH} --quiet ${_PATCH_BACKUP_ARG} .orig # Additional directories to search for fonts -BUILD_DEFS+= ACROREAD_FONTPATH -ACROREAD_FONTPATH?= ${PREFIX}/lib/X11/fonts/TTF +BUILD_DEFS+= ACROREAD_FONTPATH +ACROREAD_FONTPATH?= ${PREFIX}/lib/X11/fonts/TTF INSTALLATION_DIRS= bin @@ -75,8 +66,4 @@ post-install: ${LN} -sf ${PREFIX}/bin/acroread7 ${PREFIX}/bin/acroread ${RM} ${PREFIX}/Acrobat7/Reader/${PLATFORM}/plug_ins/PPKLite.api -# 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" |