1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/print/acroread8/Makefile
Hiroki Sato 6f5cc3d5b3 Update to 8.1.2. Bug fixes and enhancements can be found at
http://blogs.adobe.com/acroread/2008/02/#a005029:

[General Issues]

* Font caching Issues: Various font caching issues are fixed in Reader
  8.1.2, including the issue of fonts that were configured using
  fontconfig not being picked up by the Reader to render documents
  (reported by Novell).

* Problem with Dual-screen setup (Xinerama mode).: Issue number 4
  listed on the Known Issues page for Reader 8.1.1.

* Document ordering and fullscreen mode: Issue has been fixed in
  Reader 8.1.2.

* Font KozGoProVI-Medium.otf is missing in Japanese Reader: This issue
  is fixed in Reader 8.1.2.

[Printing Related Issues]

* Incorrect orientation: Issues with printing PDF files containing
  portrait and landscape pages have been fixed in Reader
  8.1.2. Choosing "Auto Rotate and Center" will now print the pages in
  their inherent orientation.

* Red wash on printing with HP CLJ 2605: A workaround for this has
  been added in the preferences
  ($HOME/.adobe/Acrobat/8.0/Preferences/reader_prefs), namely
  "brokenCRDs". This value is set to "false" by default and can be
  modified to "true" if one faces the red background issue.

* Scaling issues: Problems with -shrink/-expand options in the command
  line (Issue #1 listed on the Known Issues page for Reader 8.1.1) as
  well as with "Custom" printing in the dialog have been fixed in
  Reader 8.1.2.

* Reader does not remember last chosen printer across sessions: Last
  chosen printer is now remembered between different sessions of the
  Reader in 8.1.2 release.

* Cannot pipe PDF as input to acroread: PDF contents can be read from
  stdin when using the -toPostScript option.

* Hardcoding of printer command: Earlier the printer command was
  hardcoded in the reader binary. This has been fixed in Reader 8.1.2
  to pick up the command from the PATH environment variable.
2008-04-13 18:36:29 +00:00

88 lines
2.7 KiB
Makefile

# New ports collection makefile for: acroread8
# Date created: 20 October 2007
# Whom: hrs
#
# $FreeBSD$
#
PORTNAME= acroread8
PORTVERSION?= 8.1.2
CATEGORIES?= print linux
MASTER_SITES?= http://ardownload.adobe.com/pub/adobe/reader/unix/8.x/${PORTVERSION}/${ADOBE_LANG:L}/ \
ftp://ftp.adobe.com/pub/adobe/reader/unix/8.x/${PORTVERSION}/${ADOBE_LANG:L}/
DISTNAME= AdobeReader_${ADOBE_LANG:L}-${PORTVERSION}-1.i486
DIST_SUBDIR= acroread
MAINTAINER= hrs@FreeBSD.org
COMMENT= Adobe Reader for view, print, and search PDF documents (${ADOBE_LANG})
RUN_DEPENDS= acroreadwrapper>=0.0.20080110:${PORTSDIR}/print/acroreadwrapper \
${LINUXBASE}/usr/lib/libgtk-x11-2.0.so.0:${PORTSDIR}/x11-toolkits/linux-gtk2 \
${LINUXBASE}/usr/lib/libpango-1.0.so.0:${PORTSDIR}/x11-toolkits/linux-pango \
${LOCALBASE}/lib/linux-nvu/libgtkembedmoz.so:${PORTSDIR}/www/linux-nvu \
${LINUXBASE}/usr/lib/gtk-2.0/immodules/im-scim.so:${PORTSDIR}/textproc/linux-scim-libs
RESTRICTED= Must fill out redistribution form at http://www.adobe.com/products/acrobat/distribute.html
ONLY_FOR_ARCHS= amd64 i386
USE_LINUX= yes
USE_BZIP2= yes
USE_LDCONFIG= yes
#USE_GNOME= desktopfileutils
NO_BUILD= yes
PLIST_SUB= ACRODIR=${ACRODIR} \
ACROBASE=${ACROBASE} \
ADOBEBASE=${ADOBEBASE} \
PLUGINDIR=${PLUGINDIR} \
ADOBE_LANG=${ADOBE_LANG:U} \
LOCALE_NAME=${LOCALE_NAME}
SUB_FILES= ln mv rm pkg-message pkg-deinstall
SUB_LIST= ADOBE_LANG=${ADOBE_LANG:U} \
ACROBASE=${ACROBASE}
PKGMESSAGE= ${WRKDIR}/pkg-message
PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
WRKSRC= ${WRKDIR}/AdobeReader
LANGCODE= chs:zh_CN cht:zh_TW dan:da_DK deu:de_DE enu:en_US \
esp:es_ES fra:fr_FR ita:it_IT jpn:ja_JP kor:ko_KR \
nld:nl_NL nor:nb_NO ptb:pt_BR suo:fi_FI sve:sv_SE
ADOBE_LANG?= ENU
.for L in ${ADOBE_LANG:L}
LOCALE_NAME= ${LANGCODE:M${L}\:*:C/.*\://}
LANG_${L:U}= ""
LANG_NON${L:U}= "@comment "
.endfor
.for L in ${LANGCODE:C/\:.*//:U}
LANG_${L}?= "@comment "
LANG_NON${L}?= ""
PLIST_SUB+= LANG_${L}=${LANG_${L}}
PLIST_SUB+= LANG_NON${L}=${LANG_NON${L}}
.endfor
ADOBEBASE= Adobe
ACROBASE= ${ADOBEBASE}/Reader8
ACRODIR= ${ACROBASE}/${ADOBE_LANG:U}
PLUGINDIR= lib/browser_linux_plugins
INSTALLDIR= ${PREFIX}/${ACRODIR}
INSTALLEXEC= ${SETENV} UNAME_s=Linux \
InstallDir=${INSTALLDIR} \
UNAME_r="Linux Compatibility on FreeBSD" \
${SH} ./INSTALL --install_path=${INSTALLDIR} > /dev/null
pre-install:
@${MKDIR} ${WRKDIR}/bin
@${INSTALL_SCRIPT} \
${WRKDIR}/ln ${WRKDIR}/rm ${WRKDIR}/mv \
${WRKDIR}/bin
do-install:
@${ECHO_CMD} Installing...
@${MKDIR} ${INSTALLDIR}
@cd ${WRKSRC} && ${SETENV} PATH=${WRKDIR}/bin:${PATH} ${INSTALLEXEC} > /dev/null
.if ${ADOBE_LANG:U} != ENU
post-install:
@${CAT} ${PKGMESSAGE}
.endif
.include <bsd.port.mk>