MFH: r527565

switch kicad-doc from source to pre-built docs

The build process is rather unstable on our asciidoc toolchain, but
then the doc files are completely independent of OS and machine
architecture, so there's nothing which stops us from just taking the
ready-built files from upstream. At the same time this enables two
additional documentation languages (polnish and chinese) - their
build process was even more unstable than the rest in my environment.

PR:		241183

Approved by:	ports-secteam (joneum@)
This commit is contained in:
Christoph Moench-Tegeder 2020-03-01 18:10:41 +00:00
parent bbfffc9f42
commit dcd1fe0196
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2020Q1/; revision=527566
3 changed files with 1659 additions and 20 deletions

View File

@ -3,37 +3,26 @@
PORTNAME= kicad
PORTVERSION= 5.1.5
PORTREVISION= 1
CATEGORIES= cad
MASTER_SITES= https://kicad-downloads.s3.cern.ch/docs/
PKGNAMESUFFIX= -doc
DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${DISTVERSION}
MAINTAINER= cmt@FreeBSD.org
COMMENT= KiCad Documentation and Help Files
LICENSE= GPLv3+ CC-BY-3.0
LICENSE_COMB= dual
LICENSE_FILE= ${WRKSRC}/LICENSE.adoc
BUILD_DEPENDS= ja-font-vlgothic>0:japanese/font-vlgothic \
tex-xetex>0:print/tex-xetex \
asciidoc:textproc/asciidoc \
dblatex:textproc/dblatex \
po4a:textproc/po4a \
source-highlight:textproc/source-highlight \
freefont-ttf>0:x11-fonts/freefont-ttf
RUN_DEPENDS= kicad:cad/kicad
USES= cmake gettext-tools
USE_GITHUB= yes
GH_ACCOUNT= KiCad
GH_PROJECT= kicad-doc
CONFLICTS= kicad-devel-r2*
NO_ARCH= yes
NO_BUILD= yes
CMAKE_ARGS= -DLOCALBASE="${LOCALBASE}" \
-DLANGUAGES="ca;de;en;es;fr;id;it;ja;nl;ru"
INSTALL_TARGET= install
do-install:
cd ${WRKSRC}/share/doc/kicad && ${COPYTREE_SHARE} . ${STAGEDIR}/${DOCSDIR}
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1574032110
SHA256 (KiCad-kicad-doc-5.1.5_GH0.tar.gz) = 6a36d185cfb4b52540704114ef6fe32138e025c088eb7363c337804c80b828e6
SIZE (KiCad-kicad-doc-5.1.5_GH0.tar.gz) = 75372826
TIMESTAMP = 1583079927
SHA256 (kicad-doc-5.1.5.tar.gz) = 477ad2ac29e70eccf1155cdca887280d1c74767b9444f7d38b5ec701fee17dc5
SIZE (kicad-doc-5.1.5.tar.gz) = 317623098

File diff suppressed because it is too large Load Diff