forked from Lainports/freebsd-ports
misc/gimp-help-en: update 2.10.0 → 2.10.34
2.10.34 User Manual Source (Release Date: 2023-03-05) https://docs.gimp.org/download.html#gimp-210-latest * Fix MASTER_SITES. * Add default option QUICKREFERENCE for "Generate GIMP Quickreference PDF". * Prepare for slave ports with other languages. PR: 280095 Approved by: liangtai.s16@gmail.com (maintainer, timeout 14 days)
This commit is contained in:
parent
0cb87c12e5
commit
d3b5c8f491
2 changed files with 19 additions and 16 deletions
|
|
@ -1,15 +1,15 @@
|
||||||
PORTNAME= gimp-help
|
PORTNAME= gimp-help
|
||||||
PORTVERSION= 2.10.0
|
DISTVERSION= 2.10.34
|
||||||
PORTREVISION= 2
|
PORTREVISION?= 0
|
||||||
CATEGORIES?= misc graphics
|
CATEGORIES?= misc graphics
|
||||||
MASTER_SITES= http://gimp.mirrors.hoobly.com/pub/%SUBDIR%/ \
|
MASTER_SITES= https://download.gimp.org/pub/%SUBDIR%/ \
|
||||||
http://ftp.gwdg.de/pub/misc/grafik/%SUBDIR%/ \
|
https://ftp.gwdg.de/pub/misc/grafik/%SUBDIR%/ \
|
||||||
http://www.mirrorservice.org/sites/ftp.gimp.org/pub/%SUBDIR%/
|
https://www.mirrorservice.org/sites/ftp.gimp.org/pub/%SUBDIR%/
|
||||||
MASTER_SITE_SUBDIR= gimp/help
|
MASTER_SITE_SUBDIR= gimp/help
|
||||||
PKGNAMEPREFIX?= ${DOCLANG}-
|
PKGNAMEPREFIX?= ${DOCLANG}-
|
||||||
PKGNAMESUFFIX= -html
|
PKGNAMESUFFIX= -html
|
||||||
|
|
||||||
MAINTAINER= liangtai.s16@gmail.com
|
MAINTAINER?= liangtai.s16@gmail.com
|
||||||
COMMENT?= GIMP User Manual in English
|
COMMENT?= GIMP User Manual in English
|
||||||
WWW= https://docs.gimp.org/
|
WWW= https://docs.gimp.org/
|
||||||
|
|
||||||
|
|
@ -18,13 +18,13 @@ LICENSE= GFDL
|
||||||
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2.py:textproc/py-libxml2@${PY_FLAVOR} \
|
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2.py:textproc/py-libxml2@${PY_FLAVOR} \
|
||||||
${LOCALBASE}/share/xsl/docbook/xhtml/chunk.xsl:textproc/docbook-xsl
|
${LOCALBASE}/share/xsl/docbook/xhtml/chunk.xsl:textproc/docbook-xsl
|
||||||
|
|
||||||
USES= gettext-tools gmake gnome perl5 pkgconfig python shebangfix \
|
USES= gettext-tools gmake gnome perl5 pkgconfig python:3.8+,build shebangfix \
|
||||||
tar:bzip2
|
tar:bzip2
|
||||||
USE_GNOME= libxslt:build
|
USE_GNOME= intltool:build libxslt:build
|
||||||
USE_PERL5= build
|
USE_PERL5= build
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CONFIGURE_ARGS= --without-gimp
|
CONFIGURE_ARGS= --without-gimp
|
||||||
CONFIGURE_ENV= ALL_LINGUAS=${DOCLANG}
|
CONFIGURE_ENV= ALL_LINGUAS="${DOCLANG}" QUICKREFERENCE_ALL_LINGUAS="${DOCLANG}"
|
||||||
|
|
||||||
DOCLANG?= en
|
DOCLANG?= en
|
||||||
|
|
||||||
|
|
@ -35,13 +35,16 @@ MAKE_JOBS_UNSAFE= yes
|
||||||
|
|
||||||
SHEBANG_FILES= tools/xml2po.py
|
SHEBANG_FILES= tools/xml2po.py
|
||||||
|
|
||||||
|
OPTIONS_DEFINE= QUICKREFERENCE
|
||||||
|
OPTIONS_DEFAULT= QUICKREFERENCE
|
||||||
|
|
||||||
|
QUICKREFERENCE_DESC= Generate GIMP Quickreference PDF (keys bindings)
|
||||||
|
QUICKREFERENCE_USE= gnome=librsvg2:build
|
||||||
|
QUICKREFERENCE_CONFIGURE_OFF= ac_cv_path_SVG2PDF=
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
# Install to the same directory as when configuring --with-gimp
|
# Install to the same directory as when configuring --with-gimp
|
||||||
${REINPLACE_CMD} '/gimpdatadir=.*\/2.0/s,/2\.0,,' \
|
${REINPLACE_CMD} '/gimpdatadir=.*\/2.0/s,/2\.0,,' \
|
||||||
${WRKSRC}/configure
|
${WRKSRC}/configure
|
||||||
.if ${DOCLANG:Mru}
|
|
||||||
${REINPLACE_CMD} -e '/glossary\.xml:1596/{; n; n; s/xref/link/g; }' \
|
|
||||||
${WRKSRC}/po/ru/glossary.po
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
TIMESTAMP = 1580168571
|
TIMESTAMP = 1714953538
|
||||||
SHA256 (gimp-help-2.10.0.tar.bz2) = 03804fed071b49e5810edd8327868659dfd9932fbf34d34189d56bd0ad539118
|
SHA256 (gimp-help-2.10.34.tar.bz2) = cae0adea6ffe47776f42dfc3a38f35d28e31893004e01812117af6f7fc897dc8
|
||||||
SIZE (gimp-help-2.10.0.tar.bz2) = 187092180
|
SIZE (gimp-help-2.10.34.tar.bz2) = 165540436
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue