summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2003-01-02 19:23:46 +0000
committerijliao <ijliao@FreeBSD.org>2003-01-02 19:23:46 +0000
commit353df63e32332d378b70a990b9db7e8468d2e419 (patch)
treeaf0770b2f19466a869e6bc6eb8dab5649a0e865c /graphics
parentba311154acd85dd374548a038fbf56fabe65d920 (diff)
downloadFreeBSD-ports-353df63e32332d378b70a990b9db7e8468d2e419.zip
FreeBSD-ports-353df63e32332d378b70a990b9db7e8468d2e419.tar.gz
upgrade to 0.8.8
PR: 46147 Submitted by: maintainer
Diffstat (limited to 'graphics')
-rw-r--r--graphics/xmedcon/Makefile65
-rw-r--r--graphics/xmedcon/distinfo2
-rw-r--r--graphics/xmedcon/files/patch-etc::Makefile.am27
-rw-r--r--graphics/xmedcon/files/patch-etc::Makefile.in23
-rw-r--r--graphics/xmedcon/files/patch-man::Makefile.in (renamed from graphics/xmedcon/files/patch-man::Makefile.am)18
-rw-r--r--graphics/xmedcon/files/patch-source::Makefile.am11
-rw-r--r--graphics/xmedcon/files/patch-source::Makefile.in11
-rw-r--r--graphics/xmedcon/pkg-plist12
8 files changed, 90 insertions, 79 deletions
diff --git a/graphics/xmedcon/Makefile b/graphics/xmedcon/Makefile
index cd552a9..869797b 100644
--- a/graphics/xmedcon/Makefile
+++ b/graphics/xmedcon/Makefile
@@ -6,62 +6,81 @@
#
PORTNAME= xmedcon
-PORTVERSION= 0.8.2
+PORTVERSION= 0.8.8
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= tdv94ped@cs.umu.se
+USE_SUBMAKE= yes
USE_LIBTOOL= yes
-USE_AUTOMAKE= yes
-GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
INSTALLS_SHLIB= yes
-.if defined(WITHOUT_X11)
-CONFIGURE_ARGS= --disable-gui
-PKGNAMESUFFIX= -nox11
-PLIST_SUB= X11="@comment "
-.else
+SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \
+ MKDIR="${MKDIR}" \
+ REALCURDIR=${.CURDIR}
+
+pre-fetch:
+ @${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure
+
+.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)
+.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
+.endif
+
+post-clean:
+ @${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc
+
+.if defined(WITH_X11)
USE_X_PREFIX= yes
USE_GNOMENG= yes
USE_GNOME= gtk12 gdkpixbuf
PLIST_SUB= X11=""
+.else
+CONFIGURE_ARGS= --disable-gui
+PKGNAMESUFFIX= -nox11
+PLIST_SUB= X11="@comment "
.endif
-.if defined(NOACR) && defined(NODICOM)
+.if !defined(WITH_ACRNEMA) && !defined(WITH_DICOM)
CONFIGURE_ARGS+= --disable-acr
.endif
-.if defined(NOGIF)
+
+.if !defined(WITH_GIF)
CONFIGURE_ARGS+= --disable-gif
.endif
-.if defined(NOINW)
+
+.if !defined(WITH_INW)
CONFIGURE_ARGS+= --disable-inw
.endif
-.if defined(NOANLZ)
+
+.if !defined(WITH_ANALYZE)
CONFIGURE_ARGS+= --disable-anlz
.endif
-.if defined(NOCONC)
+
+.if !defined(WITH_CONCORDE)
CONFIGURE_ARGS+= --disable-conc
.endif
-.if defined(NOECAT)
+
+.if !defined(WITH_ECAT)
CONFIGURE_ARGS+= --disable-ecat
.endif
-.if defined(NOINTF)
+
+.if !defined(WITH_INTERFILE)
CONFIGURE_ARGS+= --disable-intf
.endif
-.if defined(NODICOM)
+
+.if !defined(WITH_DICOM) && !defined(WITH_DICOM_LJPEG)
CONFIGURE_ARGS+= --disable-dicom
.endif
-.if defined(NOLJPG)
+
+.if !defined(WITH_DICOM_LJPEG)
CONFIGURE_ARGS+= --disable-ljpg
-PLIST_SUB+= LJPG="@comment "
-.else
-PLIST_SUB+= LJPG=""
.endif
-.if defined(NOPNG)
+
+.if !defined(WITH_PNG)
CONFIGURE_ARGS+= --disable-png
.else
LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png
@@ -70,10 +89,12 @@ LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png
CONFIGURE_ARGS+= --includedir=${PREFIX}/include/xmedcon
MAN1= medcon.1 xmedcon-config.1
-.if !defined(WITHOUT_X11)
+.if defined(WITH_X11)
MAN1+= xmedcon.1
.endif
+
MAN3= medcon.3
+
MAN4= m-acr.4 m-anlz.4 m-ecat.4 m-gif.4 m-intf.4 m-inw.4
.include <bsd.port.mk>
diff --git a/graphics/xmedcon/distinfo b/graphics/xmedcon/distinfo
index c5a3198..6a24e97 100644
--- a/graphics/xmedcon/distinfo
+++ b/graphics/xmedcon/distinfo
@@ -1 +1 @@
-MD5 (xmedcon-0.8.2.tar.gz) = bdd39c347330541a7b4ad6d94b25d5bc
+MD5 (xmedcon-0.8.8.tar.gz) = 4d6a72506e35d12e73374f72e043bca2
diff --git a/graphics/xmedcon/files/patch-etc::Makefile.am b/graphics/xmedcon/files/patch-etc::Makefile.am
deleted file mode 100644
index e22b6c0..0000000
--- a/graphics/xmedcon/files/patch-etc::Makefile.am
+++ /dev/null
@@ -1,27 +0,0 @@
---- etc/Makefile.am.orig Sun Oct 13 16:52:25 2002
-+++ etc/Makefile.am Sun Oct 13 21:35:14 2002
-@@ -12,15 +12,18 @@
-
- AUTOMAKE_OPTIONS = gnu
-
-+if DO_XSUPPORT
- RC_FILES = \
- xmedconrc \
-- xmedconrc.linux \
-- xmedconrc.win32
--
--ICONS = xmedcon.ico xmedcon.png
-+ xmedconrc.linux
-+ICONS = xmedcon.png
-+else
-+RC_FILES =
-+ICONS =
-+endif
-
--GTK_DIST = README $(RC_FILES) $(ICONS)
-+#GTK_DIST = README $(RC_FILES) $(ICONS)
-
- sysconf_DATA = $(RC_FILES) $(ICONS)
-
--EXTRA_DIST = $(GTK_DIST)
-+#EXTRA_DIST = $(GTK_DIST)
diff --git a/graphics/xmedcon/files/patch-etc::Makefile.in b/graphics/xmedcon/files/patch-etc::Makefile.in
new file mode 100644
index 0000000..fa02634a
--- /dev/null
+++ b/graphics/xmedcon/files/patch-etc::Makefile.in
@@ -0,0 +1,23 @@
+--- etc/Makefile.in.orig Sun Dec 8 01:39:58 2002
++++ etc/Makefile.in Mon Dec 9 13:14:55 2002
+@@ -180,13 +180,15 @@
+
+ AUTOMAKE_OPTIONS = gnu
+
++.if(DO_XSUPPORT)
+ RC_FILES = \
+ xmedconrc \
+- xmedconrc.linux \
+- xmedconrc.win32
+-
+-
+-ICONS = xmedcon.ico xmedcon.png
++ xmedconrc.linux
++ICONS = xmedcon.png
++.else
++RC_FILES =
++ICONS =
++.endif
+
+ GTK_DIST = README $(RC_FILES) $(ICONS)
+
diff --git a/graphics/xmedcon/files/patch-man::Makefile.am b/graphics/xmedcon/files/patch-man::Makefile.in
index 55a51d1..e5d764e 100644
--- a/graphics/xmedcon/files/patch-man::Makefile.am
+++ b/graphics/xmedcon/files/patch-man::Makefile.in
@@ -1,18 +1,18 @@
---- man/Makefile.am.orig Sun Oct 13 21:29:18 2002
-+++ man/Makefile.am Sun Oct 13 21:35:28 2002
-@@ -12,6 +12,7 @@
+--- man/Makefile.in.orig Mon Dec 9 12:56:39 2002
++++ man/Makefile.in Mon Dec 9 12:52:38 2002
+@@ -180,6 +180,7 @@
AUTOMAKE_OPTIONS = gnu
-+if DO_XSUPPORT
++.if(DO_XSUPPORT)
man_MANS = \
medcon.1 \
xmedcon.1 \
-@@ -23,5 +24,17 @@
+@@ -191,6 +192,18 @@
m-gif.4 \
m-intf.4 \
m-inw.4
-+else
++.else
+man_MANS = \
+ medcon.1 \
+ xmedcon-config.1 \
@@ -23,7 +23,7 @@
+ m-gif.4 \
+ m-intf.4 \
+ m-inw.4
-+endif
++.endif
--EXTRA_DIST = $(man_MANS)
-+#EXTRA_DIST = $(man_MANS)
+ EXTRA_DIST = $(man_MANS)
+ subdir = man
diff --git a/graphics/xmedcon/files/patch-source::Makefile.am b/graphics/xmedcon/files/patch-source::Makefile.am
deleted file mode 100644
index 29978f8..0000000
--- a/graphics/xmedcon/files/patch-source::Makefile.am
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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
-
--configheadersdir = $(prefix)/include
-+configheadersdir = $(prefix)/include/xmedcon
- configheaders_DATA = depend.h m-config.h
-
- INCLUDES = $(DICM_INC) $(LJPG_INC) $(XMEDCON_INC)
diff --git a/graphics/xmedcon/files/patch-source::Makefile.in b/graphics/xmedcon/files/patch-source::Makefile.in
new file mode 100644
index 0000000..b7516cf
--- /dev/null
+++ b/graphics/xmedcon/files/patch-source::Makefile.in
@@ -0,0 +1,11 @@
+--- source/Makefile.in.orig Mon Dec 9 15:03:20 2002
++++ source/Makefile.in Mon Dec 9 15:03:55 2002
+@@ -372,7 +372,7 @@
+ m-png.h
+
+
+-configheadersdir = $(prefix)/include
++configheadersdir = $(prefix)/include/xmedcon
+ configheaders_DATA = m-depend.h m-config.h
+
+ INCLUDES = $(DICM_INC) $(LJPG_INC) $(PNG_INC) $(XMEDCON_INC)
diff --git a/graphics/xmedcon/pkg-plist b/graphics/xmedcon/pkg-plist
index 2f96f69..c475b9f 100644
--- a/graphics/xmedcon/pkg-plist
+++ b/graphics/xmedcon/pkg-plist
@@ -4,20 +4,13 @@ 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-depend.h
+include/xmedcon/m-config.h
include/xmedcon/m-acr.h
include/xmedcon/m-algori.h
include/xmedcon/m-anlz.h
include/xmedcon/m-color.h
include/xmedcon/m-conc.h
-include/xmedcon/m-config.h
include/xmedcon/m-debug.h
include/xmedcon/m-defs.h
include/xmedcon/m-dicm.h
@@ -38,6 +31,7 @@ include/xmedcon/m-raw.h
include/xmedcon/m-rslice.h
include/xmedcon/m-sigfpe.h
include/xmedcon/m-split.h
+include/xmedcon/m-stack.h
include/xmedcon/m-structs.h
include/xmedcon/m-transf.h
include/xmedcon/m-vifi.h
OpenPOWER on IntegriCloud