aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Engberg <dizzy@FreeBSD.org>2023-08-11 15:18:59 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2023-08-11 15:19:26 +0000
commit1ce33dddbce0a6f12587c4c158b8b8b55ffc5387 (patch)
treee49328e6283fdba26943e0becc3089f6f716a3c3
parenta3797cef03da7757dbeac4a4848eb2cb45fa0b88 (diff)
downloadports-1ce33dddbce0a6f12587c4c158b8b8b55ffc5387.tar.gz
ports-1ce33dddbce0a6f12587c4c158b8b8b55ffc5387.zip
graphics/jpegoptim: Use upstream release archive and simplify
PR: 273050
-rw-r--r--graphics/jpegoptim/Makefile15
-rw-r--r--graphics/jpegoptim/distinfo6
2 files changed, 9 insertions, 12 deletions
diff --git a/graphics/jpegoptim/Makefile b/graphics/jpegoptim/Makefile
index a0ba9d63d8d8..0c869d3a43ec 100644
--- a/graphics/jpegoptim/Makefile
+++ b/graphics/jpegoptim/Makefile
@@ -1,23 +1,20 @@
PORTNAME= jpegoptim
-PORTVERSION= 1.5.5
-DISTVERSIONPREFIX= v
+DISTVERSION= 1.5.5
+PORTREVISION= 1
CATEGORIES= graphics
+MASTER_SITES= https://www.kokkonen.net/tjko/src/
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Utility to optimize jpeg files
-WWW= http://www.kokkonen.net/tjko/projects.html #jpegoptim
+WWW= http://www.kokkonen.net/tjko/projects.html
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
-USES= cpe gmake jpeg
+USES= cpe gmake jpeg localbase:ldflags
CPE_VENDOR= ${PORTNAME}_project
-USE_GITHUB= yes
-GH_ACCOUNT= tjko
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-libjpeg=${LOCALBASE}
-MAKE_ENV+= INSTALL_ROOT=${STAGEDIR}
+GNU_CONFIGURE= yes
PLIST_FILES= bin/jpegoptim \
man/man1/jpegoptim.1.gz
diff --git a/graphics/jpegoptim/distinfo b/graphics/jpegoptim/distinfo
index 828f2d460370..27e8b45bc935 100644
--- a/graphics/jpegoptim/distinfo
+++ b/graphics/jpegoptim/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1691644021
-SHA256 (tjko-jpegoptim-v1.5.5_GH0.tar.gz) = 90a309d1c092de358bb411d702281ac3039b489d03adb0bc3c4ef04cf0067d38
-SIZE (tjko-jpegoptim-v1.5.5_GH0.tar.gz) = 124361
+TIMESTAMP = 1691688640
+SHA256 (jpegoptim-1.5.5.tar.gz) = 90a309d1c092de358bb411d702281ac3039b489d03adb0bc3c4ef04cf0067d38
+SIZE (jpegoptim-1.5.5.tar.gz) = 124361