aboutsummaryrefslogtreecommitdiff
path: root/graphics/xmedcon
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-10-14 11:40:18 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-10-14 11:40:18 +0000
commit3263d5636f7f7a070ea8f162dce06b50bb3a8431 (patch)
tree6ff7454ad7aec6c200c14d526f0c3bd54f653fdd /graphics/xmedcon
parentc8122ee1a0a68fd5e57a5ede21fa76d2fe7b6611 (diff)
downloadports-3263d5636f7f7a070ea8f162dce06b50bb3a8431.tar.gz
ports-3263d5636f7f7a070ea8f162dce06b50bb3a8431.zip
Notes
Diffstat (limited to 'graphics/xmedcon')
-rw-r--r--graphics/xmedcon/Makefile73
-rw-r--r--graphics/xmedcon/distinfo1
-rw-r--r--graphics/xmedcon/files/patch-etc::Makefile.am27
-rw-r--r--graphics/xmedcon/files/patch-man::Makefile.am29
-rw-r--r--graphics/xmedcon/files/patch-source::Makefile.am16
-rw-r--r--graphics/xmedcon/pkg-comment1
-rw-r--r--graphics/xmedcon/pkg-descr11
-rw-r--r--graphics/xmedcon/pkg-plist43
8 files changed, 201 insertions, 0 deletions
diff --git a/graphics/xmedcon/Makefile b/graphics/xmedcon/Makefile
new file mode 100644
index 000000000000..659263f5d819
--- /dev/null
+++ b/graphics/xmedcon/Makefile
@@ -0,0 +1,73 @@
+# New ports collection makefile for: xmedcon
+# Date created: 26 September 2002
+# Whom: Paul Everlund
+#
+# $FreeBSD$
+#
+
+PORTNAME= xmedcon
+PORTVERSION= 0.8.1
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= tdv94ped@cs.umu.se
+
+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
+USE_X_PREFIX= yes
+USE_GNOMENG= yes
+USE_GNOME= gtk12 gdkpixbuf
+PLIST_SUB= X11=""
+.endif
+
+.if defined(NOACR) && defined(NODICOM)
+CONFIGURE_ARGS+= --disable-acr
+.endif
+.if defined(NOGIF)
+CONFIGURE_ARGS+= --disable-gif
+.endif
+.if defined(NOINW)
+CONFIGURE_ARGS+= --disable-inw
+.endif
+.if defined(NOANLZ)
+CONFIGURE_ARGS+= --disable-anlz
+.endif
+.if defined(NOCONC)
+CONFIGURE_ARGS+= --disable-conc
+.endif
+.if defined(NOECAT)
+CONFIGURE_ARGS+= --disable-ecat
+.endif
+.if defined(NOINTF)
+CONFIGURE_ARGS+= --disable-intf
+.endif
+.if defined(NODICOM)
+CONFIGURE_ARGS+= --disable-dicom
+.endif
+.if defined(NOPNG)
+CONFIGURE_ARGS+= --disable-png
+.else
+LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png
+.endif
+
+CONFIGURE_ARGS+= --includedir=${PREFIX}/include/xmedcon
+
+MAN1= medcon.1 xmedcon-config.1
+.if !defined(WITHOUT_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
new file mode 100644
index 000000000000..901a6b5c280c
--- /dev/null
+++ b/graphics/xmedcon/distinfo
@@ -0,0 +1 @@
+MD5 (xmedcon-0.8.1.tar.gz) = 401e4473cf2776fd48585e595612803b
diff --git a/graphics/xmedcon/files/patch-etc::Makefile.am b/graphics/xmedcon/files/patch-etc::Makefile.am
new file mode 100644
index 000000000000..e22b6c046ecf
--- /dev/null
+++ b/graphics/xmedcon/files/patch-etc::Makefile.am
@@ -0,0 +1,27 @@
+--- 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-man::Makefile.am b/graphics/xmedcon/files/patch-man::Makefile.am
new file mode 100644
index 000000000000..55a51d183d19
--- /dev/null
+++ b/graphics/xmedcon/files/patch-man::Makefile.am
@@ -0,0 +1,29 @@
+--- 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 @@
+
+ AUTOMAKE_OPTIONS = gnu
+
++if DO_XSUPPORT
+ man_MANS = \
+ medcon.1 \
+ xmedcon.1 \
+@@ -23,5 +24,17 @@
+ m-gif.4 \
+ m-intf.4 \
+ m-inw.4
++else
++man_MANS = \
++ medcon.1 \
++ xmedcon-config.1 \
++ medcon.3 \
++ m-acr.4 \
++ m-anlz.4 \
++ m-ecat.4 \
++ m-gif.4 \
++ m-intf.4 \
++ m-inw.4
++endif
+
+-EXTRA_DIST = $(man_MANS)
++#EXTRA_DIST = $(man_MANS)
diff --git a/graphics/xmedcon/files/patch-source::Makefile.am b/graphics/xmedcon/files/patch-source::Makefile.am
new file mode 100644
index 000000000000..ba3d0090feac
--- /dev/null
+++ b/graphics/xmedcon/files/patch-source::Makefile.am
@@ -0,0 +1,16 @@
+--- 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 @@
+ m-dicm.h \
+ m-png.h
+
+-configheadersdir = $(prefix)/include
++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
++
+
diff --git a/graphics/xmedcon/pkg-comment b/graphics/xmedcon/pkg-comment
new file mode 100644
index 000000000000..89b6a7228f64
--- /dev/null
+++ b/graphics/xmedcon/pkg-comment
@@ -0,0 +1 @@
+A medical image conversion utility and library
diff --git a/graphics/xmedcon/pkg-descr b/graphics/xmedcon/pkg-descr
new file mode 100644
index 000000000000..a98318bb9a99
--- /dev/null
+++ b/graphics/xmedcon/pkg-descr
@@ -0,0 +1,11 @@
+This project stands for Medical Image Conversion and is released under the
+GNU's (L)GPL license. It bundles the C sourcecode, a library, a flexible
+command-line utility and a graphical front-end based on the amazing Gtk+
+toolkit.
+
+Its main purpose is image conversion, while preserving the most valuable
+medical study information. The currently supported formats are: Acr/Nema 2.0,
+Analyze (SPM), Concorde/uPET, DICOM 3.0, Ecat/Matrix 6.4, InterFile 3.3
+and PNG or animated Gif87a/89a towards desktop applications.
+
+WWW: http://xmedcon.sourceforge.net/
diff --git a/graphics/xmedcon/pkg-plist b/graphics/xmedcon/pkg-plist
new file mode 100644
index 000000000000..ffda9798cdba
--- /dev/null
+++ b/graphics/xmedcon/pkg-plist
@@ -0,0 +1,43 @@
+bin/medcon
+bin/xmedcon-config
+%%X11%%bin/xmedcon
+%%X11%%etc/xmedcon.png
+%%X11%%etc/xmedconrc
+%%X11%%etc/xmedconrc.linux
+include/xmedcon/depend.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
+include/xmedcon/m-ecat64.h
+include/xmedcon/m-error.h
+include/xmedcon/m-fancy.h
+include/xmedcon/m-files.h
+include/xmedcon/m-getopt.h
+include/xmedcon/m-gif.h
+include/xmedcon/m-global.h
+include/xmedcon/m-intf.h
+include/xmedcon/m-inw.h
+include/xmedcon/m-matrix.h
+include/xmedcon/m-pixels.h
+include/xmedcon/m-png.h
+include/xmedcon/m-qmedian.h
+include/xmedcon/m-raw.h
+include/xmedcon/m-rslice.h
+include/xmedcon/m-sigfpe.h
+include/xmedcon/m-split.h
+include/xmedcon/m-structs.h
+include/xmedcon/m-transf.h
+include/xmedcon/m-vifi.h
+include/xmedcon/m-xdummy.h
+include/xmedcon/m-xtract.h
+include/xmedcon/medcon.h
+lib/libmdc.la
+lib/libmdc.so
+lib/libmdc.so.2
+share/aclocal/xmedcon.m4