aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2023-03-21 06:44:00 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2023-03-21 06:44:00 +0000
commit6c86d1867fd39bba690fb9f705597f5f4d1c1b3f (patch)
tree88a28daab0375e56c79efa25f012b3229a6d353a
parentecae8fdb1f74efed8659989b9203961da8c3f1c1 (diff)
downloadports-6c86d1867fd39bba690fb9f705597f5f4d1c1b3f.tar.gz
ports-6c86d1867fd39bba690fb9f705597f5f4d1c1b3f.zip
graphics/xmedcon: update the port to version 0.23.0
- Move USE_GNOME under the corresponding X11 option - Drop unrelated %%-substitution from the pkg-plist
-rw-r--r--graphics/xmedcon/Makefile14
-rw-r--r--graphics/xmedcon/distinfo6
-rw-r--r--graphics/xmedcon/pkg-plist2
3 files changed, 11 insertions, 11 deletions
diff --git a/graphics/xmedcon/Makefile b/graphics/xmedcon/Makefile
index 234daf0d0073..68b3a288fe16 100644
--- a/graphics/xmedcon/Makefile
+++ b/graphics/xmedcon/Makefile
@@ -1,10 +1,10 @@
PORTNAME= xmedcon
-PORTVERSION= 0.17.0
-PORTREVISION= 1
+PORTVERSION= 0.23.0
+DISTVERSIONSUFFIX= -gtk2
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/XMedCon-Source/${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= danfe@FreeBSD.org
COMMENT= Medical image conversion utility and library
WWW= http://xmedcon.sourceforge.net/
@@ -14,15 +14,15 @@ LICENSE_COMB= multi
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
-USES= gnome libtool localbase pkgconfig tar:bzip2
-USE_GNOME= cairo gdkpixbuf2 gtk20
+USES= gnome libtool pkgconfig tar:bzip2
USE_LDCONFIG= yes
-
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --includedir=${PREFIX}/include/xmedcon \
--enable-llcheck
INSTALL_TARGET= install-strip
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
OPTIONS_DEFINE= X11 GLIB ACR_NEMA ANALYZE CONCORDE DICOM DICOM_LJPEG ECAT GIF \
INTERFILE INW PNG
OPTIONS_DEFAULT=X11 GLIB ACR_NEMA ANALYZE CONCORDE DICOM DICOM_LJPEG ECAT GIF \
@@ -30,7 +30,7 @@ OPTIONS_DEFAULT=X11 GLIB ACR_NEMA ANALYZE CONCORDE DICOM DICOM_LJPEG ECAT GIF \
OPTIONS_SUB= yes
X11_CONFIGURE_ENABLE= gui
-X11_USE= GNOME=gtk20
+X11_USE= GNOME=cairo,gdkpixbuf2,gtk20
X11_DESKTOP_ENTRIES= "XMedCon" \
"" \
"${PREFIX}/etc/xmedcon.png" \
diff --git a/graphics/xmedcon/distinfo b/graphics/xmedcon/distinfo
index 32f4753626f7..23265c712db2 100644
--- a/graphics/xmedcon/distinfo
+++ b/graphics/xmedcon/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1613565091
-SHA256 (xmedcon-0.17.0.tar.bz2) = bf61713d8db8e4cb600eed0f889bf34f5d9df967937c4e4df9074c9a442d490a
-SIZE (xmedcon-0.17.0.tar.bz2) = 837628
+TIMESTAMP = 1673016389
+SHA256 (xmedcon-0.23.0-gtk2.tar.bz2) = 4feaf01eed1604f5f85d3c130c1100a17f59b436afd5654bcc877e0dc5b2a98e
+SIZE (xmedcon-0.23.0-gtk2.tar.bz2) = 888815
diff --git a/graphics/xmedcon/pkg-plist b/graphics/xmedcon/pkg-plist
index 3bf64d35edf3..912fd8491041 100644
--- a/graphics/xmedcon/pkg-plist
+++ b/graphics/xmedcon/pkg-plist
@@ -42,7 +42,7 @@ include/xmedcon/m-xtract.h
include/xmedcon/medcon.h
lib/libmdc.a
lib/libmdc.so
-lib/libmdc.so.%%GTK3_VERSION%%
+lib/libmdc.so.3.0.0
lib/libmdc.so.3
man/man1/medcon.1.gz
%%X11%%man/man1/xmedcon.1.gz