From 83ac2472ad861e2b4a0ca7b3dd1032207a2fe43e Mon Sep 17 00:00:00 2001 From: Yusuf Yaman Date: Tue, 5 May 2026 20:21:33 +0300 Subject: [PATCH] init --- graphics/Makefile | 1 + graphics/jExifToolGUI/Makefile | 58 +++++++++++++++++++++++++++++++ graphics/jExifToolGUI/distinfo | 3 ++ graphics/jExifToolGUI/pkg-descr | 2 ++ graphics/jExifToolGUI/pkg-message | 10 ++++++ graphics/jExifToolGUI/pkg-plist | 5 +++ 6 files changed, 79 insertions(+) create mode 100644 graphics/jExifToolGUI/Makefile create mode 100644 graphics/jExifToolGUI/distinfo create mode 100644 graphics/jExifToolGUI/pkg-descr create mode 100644 graphics/jExifToolGUI/pkg-message create mode 100644 graphics/jExifToolGUI/pkg-plist diff --git a/graphics/Makefile b/graphics/Makefile index b08696f45ba8..d304d4d0c897 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -390,6 +390,7 @@ SUBDIR += jbig2dec SUBDIR += jbigkit SUBDIR += jdraw + SUBDIR += jExifToolGUI SUBDIR += jgraph SUBDIR += jhead SUBDIR += jkqtplotter diff --git a/graphics/jExifToolGUI/Makefile b/graphics/jExifToolGUI/Makefile new file mode 100644 index 000000000000..324fd4a73c81 --- /dev/null +++ b/graphics/jExifToolGUI/Makefile @@ -0,0 +1,58 @@ +PORTNAME= jExifToolGUI +DISTVERSION= 2.0.2 +CATEGORIES= graphics java +MASTER_SITES= https://github.com/hvdwolf/${PORTNAME}/releases/download/${DISTVERSION}/ +DISTNAME= ${PORTNAME:tl}-${DISTVERSION} +EXTRACT_SUFX= .deb + +MAINTAINER= nxjoseph@FreeBSD.org +COMMENT= Graphical frontend for ExifTool +WWW= https://hvdwolf.github.io/jExifToolGUI/ \ + https://github.com/hvdwolf/jExifToolGUI + +LICENSE= GPLv3+ +LICENSE_FILE= ${WRKSRC}/usr/share/doc/${PORTNAME:tl}/copyright + +RUN_DEPENDS= dcraw:graphics/dcraw \ + exiftool:graphics/p5-Image-ExifTool + +USES= java:run +JAVA_VERSION= 11+ + +EXTRACT_AFTER_ARGS+= -C ${WRKSRC} \ + --exclude control.tar.xz --exclude debian-binary +NO_ARCH= yes +NO_BUILD= yes +NO_WRKSUBDIR= yes + +PORTDOCS= changelog.gz copyright + +OPTIONS_DEFINE= DOCS + +post-extract: + @${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${WRKSRC}/data.tar.xz ${EXTRACT_AFTER_ARGS} + +post-patch: + @${REINPLACE_CMD} -e 's|/usr/share/${PORTNAME:tl}|${DATADIR}|g' \ + -e '1s|.*|#!/usr/bin/env bash|g' \ + ${WRKSRC}/usr/bin/${PORTNAME:tl} + @${REINPLACE_CMD} 's|/usr|${PREFIX}|g' \ + ${WRKSRC}/usr/share/applications/${PORTNAME:tl}.desktop + +do-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48x/apps + ${INSTALL_SCRIPT} ${WRKSRC}/usr/bin/${PORTNAME:tl} \ + ${STAGEDIR}${PREFIX}/bin/${PORTNAME:tl} + ${INSTALL_DATA} ${WRKSRC}/usr/share/applications/${PORTNAME:tl}.desktop \ + ${STAGEDIR}${PREFIX}/share/applications + @cd ${WRKSRC}/usr/share/${PORTNAME:tl} && ${COPYTREE_SHARE} . \ + ${STAGEDIR}${DATADIR} + @${MV} ${STAGEDIR}${DATADIR}/${PORTNAME:tl}-48x48.png \ + ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48x/apps + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + @cd ${WRKSRC}/usr/share/doc/${PORTNAME:tl} && ${COPYTREE_SHARE} . \ + ${STAGEDIR}${DOCSDIR} + +.include diff --git a/graphics/jExifToolGUI/distinfo b/graphics/jExifToolGUI/distinfo new file mode 100644 index 000000000000..b14ea6b136e6 --- /dev/null +++ b/graphics/jExifToolGUI/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1777997751 +SHA256 (jexiftoolgui-2.0.2.deb) = 56d5db97ede460e235a1567d12270be9852669b8528babaf71880f329c1be402 +SIZE (jexiftoolgui-2.0.2.deb) = 19084276 diff --git a/graphics/jExifToolGUI/pkg-descr b/graphics/jExifToolGUI/pkg-descr new file mode 100644 index 000000000000..c0e58ba2e629 --- /dev/null +++ b/graphics/jExifToolGUI/pkg-descr @@ -0,0 +1,2 @@ +jExifToolGUI is a multi-platform java/Swing graphical frontend +for the excellent command-line ExifTool application by Phil Harvey. diff --git a/graphics/jExifToolGUI/pkg-message b/graphics/jExifToolGUI/pkg-message new file mode 100644 index 000000000000..5c16116e58b1 --- /dev/null +++ b/graphics/jExifToolGUI/pkg-message @@ -0,0 +1,10 @@ +[ +{ type: install +message: <