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
This commit is contained in:
Thomas Hurst 2023-08-28 14:03:26 +00:00 committed by Robert Clausecker
parent d98f9004ab
commit dc98a8ffaa
4 changed files with 44 additions and 0 deletions

View file

@ -1292,6 +1292,7 @@
SUBDIR += libisofs
SUBDIR += libixp
SUBDIR += libjitterentropy
SUBDIR += libjodycode
SUBDIR += libk8055
SUBDIR += libkiwix
SUBDIR += libklel

View file

@ -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>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1693058130
SHA256 (jbruchon-libjodycode-v3.1_GH0.tar.gz) = c72974eb1d38873e06ea84b3d78990f87192f0113da5bd13fcac6bbc6a6e2184
SIZE (jbruchon-libjodycode-v3.1_GH0.tar.gz) = 27340

View file

@ -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.