mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
add xmedcon 0.8.1
A medical image conversion utility and library PR: 43448 Submitted by: Paul Everlund <tdv94ped@cs.umu.se>
This commit is contained in:
parent
c8122ee1a0
commit
3263d5636f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=68027
9 changed files with 202 additions and 0 deletions
|
@ -417,6 +417,7 @@
|
|||
SUBDIR += xli
|
||||
SUBDIR += xmagv
|
||||
SUBDIR += xmandel
|
||||
SUBDIR += xmedcon
|
||||
SUBDIR += xmfract
|
||||
SUBDIR += xmms-avi
|
||||
SUBDIR += xmms-blursk
|
||||
|
|
73
graphics/xmedcon/Makefile
Normal file
73
graphics/xmedcon/Makefile
Normal file
|
@ -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>
|
1
graphics/xmedcon/distinfo
Normal file
1
graphics/xmedcon/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (xmedcon-0.8.1.tar.gz) = 401e4473cf2776fd48585e595612803b
|
27
graphics/xmedcon/files/patch-etc::Makefile.am
Normal file
27
graphics/xmedcon/files/patch-etc::Makefile.am
Normal file
|
@ -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)
|
29
graphics/xmedcon/files/patch-man::Makefile.am
Normal file
29
graphics/xmedcon/files/patch-man::Makefile.am
Normal file
|
@ -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)
|
16
graphics/xmedcon/files/patch-source::Makefile.am
Normal file
16
graphics/xmedcon/files/patch-source::Makefile.am
Normal file
|
@ -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
|
||||
+
|
||||
|
1
graphics/xmedcon/pkg-comment
Normal file
1
graphics/xmedcon/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
|||
A medical image conversion utility and library
|
11
graphics/xmedcon/pkg-descr
Normal file
11
graphics/xmedcon/pkg-descr
Normal file
|
@ -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/
|
43
graphics/xmedcon/pkg-plist
Normal file
43
graphics/xmedcon/pkg-plist
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue