summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/xmedcon/Makefile8
-rw-r--r--graphics/xmedcon/distinfo2
-rw-r--r--graphics/xmedcon/files/patch-source::Makefile.am13
-rw-r--r--graphics/xmedcon/pkg-plist9
4 files changed, 21 insertions, 11 deletions
diff --git a/graphics/xmedcon/Makefile b/graphics/xmedcon/Makefile
index 659263f5d819..cd552a9f1a0d 100644
--- a/graphics/xmedcon/Makefile
+++ b/graphics/xmedcon/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= xmedcon
-PORTVERSION= 0.8.1
+PORTVERSION= 0.8.2
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -55,6 +55,12 @@ CONFIGURE_ARGS+= --disable-intf
.if defined(NODICOM)
CONFIGURE_ARGS+= --disable-dicom
.endif
+.if defined(NOLJPG)
+CONFIGURE_ARGS+= --disable-ljpg
+PLIST_SUB+= LJPG="@comment "
+.else
+PLIST_SUB+= LJPG=""
+.endif
.if defined(NOPNG)
CONFIGURE_ARGS+= --disable-png
.else
diff --git a/graphics/xmedcon/distinfo b/graphics/xmedcon/distinfo
index 901a6b5c280c..c5a3198cead3 100644
--- a/graphics/xmedcon/distinfo
+++ b/graphics/xmedcon/distinfo
@@ -1 +1 @@
-MD5 (xmedcon-0.8.1.tar.gz) = 401e4473cf2776fd48585e595612803b
+MD5 (xmedcon-0.8.2.tar.gz) = bdd39c347330541a7b4ad6d94b25d5bc
diff --git a/graphics/xmedcon/files/patch-source::Makefile.am b/graphics/xmedcon/files/patch-source::Makefile.am
index ba3d0090feac..29978f8d6267 100644
--- a/graphics/xmedcon/files/patch-source::Makefile.am
+++ b/graphics/xmedcon/files/patch-source::Makefile.am
@@ -1,6 +1,6 @@
---- source/Makefile.am.orig Sun Oct 13 22:07:58 2002
-+++ source/Makefile.am Sun Oct 13 22:08:24 2002
-@@ -216,11 +216,12 @@
+--- source/Makefile.am.orig Thu Oct 17 12:17:23 2002
++++ source/Makefile.am Thu Oct 17 12:19:10 2002
+@@ -223,7 +223,7 @@
m-dicm.h \
m-png.h
@@ -8,9 +8,4 @@
+configheadersdir = $(prefix)/include/xmedcon
configheaders_DATA = depend.h m-config.h
- INCLUDES = $(DICM_INC) $(XMEDCON_INC)
- CFLAGS = @CFLAGS@ -Wall -Wno-implicit -fsigned-char
-
- EXTRA_DIST = appicon.rc
-+
-
+ INCLUDES = $(DICM_INC) $(LJPG_INC) $(XMEDCON_INC)
diff --git a/graphics/xmedcon/pkg-plist b/graphics/xmedcon/pkg-plist
index ffda9798cdba..2f96f69cc1d3 100644
--- a/graphics/xmedcon/pkg-plist
+++ b/graphics/xmedcon/pkg-plist
@@ -4,7 +4,14 @@ bin/xmedcon-config
%%X11%%etc/xmedcon.png
%%X11%%etc/xmedconrc
%%X11%%etc/xmedconrc.linux
+%%LJPG%%include/xmedcon/io.h
+%%LJPG%%include/xmedcon/jpeg.h
+%%LJPG%%include/xmedcon/jpegless.h
+%%LJPG%%include/xmedcon/mcu.h
+%%LJPG%%include/xmedcon/predict.h
+%%LJPG%%include/xmedcon/proto.h
include/xmedcon/depend.h
+include/xmedcon/dicom.h
include/xmedcon/m-acr.h
include/xmedcon/m-algori.h
include/xmedcon/m-anlz.h
@@ -37,6 +44,8 @@ include/xmedcon/m-vifi.h
include/xmedcon/m-xdummy.h
include/xmedcon/m-xtract.h
include/xmedcon/medcon.h
+@dirrm include/xmedcon
+lib/libmdc.a
lib/libmdc.la
lib/libmdc.so
lib/libmdc.so.2