From owner-freebsd-ports Mon Dec 9 8: 0:27 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 199A637B401 for ; Mon, 9 Dec 2002 08:00:18 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 513C943EC2 for ; Mon, 9 Dec 2002 08:00:16 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gB9G0Gx3066444 for ; Mon, 9 Dec 2002 08:00:16 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gB9G0GoI066443; Mon, 9 Dec 2002 08:00:16 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1480E37B401 for ; Mon, 9 Dec 2002 07:53:56 -0800 (PST) Received: from everlund.homeip.net (h40n3c1o1023.bredband.skanova.com [213.64.166.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5261A43EC5 for ; Mon, 9 Dec 2002 07:53:49 -0800 (PST) (envelope-from su_paul@everlund.homeip.net) Received: from everlund.homeip.net (localhost [127.0.0.1]) by everlund.homeip.net (8.12.6/8.12.6) with ESMTP id gB9FrmTI081118 for ; Mon, 9 Dec 2002 16:53:48 +0100 (CET) (envelope-from su_paul@everlund.homeip.net) Received: (from root@localhost) by everlund.homeip.net (8.12.6/8.12.6/Submit) id gB9Frm29081117; Mon, 9 Dec 2002 16:53:48 +0100 (CET) (envelope-from su_paul) Message-Id: <200212091553.gB9Frm29081117@everlund.homeip.net> Date: Mon, 9 Dec 2002 16:53:48 +0100 (CET) From: Paul Everlund Reply-To: Paul Everlund To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/46147: Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 46147 >Category: ports >Synopsis: >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Dec 09 08:00:13 PST 2002 >Closed-Date: >Last-Modified: >Originator: Paul Everlund >Release: FreeBSD 4.7-RELEASE i386 >Organization: >Environment: System: FreeBSD freebsd.everlund.homeip.net 4.7-RELEASE FreeBSD 4.7-RELEASE #1: Sun Oct 13 07:35:27 CEST 2002 su_paul@freebsd.everlund.homeip.net:/usr/obj/usr/src/sys/I686_CPU_KERNEL i386 >Description: (X)Medcon 0.8.2 -> (X)Medcon 0.8.8 Did not do any diffs of the existing port-files as this is a major update. The patches now patch .in-files instead of .am-files. A "graphical" interface now presents the various configure options. This required a rewrite of the ports Makefile. The pkg-plist is updated. >How-To-Repeat: >Fix: --- xmedcon.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # xmedcon # xmedcon/distinfo # xmedcon/files # xmedcon/files/patch-man::Makefile.in # xmedcon/files/patch-etc::Makefile.in # xmedcon/files/patch-source::Makefile.in # xmedcon/scripts # xmedcon/scripts/configure # xmedcon/Makefile # xmedcon/pkg-comment # xmedcon/pkg-descr # xmedcon/pkg-plist # echo c - xmedcon mkdir -p xmedcon > /dev/null 2>&1 echo x - xmedcon/distinfo sed 's/^X//' >xmedcon/distinfo << 'END-of-xmedcon/distinfo' XMD5 (xmedcon-0.8.8.tar.gz) = 4d6a72506e35d12e73374f72e043bca2 END-of-xmedcon/distinfo echo c - xmedcon/files mkdir -p xmedcon/files > /dev/null 2>&1 echo x - xmedcon/files/patch-man::Makefile.in sed 's/^X//' >xmedcon/files/patch-man::Makefile.in << 'END-of-xmedcon/files/patch-man::Makefile.in' X--- man/Makefile.in.orig Mon Dec 9 12:56:39 2002 X+++ man/Makefile.in Mon Dec 9 12:52:38 2002 X@@ -180,6 +180,7 @@ X X AUTOMAKE_OPTIONS = gnu X X+.if(DO_XSUPPORT) X man_MANS = \ X medcon.1 \ X xmedcon.1 \ X@@ -191,6 +192,18 @@ X m-gif.4 \ X m-intf.4 \ X m-inw.4 X+.else X+man_MANS = \ X+ medcon.1 \ X+ xmedcon-config.1 \ X+ medcon.3 \ X+ m-acr.4 \ X+ m-anlz.4 \ X+ m-ecat.4 \ X+ m-gif.4 \ X+ m-intf.4 \ X+ m-inw.4 X+.endif X X EXTRA_DIST = $(man_MANS) X subdir = man END-of-xmedcon/files/patch-man::Makefile.in echo x - xmedcon/files/patch-etc::Makefile.in sed 's/^X//' >xmedcon/files/patch-etc::Makefile.in << 'END-of-xmedcon/files/patch-etc::Makefile.in' X--- etc/Makefile.in.orig Sun Dec 8 01:39:58 2002 X+++ etc/Makefile.in Mon Dec 9 13:14:55 2002 X@@ -180,13 +180,15 @@ X X AUTOMAKE_OPTIONS = gnu X X+.if(DO_XSUPPORT) X RC_FILES = \ X xmedconrc \ X- xmedconrc.linux \ X- xmedconrc.win32 X- X- X-ICONS = xmedcon.ico xmedcon.png X+ xmedconrc.linux X+ICONS = xmedcon.png X+.else X+RC_FILES = X+ICONS = X+.endif X X GTK_DIST = README $(RC_FILES) $(ICONS) X END-of-xmedcon/files/patch-etc::Makefile.in echo x - xmedcon/files/patch-source::Makefile.in sed 's/^X//' >xmedcon/files/patch-source::Makefile.in << 'END-of-xmedcon/files/patch-source::Makefile.in' X--- source/Makefile.in.orig Mon Dec 9 15:03:20 2002 X+++ source/Makefile.in Mon Dec 9 15:03:55 2002 X@@ -372,7 +372,7 @@ X m-png.h X X X-configheadersdir = $(prefix)/include X+configheadersdir = $(prefix)/include/xmedcon X configheaders_DATA = m-depend.h m-config.h X X INCLUDES = $(DICM_INC) $(LJPG_INC) $(PNG_INC) $(XMEDCON_INC) END-of-xmedcon/files/patch-source::Makefile.in echo c - xmedcon/scripts mkdir -p xmedcon/scripts > /dev/null 2>&1 echo x - xmedcon/scripts/configure sed 's/^X//' >xmedcon/scripts/configure << 'END-of-xmedcon/scripts/configure' X#!/bin/sh X Xif [ -f ${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc ]; then X exit Xfi X Xtempfile=`/usr/bin/mktemp -t checklist` X Xif [ "${BATCH}" ]; then Xelse X /usr/bin/dialog --title "Configuration options: (X)Medcon" --clear \ X --checklist "\n\ XPlease select desired options:" -1 -1 11 \ Xx11 "With X11" ON \ Xacr/nema "With Acr/Nema 2.0" ON \ Xanalyze "With Analyze (SPM)" ON \ Xconcorde "With Concorde æPET" ON \ Xdicom "With DICOM 3.0 (implies acr/nema)" ON \ Xdicom_ljpeg "With DICOM 3.0 Lossless JPEG (implies acr/nema and dicom)" ON \ Xecat "With ECAT 6.4" ON \ Xgif "With GIF87a/89a" ON \ Xinterfile "With InterFile 3.3" ON \ Xinw "With INW (RUG)" ON \ Xpng "With PNG" ON \ X2> $tempfile X X retval=$? X X if [ -s $tempfile ]; then X set `cat $tempfile` X fi X rm -f $tempfile X X case $retval in X 0) if [ -z "$*" ]; then X echo "Nothing selected" X fi X ;; X 1) echo "Cancel pressed." X exit 1 X ;; X esac Xfi X X${MKDIR} ${WRKDIRPREFIX}${REALCURDIR} Xecho "SCRIPT_RUN=yes" >${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc X Xwhile [ "$1" ]; do X case $1 in X \"x11\") X echo "WITH_X11=YES" >>${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc X ;; X \"acr/nema\") X echo "WITH_ACRNEMA=YES" >>${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc X ;; X \"analyze\") X echo "WITH_ANALYZE=YES" >>${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc X ;; X \"concorde\") X echo "WITH_CONCORDE=YES" >>${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc X ;; X \"dicom\") X echo "WITH_DICOM=YES" >>${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc X ;; X \"dicom_ljpeg\") X echo "WITH_ACRNEMA=YES" >>${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc X echo "WITH_DICOM=YES" >>${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc X echo "WITH_DICOM_LJPEG=YES" >>${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc X ;; X \"ecat\") X echo "WITH_ECAT=YES" >>${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc X ;; X \"gif\") X echo "WITH_GIF=YES" >>${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc X ;; X \"interfile\") X echo "WITH_INTERFILE=YES" >>${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc X ;; X \"inw\") X echo "WITH_INW=YES" >>${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc X ;; X \"png\") X echo "WITH_PNG=YES" >>${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc X ;; X *) X echo "Invalid option: $1" X rm -f ${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc X exit 1 X ;; X esac X shift Xdone END-of-xmedcon/scripts/configure echo x - xmedcon/Makefile sed 's/^X//' >xmedcon/Makefile << 'END-of-xmedcon/Makefile' X# New ports collection makefile for: xmedcon X# Date created: 26 September 2002 X# Whom: Paul Everlund X# X# $FreeBSD: ports/graphics/xmedcon/Makefile,v 1.1 2002/10/14 11:40:18 ijliao Exp $ X# X XPORTNAME= xmedcon XPORTVERSION= 0.8.8 XCATEGORIES= converters graphics XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= ${PORTNAME} X XMAINTAINER= tdv94ped@cs.umu.se X XUSE_SUBMAKE= yes XUSE_LIBTOOL= yes XCONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ X LDFLAGS="-L${LOCALBASE}/lib" XINSTALLS_SHLIB= yes X XSCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \ X MKDIR="${MKDIR}" \ X REALCURDIR=${.CURDIR} X Xpre-fetch: X @${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure X X.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc) X.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc" X.endif X Xpost-clean: X @${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc X X.if defined(WITH_X11) XUSE_X_PREFIX= yes XUSE_GNOMENG= yes XUSE_GNOME= gtk12 gdkpixbuf XPLIST_SUB= X11="" X.else XCONFIGURE_ARGS= --disable-gui XPKGNAMESUFFIX= -nox11 XPLIST_SUB= X11="@comment " X.endif X X.if !defined(WITH_ACRNEMA) && !defined(WITH_DICOM) XCONFIGURE_ARGS+= --disable-acr X.endif X X.if !defined(WITH_GIF) XCONFIGURE_ARGS+= --disable-gif X.endif X X.if !defined(WITH_INW) XCONFIGURE_ARGS+= --disable-inw X.endif X X.if !defined(WITH_ANALYZE) XCONFIGURE_ARGS+= --disable-anlz X.endif X X.if !defined(WITH_CONCORDE) XCONFIGURE_ARGS+= --disable-conc X.endif X X.if !defined(WITH_ECAT) XCONFIGURE_ARGS+= --disable-ecat X.endif X X.if !defined(WITH_INTERFILE) XCONFIGURE_ARGS+= --disable-intf X.endif X X.if !defined(WITH_DICOM) && !defined(WITH_DICOM_LJPEG) XCONFIGURE_ARGS+= --disable-dicom X.endif X X.if !defined(WITH_DICOM_LJPEG) XCONFIGURE_ARGS+= --disable-ljpg X.endif X X.if !defined(WITH_PNG) XCONFIGURE_ARGS+= --disable-png X.else XLIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png X.endif X XCONFIGURE_ARGS+= --includedir=${PREFIX}/include/xmedcon X XMAN1= medcon.1 xmedcon-config.1 X.if defined(WITH_X11) XMAN1+= xmedcon.1 X.endif X XMAN3= medcon.3 X XMAN4= m-acr.4 m-anlz.4 m-ecat.4 m-gif.4 m-intf.4 m-inw.4 X X.include END-of-xmedcon/Makefile echo x - xmedcon/pkg-comment sed 's/^X//' >xmedcon/pkg-comment << 'END-of-xmedcon/pkg-comment' XA medical image conversion utility and library END-of-xmedcon/pkg-comment echo x - xmedcon/pkg-descr sed 's/^X//' >xmedcon/pkg-descr << 'END-of-xmedcon/pkg-descr' XThis project stands for Medical Image Conversion and is released under the XGNU's (L)GPL license. It bundles the C sourcecode, a library, a flexible Xcommand-line utility and a graphical front-end based on the amazing Gtk+ Xtoolkit. X XIts main purpose is image conversion, while preserving the most valuable Xmedical study information. The currently supported formats are: Acr/Nema 2.0, XAnalyze (SPM), Concorde/uPET, DICOM 3.0, Ecat/Matrix 6.4, InterFile 3.3 Xand PNG or animated Gif87a/89a towards desktop applications. X XWWW: http://xmedcon.sourceforge.net/ END-of-xmedcon/pkg-descr echo x - xmedcon/pkg-plist sed 's/^X//' >xmedcon/pkg-plist << 'END-of-xmedcon/pkg-plist' Xbin/medcon Xbin/xmedcon-config X%%X11%%bin/xmedcon X%%X11%%etc/xmedcon.png X%%X11%%etc/xmedconrc X%%X11%%etc/xmedconrc.linux Xinclude/xmedcon/m-depend.h Xinclude/xmedcon/m-config.h Xinclude/xmedcon/m-acr.h Xinclude/xmedcon/m-algori.h Xinclude/xmedcon/m-anlz.h Xinclude/xmedcon/m-color.h Xinclude/xmedcon/m-conc.h Xinclude/xmedcon/m-debug.h Xinclude/xmedcon/m-defs.h Xinclude/xmedcon/m-dicm.h Xinclude/xmedcon/m-ecat64.h Xinclude/xmedcon/m-error.h Xinclude/xmedcon/m-fancy.h Xinclude/xmedcon/m-files.h Xinclude/xmedcon/m-getopt.h Xinclude/xmedcon/m-gif.h Xinclude/xmedcon/m-global.h Xinclude/xmedcon/m-intf.h Xinclude/xmedcon/m-inw.h Xinclude/xmedcon/m-matrix.h Xinclude/xmedcon/m-pixels.h Xinclude/xmedcon/m-png.h Xinclude/xmedcon/m-qmedian.h Xinclude/xmedcon/m-raw.h Xinclude/xmedcon/m-rslice.h Xinclude/xmedcon/m-sigfpe.h Xinclude/xmedcon/m-split.h Xinclude/xmedcon/m-stack.h Xinclude/xmedcon/m-structs.h Xinclude/xmedcon/m-transf.h Xinclude/xmedcon/m-vifi.h Xinclude/xmedcon/m-xdummy.h Xinclude/xmedcon/m-xtract.h Xinclude/xmedcon/medcon.h X@dirrm include/xmedcon Xlib/libmdc.a Xlib/libmdc.la Xlib/libmdc.so Xlib/libmdc.so.2 Xshare/aclocal/xmedcon.m4 END-of-xmedcon/pkg-plist exit --- xmedcon.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message