Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jan 2003 12:21:24 +0100 (CET)
From:      Paul Everlund <tdv94ped@cs.umu.se>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/47014: [Port fix]: XMedcon have a missing file
Message-ID:  <200301131121.h0DBLO3h028525@everlund.homeip.net>

next in thread | raw e-mail | index | archive | help

>Number:         47014
>Category:       ports
>Synopsis:       [Port fix]: XMedcon have a missing file
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 13 03:30:02 PST 2003
>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:
	This port upgrade was committed with a missing file. Please add 
	it.

>How-To-Repeat:

>Fix:
Put the file configure in graphics/xmedcon/scripts!

--- 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:
#
#	scripts
#	scripts/configure
#
echo c - scripts
mkdir -p scripts > /dev/null 2>&1
echo x - scripts/configure
sed 's/^X//' >scripts/configure << 'END-of-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-scripts/configure
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301131121.h0DBLO3h028525>