diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-01-02 19:23:46 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-01-02 19:23:46 +0000 |
commit | ecbba737838a7c985f5ac8c0cc412a9746bd1cc2 (patch) | |
tree | 1aa65dff0ee8f5c240ed78e47145594d483f91a7 /graphics/xmedcon | |
parent | 5175c135c0288e6bd7515f357bf4d1b2043874c0 (diff) | |
download | ports-ecbba737838a7c985f5ac8c0cc412a9746bd1cc2.tar.gz ports-ecbba737838a7c985f5ac8c0cc412a9746bd1cc2.zip |
Notes
Diffstat (limited to 'graphics/xmedcon')
-rw-r--r-- | graphics/xmedcon/Makefile | 65 | ||||
-rw-r--r-- | graphics/xmedcon/distinfo | 2 | ||||
-rw-r--r-- | graphics/xmedcon/files/patch-etc::Makefile.am | 27 | ||||
-rw-r--r-- | graphics/xmedcon/files/patch-etc::Makefile.in | 23 | ||||
-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.am | 11 | ||||
-rw-r--r-- | graphics/xmedcon/files/patch-source::Makefile.in | 11 | ||||
-rw-r--r-- | graphics/xmedcon/pkg-plist | 12 |
8 files changed, 90 insertions, 79 deletions
diff --git a/graphics/xmedcon/Makefile b/graphics/xmedcon/Makefile index cd552a9f1a0d..869797b5e747 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 c5a3198cead3..6a24e9779c16 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 e22b6c046ecf..000000000000 --- 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 000000000000..fa02634aa901 --- /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 55a51d183d19..e5d764e0419b 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 29978f8d6267..000000000000 --- 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 000000000000..b7516cf9a3a1 --- /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 2f96f69cc1d3..c475b9f2093c 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 |