Lines 1-15
Link Here
|
1 |
PORTNAME= gimp-help |
1 |
PORTNAME= gimp-help |
2 |
PORTVERSION= 2.10.0 |
2 |
DISTVERSION= 2.10.34 |
3 |
PORTREVISION= 2 |
3 |
PORTREVISION?= 0 |
4 |
CATEGORIES?= misc graphics |
4 |
CATEGORIES?= misc graphics |
5 |
MASTER_SITES= http://gimp.mirrors.hoobly.com/pub/%SUBDIR%/ \ |
5 |
MASTER_SITES= https://download.gimp.org/pub/%SUBDIR%/ \ |
6 |
http://ftp.gwdg.de/pub/misc/grafik/%SUBDIR%/ \ |
6 |
https://ftp.gwdg.de/pub/misc/grafik/%SUBDIR%/ \ |
7 |
http://www.mirrorservice.org/sites/ftp.gimp.org/pub/%SUBDIR%/ |
7 |
https://www.mirrorservice.org/sites/ftp.gimp.org/pub/%SUBDIR%/ |
8 |
MASTER_SITE_SUBDIR= gimp/help |
8 |
MASTER_SITE_SUBDIR= gimp/help |
9 |
PKGNAMEPREFIX?= ${DOCLANG}- |
9 |
PKGNAMEPREFIX?= ${DOCLANG}- |
10 |
PKGNAMESUFFIX= -html |
10 |
PKGNAMESUFFIX= -html |
11 |
|
11 |
|
12 |
MAINTAINER= liangtai.s16@gmail.com |
12 |
MAINTAINER?= liangtai.s16@gmail.com |
13 |
COMMENT?= GIMP User Manual in English |
13 |
COMMENT?= GIMP User Manual in English |
14 |
WWW= https://docs.gimp.org/ |
14 |
WWW= https://docs.gimp.org/ |
15 |
|
15 |
|
Lines 18-30
LICENSE= GFDL
Link Here
|
18 |
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2.py:textproc/py-libxml2@${PY_FLAVOR} \ |
18 |
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2.py:textproc/py-libxml2@${PY_FLAVOR} \ |
19 |
${LOCALBASE}/share/xsl/docbook/xhtml/chunk.xsl:textproc/docbook-xsl |
19 |
${LOCALBASE}/share/xsl/docbook/xhtml/chunk.xsl:textproc/docbook-xsl |
20 |
|
20 |
|
21 |
USES= gettext-tools gmake gnome perl5 pkgconfig python shebangfix \ |
21 |
USES= gettext-tools gmake gnome perl5 pkgconfig python:3.8+,build shebangfix \ |
22 |
tar:bzip2 |
22 |
tar:bzip2 |
23 |
USE_GNOME= libxslt:build |
23 |
USE_GNOME= intltool:build libxslt:build |
24 |
USE_PERL5= build |
24 |
USE_PERL5= build |
25 |
GNU_CONFIGURE= yes |
25 |
GNU_CONFIGURE= yes |
26 |
CONFIGURE_ARGS= --without-gimp |
26 |
CONFIGURE_ARGS= --without-gimp |
27 |
CONFIGURE_ENV= ALL_LINGUAS=${DOCLANG} |
27 |
CONFIGURE_ENV= ALL_LINGUAS="${DOCLANG}" QUICKREFERENCE_ALL_LINGUAS="${DOCLANG}" |
28 |
|
28 |
|
29 |
DOCLANG?= en |
29 |
DOCLANG?= en |
30 |
|
30 |
|
Lines 35-47
MAKE_JOBS_UNSAFE= yes
Link Here
|
35 |
|
35 |
|
36 |
SHEBANG_FILES= tools/xml2po.py |
36 |
SHEBANG_FILES= tools/xml2po.py |
37 |
|
37 |
|
|
|
38 |
OPTIONS_DEFINE= QUICKREFERENCE |
39 |
OPTIONS_DEFAULT= QUICKREFERENCE |
40 |
|
41 |
QUICKREFERENCE_DESC= Generate GIMP Quickreference PDF (keys bindings) |
42 |
QUICKREFERENCE_USE= gnome=librsvg2:build |
43 |
QUICKREFERENCE_CONFIGURE_OFF= ac_cv_path_SVG2PDF= |
44 |
|
38 |
post-patch: |
45 |
post-patch: |
39 |
# Install to the same directory as when configuring --with-gimp |
46 |
# Install to the same directory as when configuring --with-gimp |
40 |
${REINPLACE_CMD} '/gimpdatadir=.*\/2.0/s,/2\.0,,' \ |
47 |
${REINPLACE_CMD} '/gimpdatadir=.*\/2.0/s,/2\.0,,' \ |
41 |
${WRKSRC}/configure |
48 |
${WRKSRC}/configure |
42 |
.if ${DOCLANG:Mru} |
|
|
43 |
${REINPLACE_CMD} -e '/glossary\.xml:1596/{; n; n; s/xref/link/g; }' \ |
44 |
${WRKSRC}/po/ru/glossary.po |
45 |
.endif |
46 |
|
49 |
|
47 |
.include <bsd.port.mk> |
50 |
.include <bsd.port.mk> |