diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2019-06-09 09:01:54 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2019-06-09 09:01:54 +0000 |
commit | 3960de152748bbdd251d9c501f13ddb211ef5ff5 (patch) | |
tree | f9ddfa53364eab597f2e4e056c02218124fba755 /print | |
parent | New port: multimedia/kodi-addon-vfs.libarchive-devel (diff) |
- Update WWW
- Switch to options helpers
- Pet portlint
Approved by: portmgr blanket
Notes
Notes:
svn path=/head/; revision=503808
Diffstat (limited to 'print')
-rw-r--r-- | print/foxitreader/Makefile | 21 | ||||
-rw-r--r-- | print/foxitreader/pkg-descr | 2 |
2 files changed, 9 insertions, 14 deletions
diff --git a/print/foxitreader/Makefile b/print/foxitreader/Makefile index 97b6a585c59e..39f81497d22e 100644 --- a/print/foxitreader/Makefile +++ b/print/foxitreader/Makefile @@ -6,7 +6,6 @@ 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 @@ -15,8 +14,8 @@ 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 @@ -26,28 +25,24 @@ 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 <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MDOCS} -MASTER_SITES+= http://cdn04.foxitsoftware.com/pub/foxit/manual/enu/:manual -DISTFILES+= FoxitReader${PORTVERSION:R}ForLinux_Manual.pdf:manual -.endif +DOCS_MASTER_SITES= http://cdn04.foxitsoftware.com/pub/foxit/manual/enu/:manual +DOCS_DISTFILES= FoxitReader${PORTVERSION:R}ForLinux_Manual.pdf:manual 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 <bsd.port.mk> diff --git a/print/foxitreader/pkg-descr b/print/foxitreader/pkg-descr index 69f79b013bcd..043a244458e8 100644 --- a/print/foxitreader/pkg-descr +++ b/print/foxitreader/pkg-descr @@ -5,4 +5,4 @@ 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/ |