git: dc98a8ffaa73 - main - devel/libjodycode: Add new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 10 Sep 2023 16:13:37 UTC
The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=dc98a8ffaa73c7f5c9721ad7b756eb91938f3c46 commit dc98a8ffaa73c7f5c9721ad7b756eb91938f3c46 Author: Thomas Hurst <tom@hur.st> AuthorDate: 2023-08-28 14:03:26 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2023-09-10 16:12:59 +0000 devel/libjodycode: Add new port libjodycode is a library containing code shared among several of the programs written by Jody Bruchon such as imagepile, jdupes, winregfs, and zeromerge. WWW: https://github.com/jbruchon/libjodycode PR: 273400 --- devel/Makefile | 1 + devel/libjodycode/Makefile | 38 ++++++++++++++++++++++++++++++++++++++ devel/libjodycode/distinfo | 3 +++ devel/libjodycode/pkg-descr | 2 ++ 4 files changed, 44 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 262d8dba6bf9..8a81e97bc150 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1292,6 +1292,7 @@ SUBDIR += libisofs SUBDIR += libixp SUBDIR += libjitterentropy + SUBDIR += libjodycode SUBDIR += libk8055 SUBDIR += libkiwix SUBDIR += libklel diff --git a/devel/libjodycode/Makefile b/devel/libjodycode/Makefile new file mode 100644 index 000000000000..8a3ba2c4581e --- /dev/null +++ b/devel/libjodycode/Makefile @@ -0,0 +1,38 @@ +PORTNAME= libjodycode +DISTVERSIONPREFIX= v +DISTVERSION= 3.1 +CATEGORIES= devel + +MAINTAINER= tom@hur.st +COMMENT= Shared code used by several utilities written by Jody Bruchon +WWW= https://github.com/jbruchon/libjodycode + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +USES= gmake + +USE_LDCONFIG= yes +USE_GITHUB= yes +GH_ACCOUNT= jbruchon + +MAJOR_VERSION= ${DISTVERSION:C/([0-9]).*/\1/1} + +PLIST_FILES= include/libjodycode.h \ + lib/libjodycode.a \ + lib/libjodycode.so \ + lib/libjodycode.so.${DISTVERSION} \ + lib/libjodycode.so.${MAJOR_VERSION} \ + man/man7/libjodycode.7.gz + +do-install: + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.7 ${STAGEDIR}${MANPREFIX}/man/man7 + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.h ${STAGEDIR}${PREFIX}/include/${PORTNAME}.h + ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.a ${STAGEDIR}${PREFIX}/lib/${PORTNAME}.a + ${INSTALL_LIB} ${WRKSRC}/${PORTNAME}.so.${DISTVERSION} ${STAGEDIR}${PREFIX}/lib + ${LN} -sf ${PORTNAME}.so.${DISTVERSION} \ + ${STAGEDIR}${PREFIX}/lib/${PORTNAME}.so.${MAJOR_VERSION} + ${LN} -sf ${PORTNAME}.so.${DISTVERSION} \ + ${STAGEDIR}${PREFIX}/lib/${PORTNAME}.so + +.include <bsd.port.mk> diff --git a/devel/libjodycode/distinfo b/devel/libjodycode/distinfo new file mode 100644 index 000000000000..8b1a579d5a0e --- /dev/null +++ b/devel/libjodycode/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1693058130 +SHA256 (jbruchon-libjodycode-v3.1_GH0.tar.gz) = c72974eb1d38873e06ea84b3d78990f87192f0113da5bd13fcac6bbc6a6e2184 +SIZE (jbruchon-libjodycode-v3.1_GH0.tar.gz) = 27340 diff --git a/devel/libjodycode/pkg-descr b/devel/libjodycode/pkg-descr new file mode 100644 index 000000000000..7f79ff30d925 --- /dev/null +++ b/devel/libjodycode/pkg-descr @@ -0,0 +1,2 @@ +libjodycode is a library containing code shared among several of the programs +written by Jody Bruchon such as imagepile, jdupes, winregfs, and zeromerge.