View | Details | Raw Unified | Return to bug 279741 | Differences between
and this patch

Collapse All | Expand All

(-)b/textproc/libxslt/Makefile (-26 / +17 lines)
Lines 1-6 Link Here
1
PORTNAME=	libxslt
1
PORTNAME=	libxslt
2
DISTVERSION=	1.1.37
2
DISTVERSION=	1.1.40
3
PORTREVISION=	1
4
CATEGORIES=	textproc gnome
3
CATEGORIES=	textproc gnome
5
MASTER_SITES=	GNOME/sources/${PORTNAME}/${DISTVERSION:R}/
4
MASTER_SITES=	GNOME/sources/${PORTNAME}/${DISTVERSION:R}/
6
DIST_SUBDIR=	gnome
5
DIST_SUBDIR=	gnome
Lines 12-50 WWW= https://gitlab.gnome.org/GNOME/libxslt/ Link Here
12
LICENSE=	MIT
11
LICENSE=	MIT
13
LICENSE_FILE=	${WRKSRC}/COPYING
12
LICENSE_FILE=	${WRKSRC}/COPYING
14
13
15
# See note in textproc/libxml2 for why this port uses autotools
14
USES=		cmake:testing cpe gnome pathfix pkgconfig tar:xz
16
# from the choices of that and CMake.
17
USES=		cpe gmake gnome libtool localbase:ldflags pathfix pkgconfig tar:xz
18
CPE_VENDOR=	xmlsoft
15
CPE_VENDOR=	xmlsoft
19
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
21
USE_GNOME=	libxml2
16
USE_GNOME=	libxml2
22
USE_LDCONFIG=	yes
17
USE_LDCONFIG=	yes
23
18
24
CONFIGURE_ARGS=	--with-html-dir=${PREFIX}/share/doc \
19
PLIST_SUB=	DISTVERSION=${DISTVERSION}
25
		--without-python
20
PORTDOCS=	*
26
INSTALL_TARGET=	install-strip
27
TEST_TARGET=	check
28
21
29
PLIST_SUB=	LIBVERSION=${PORTVERSION}
22
CMAKE_TESTING_ON=	LIBXSLT_WITH_TESTS
30
23
31
OPTIONS_DEFINE=	CRYPTO MEM_DEBUG STATIC
24
CMAKE_OFF=	LIBXSLT_WITH_PYTHON \
32
OPTIONS_DEFAULT=	CRYPTO STATIC
25
		LIBXSLT_WITH_TESTS
33
OPTIONS_SUB=		yes
34
35
CRYPTO_DESC=	Enable crypto support
36
MEM_DEBUG_DESC=	Enable memory debugging
37
26
38
CRYPTO_LIB_DEPENDS=	libgcrypt.so:security/libgcrypt \
27
OPTIONS_DEFINE=		DOCS GCRYPT
39
			libgpg-error.so:security/libgpg-error
28
OPTIONS_DEFAULT=	GCRYPT
40
CRYPTO_CONFIGURE_WITH=	crypto
29
OPTIONS_SUB=		yes
41
30
42
MEM_DEBUG_CONFIGURE_WITH=	mem-debug
31
GCRYPT_DESC=		Enable crypto support using GNU crypt
43
32
44
STATIC_CONFIGURE_ENABLE=	static
33
GCRYPT_LIB_DEPENDS=	libgcrypt.so:security/libgcrypt
34
GCRYPT_CMAKE_BOOL=	LIBXSLT_WITH_CRYPTO
45
35
46
post-patch:
36
post-install:
47
	@${REINPLACE_CMD} -e '/^install-data-am:/ s|install-data-local||' \
37
	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/libxslt-plugins
48
		${WRKSRC}/doc/Makefile.in
38
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/aclocal
39
	@${INSTALL_DATA} ${WRKSRC}/libxslt.m4 ${STAGEDIR}${PREFIX}/share/aclocal/libxslt.m4
49
40
50
.include <bsd.port.mk>
41
.include <bsd.port.mk>
(-)b/textproc/libxslt/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1661816621
1
TIMESTAMP = 1718228013
2
SHA256 (gnome/libxslt-1.1.37.tar.xz) = 3a4b27dc8027ccd6146725950336f1ec520928f320f144eb5fa7990ae6123ab4
2
SHA256 (gnome/libxslt-1.1.40.tar.xz) = 194715db023035f65fb566402f2ad2b5eab4c29d541f511305c40b29b1f48d13
3
SIZE (gnome/libxslt-1.1.37.tar.xz) = 1588572
3
SIZE (gnome/libxslt-1.1.40.tar.xz) = 1577512
(-)b/textproc/libxslt/files/patch-git-01-f7ada2f8e2f58aa105e165e4db58eb8c2d89362d (+30 lines)
Added Link Here
1
From f7ada2f8e2f58aa105e165e4db58eb8c2d89362d Mon Sep 17 00:00:00 2001
2
From: Daniel E <daniel.engberg.lists@pyret.net>
3
Date: Sat, 15 Jun 2024 09:32:34 +0000
4
Subject: [PATCH] cmake: Adjust paths for UNIX or UNIX-like target systems
5
6
Sync paths with GNU Autotools
7
---
8
 CMakeLists.txt | 6 +++++-
9
 1 file changed, 5 insertions(+), 1 deletion(-)
10
11
diff --git a/CMakeLists.txt b/CMakeLists.txt
12
index a18f7402..6423a9b1 100644
13
--- CMakeLists.txt
14
+++ CMakeLists.txt
15
@@ -524,7 +524,11 @@ set(EXSLT_PRIVATE_LIBS "${XSLT_PRIVATE_LIBS} ${LIBGCRYPT_LIBS} ${LIBM}")
16
 file(RELATIVE_PATH PACKAGE_RELATIVE_PATH "${CMAKE_INSTALL_FULL_LIBDIR}/pkgconfig" "${CMAKE_INSTALL_PREFIX}")
17
 string(REGEX REPLACE "/$" "" PACKAGE_RELATIVE_PATH "${PACKAGE_RELATIVE_PATH}")
18
 
19
-set(prefix "\${pcfiledir}/${PACKAGE_RELATIVE_PATH}")
20
+if(WIN32)
21
+    set(prefix "\${pcfiledir}/${PACKAGE_RELATIVE_PATH}")
22
+else()
23
+    set(prefix "${CMAKE_INSTALL_PREFIX}")
24
+endif()
25
 set(exec_prefix "\${prefix}")
26
 set(libdir "\${prefix}/${CMAKE_INSTALL_LIBDIR}")
27
 set(includedir "\${prefix}/${CMAKE_INSTALL_INCLUDEDIR}")
28
-- 
29
GitLab
30
(-)b/textproc/libxslt/pkg-plist (-44 / +7 lines)
Lines 24-39 include/libxslt/xsltconfig.h Link Here
24
include/libxslt/xsltexports.h
24
include/libxslt/xsltexports.h
25
include/libxslt/xsltlocale.h
25
include/libxslt/xsltlocale.h
26
include/libxslt/xsltutils.h
26
include/libxslt/xsltutils.h
27
lib/cmake/libxslt/FindGcrypt.cmake
27
lib/cmake/libxslt-%%DISTVERSION%%/FindGcrypt.cmake
28
lib/cmake/libxslt/libxslt-config.cmake
28
lib/cmake/libxslt-%%DISTVERSION%%/libxslt-config-version.cmake
29
%%STATIC%%lib/libexslt.a
29
lib/cmake/libxslt-%%DISTVERSION%%/libxslt-config.cmake
30
lib/cmake/libxslt-%%DISTVERSION%%/libxslt-export-%%CMAKE_BUILD_TYPE%%.cmake
31
lib/cmake/libxslt-%%DISTVERSION%%/libxslt-export.cmake
30
lib/libexslt.so
32
lib/libexslt.so
31
lib/libexslt.so.0
33
lib/libexslt.so.0
32
lib/libexslt.so.0.8.20
34
lib/libexslt.so.0.8.21
33
%%STATIC%%lib/libxslt.a
34
lib/libxslt.so
35
lib/libxslt.so
35
lib/libxslt.so.1
36
lib/libxslt.so.1
36
lib/libxslt.so.1.1.37
37
lib/libxslt.so.%%DISTVERSION%%
37
lib/xsltConf.sh
38
lib/xsltConf.sh
38
libdata/pkgconfig/libexslt.pc
39
libdata/pkgconfig/libexslt.pc
39
libdata/pkgconfig/libxslt.pc
40
libdata/pkgconfig/libxslt.pc
Lines 41-82 share/man/man1/xsltproc.1.gz Link Here
41
share/man/man3/libexslt.3.gz
42
share/man/man3/libexslt.3.gz
42
share/man/man3/libxslt.3.gz
43
share/man/man3/libxslt.3.gz
43
share/aclocal/libxslt.m4
44
share/aclocal/libxslt.m4
44
share/gtk-doc/html/libexslt/general.html
45
share/gtk-doc/html/libexslt/home.png
46
share/gtk-doc/html/libexslt/index.html
47
share/gtk-doc/html/libexslt/left.png
48
share/gtk-doc/html/libexslt/libexslt-exslt.html
49
share/gtk-doc/html/libexslt/libexslt-exsltexports.html
50
share/gtk-doc/html/libexslt/libexslt.devhelp2
51
share/gtk-doc/html/libexslt/right.png
52
share/gtk-doc/html/libexslt/style.css
53
share/gtk-doc/html/libexslt/up.png
54
share/gtk-doc/html/libxslt/general.html
55
share/gtk-doc/html/libxslt/home.png
56
share/gtk-doc/html/libxslt/index.html
57
share/gtk-doc/html/libxslt/left.png
58
share/gtk-doc/html/libxslt/libxslt-attributes.html
59
share/gtk-doc/html/libxslt/libxslt-documents.html
60
share/gtk-doc/html/libxslt/libxslt-extensions.html
61
share/gtk-doc/html/libxslt/libxslt-extra.html
62
share/gtk-doc/html/libxslt/libxslt-functions.html
63
share/gtk-doc/html/libxslt/libxslt-imports.html
64
share/gtk-doc/html/libxslt/libxslt-keys.html
65
share/gtk-doc/html/libxslt/libxslt-namespaces.html
66
share/gtk-doc/html/libxslt/libxslt-numbersInternals.html
67
share/gtk-doc/html/libxslt/libxslt-pattern.html
68
share/gtk-doc/html/libxslt/libxslt-preproc.html
69
share/gtk-doc/html/libxslt/libxslt-security.html
70
share/gtk-doc/html/libxslt/libxslt-templates.html
71
share/gtk-doc/html/libxslt/libxslt-transform.html
72
share/gtk-doc/html/libxslt/libxslt-variables.html
73
share/gtk-doc/html/libxslt/libxslt-xslt.html
74
share/gtk-doc/html/libxslt/libxslt-xsltInternals.html
75
share/gtk-doc/html/libxslt/libxslt-xsltexports.html
76
share/gtk-doc/html/libxslt/libxslt-xsltlocale.html
77
share/gtk-doc/html/libxslt/libxslt-xsltutils.html
78
share/gtk-doc/html/libxslt/libxslt.devhelp2
79
share/gtk-doc/html/libxslt/right.png
80
share/gtk-doc/html/libxslt/style.css
81
share/gtk-doc/html/libxslt/up.png
82
@dir lib/libxslt-plugins
45
@dir lib/libxslt-plugins

Return to bug 279741