Update libcerf to 1.10

This comes with a couple of important changes among which a major library
bump and a migration from autoconf to cmake. More details here:

  http://apps.jcns.fz-juelich.de/src/libcerf/CHANGELOG

Also patched the manpage install directory.

Tested with gnuplot and all seems fine.
This commit is contained in:
pirofti 2018-12-28 16:28:44 +00:00
parent e4dce673ea
commit 4278fc1b41
4 changed files with 40 additions and 19 deletions

View File

@ -1,14 +1,14 @@
# $OpenBSD: Makefile,v 1.1.1.1 2017/11/04 11:50:52 pirofti Exp $
# $OpenBSD: Makefile,v 1.2 2018/12/28 16:28:44 pirofti Exp $
COMMENT = implementation of complex error functions
V = 1.5
V = 1.10
DISTNAME = libcerf-${V}
EXTRACT_SUFX = .tgz
CATEGORIES = math
MASTER_SITES = http://apps.jcns.fz-juelich.de/src/libcerf/
SHARED_LIBS += cerf 0.0 # 1.5
SHARED_LIBS += cerf 1.0 # 1.10
HOMEPAGE = http://apps.jcns.fz-juelich.de/doku/sc/libcerf
@ -19,10 +19,8 @@ PERMIT_PACKAGE_CDROM = Yes
WANTLIB += c m ${COMPILER_LIBCXX}
COMPILER = ports-gcc # imaginary constants are a GNU extension
CONFIGURE_STYLE = gnu
MODULES = devel/cmake
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
COMPILER = ports-gcc # imaginary constants are a GNU extension
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (libcerf-1.5.tgz) = 423BR+f/+BFDB0ohVQwlm1qsG5n8MU/ArjMpQjHKXIY=
SIZE (libcerf-1.5.tgz) = 413926
SHA256 (libcerf-1.10.tgz) = akEsE+QEQR13EFxzGnVjhJcEJNb2XRxMY3WMKBg9S2E=
SIZE (libcerf-1.10.tgz) = 60208

View File

@ -0,0 +1,17 @@
$OpenBSD: patch-man_CMakeLists_txt,v 1.1 2018/12/28 16:28:44 pirofti Exp $
Manual pages should go under ${PREFIX}/man/ rather than under
${PREFIX}/share/man/.
Index: man/CMakeLists.txt
--- man/CMakeLists.txt.orig
+++ man/CMakeLists.txt
@@ -15,7 +15,7 @@ function(one_page pname section srcname)
)
install(
FILES ${CMAKE_CURRENT_BINARY_DIR}/${pname}.${section}
- DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man${section}"
+ DESTINATION "${CMAKE_INSTALL_PREFIX}/man/man${section}"
)
install(
FILES ${CMAKE_CURRENT_BINARY_DIR}/${pname}.html

View File

@ -1,7 +1,5 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2017/11/04 11:50:52 pirofti Exp $
@comment $OpenBSD: PLIST,v 1.2 2018/12/28 16:28:44 pirofti Exp $
include/cerf.h
lib/libcerf.a
lib/libcerf.la
@lib lib/libcerf.so.${LIBcerf_VERSION}
lib/pkgconfig/libcerf.pc
@man man/man3/cdawson.3
@ -12,13 +10,21 @@ lib/pkgconfig/libcerf.pc
@man man/man3/dawson.3
@man man/man3/erfcx.3
@man man/man3/erfi.3
@man man/man3/im_w_of_x.3
@man man/man3/im_w_of_z.3
@man man/man3/voigt.3
@man man/man3/voigt_hwhm.3
@man man/man3/w_of_z.3
share/doc/libcerf/
share/doc/libcerf/cerf.html
share/doc/libcerf/dawson.html
share/doc/libcerf/erfcx.html
share/doc/libcerf/erfi.html
share/doc/libcerf/voigt.html
share/doc/libcerf/w_of_z.html
share/doc/libcerf/html/
share/doc/libcerf/html/cdawson.html
share/doc/libcerf/html/cerf.html
share/doc/libcerf/html/cerfc.html
share/doc/libcerf/html/cerfcx.html
share/doc/libcerf/html/cerfi.html
share/doc/libcerf/html/dawson.html
share/doc/libcerf/html/erfcx.html
share/doc/libcerf/html/erfi.html
share/doc/libcerf/html/im_w_of_z.html
share/doc/libcerf/html/voigt.html
share/doc/libcerf/html/voigt_hwhm.html
share/doc/libcerf/html/w_of_z.html