Index: head/print/foxitreader/Makefile =================================================================== --- head/print/foxitreader/Makefile (revision 503807) +++ head/print/foxitreader/Makefile (revision 503808) @@ -1,53 +1,48 @@ # Created by: Nicola Vitale # $FreeBSD$ PORTNAME= foxitreader PORTVERSION= 1.1.0 PORTREVISION= 4 CATEGORIES= print MASTER_SITES= http://cdn04.foxitsoftware.com/pub/foxit/reader/desktop/linux/1.x/${PORTVERSION:R}/enu/:reader - DISTFILES= FoxitReader-${PORTVERSION}.tar.bz2:reader EXTRACT_ONLY= FoxitReader-${PORTVERSION}.tar.bz2 MAINTAINER= nivit@FreeBSD.org COMMENT= Free PDF document viewer for desktop Linux LICENSE= EULA LICENSE_NAME= End-User License Agreement -LICENSE_PERMS= auto-accept LICENSE_TEXT= http://www.foxitsoftware.com/pdf/desklinux/eula.htm +LICENSE_PERMS= auto-accept NO_BUILD= yes OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes USES= gettext linux tar:bzip2 USE_LINUX= avahi-libs cups-libs dbuslibs gtk2 nss -WRKSRC= ${WRKDIR}/${PORTVERSION:R}-release +WRKSRC= ${WRKDIR}/${PORTVERSION:R}-release -.include +DOCS_MASTER_SITES= http://cdn04.foxitsoftware.com/pub/foxit/manual/enu/:manual +DOCS_DISTFILES= FoxitReader${PORTVERSION:R}ForLinux_Manual.pdf:manual -.if ${PORT_OPTIONS:MDOCS} -MASTER_SITES+= http://cdn04.foxitsoftware.com/pub/foxit/manual/enu/:manual -DISTFILES+= FoxitReader${PORTVERSION:R}ForLinux_Manual.pdf:manual -.endif - do-install: @${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC} && ${INSTALL_DATA} fpdfcjk.bin fum.fhd ${STAGEDIR}${DATADIR}) ${INSTALL_PROGRAM} ${WRKSRC}/FoxitReader ${STAGEDIR}${DATADIR} ${LN} -s ${DATADIR}/FoxitReader ${STAGEDIR}${PREFIX}/bin/FoxitReader -.if ${PORT_OPTIONS:MNLS} + +do-install-NLS-on: .for locale in de fr ja zh_CN zh_TW ${INSTALL_DATA} ${WRKSRC}/po/${locale}/FoxitReader.mo ${STAGEDIR}${PREFIX}/share/locale/${locale}/LC_MESSAGES/ .endfor -.endif -.if ${PORT_OPTIONS:MDOCS} + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DISTDIR}/FoxitReader${PORTVERSION:R}ForLinux_Manual.pdf ${STAGEDIR}${DOCSDIR} -.endif .include Index: head/print/foxitreader/pkg-descr =================================================================== --- head/print/foxitreader/pkg-descr (revision 503807) +++ head/print/foxitreader/pkg-descr (revision 503808) @@ -1,8 +1,8 @@ Foxit Reader is a free PDF document viewer for the Linux platform, with a new streamlined interface, user-customized toolbar, incredibly small size, breezing-fast launch speed and rich features. This empowers PDF document users with Zoom function, Navigation function, Bookmarks, Thumbnails, Text Selection Tool, Snapshot, and Full Screen capabilities. Foxit Reader for Desktop Linux is provided by Foxit Corporation free for non-commercial use. -WWW: http://www.foxitsoftware.com/pdf/desklinux/ +WWW: https://www.foxitsoftware.com/pdf-reader/