Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Dec 2000 22:07:27 -0600 (CST)
From:      Jeremy Shaffner <jeremy@external.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        frankch@waru.life.nthu.edu.tw
Subject:   ports/23345: Update Port: biology/kinemage
Message-ID:  <200012070407.eB747Rp36092@indigo.external.org>
Resent-Message-ID: <200012070420.eB74K3d56546@freefall.freebsd.org>

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

>Number:         23345
>Category:       ports
>Synopsis:       Update Port: biology/kinemage
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 06 20:20:03 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Jeremy Shaffner
>Release:        FreeBSD 4.2-20001106-BETA i386
>Organization:
>Environment:

	

>Description:

This updates biology/kinemage from 4.2 to 5.79. 

Found it while looking for Ports "Left Alone Too Long."  I've tried to
contact the Maintainer and have have CC'd them on this PR as well to
establish a timeline.

I would ask that if frankch@waru.life.nthu.edu.tw isn't heard from
that I take over this Port.

The big leap in version isn't the only major change in this Port.
It no longer requires linux_base, and can be built from source.
As such I have removed linux from the CATEGORIES.

Please note that there is a new directory and file:

files/
files/patch-Makefile
	

>How-To-Repeat:

	

>Fix:

diff -ruN kinemage.orig/Makefile kinemage/Makefile
--- kinemage.orig/Makefile	Mon Dec  4 17:51:47 2000
+++ kinemage/Makefile	Mon Dec  4 21:11:18 2000
@@ -6,36 +6,30 @@
 #
 
 PORTNAME=	kinemage
-PORTVERSION=	4.2
-CATEGORIES=     biology linux
-MASTER_SITES=	ftp://kinemage.biochem.duke.edu/LINUXprograms/ \
-		ftp://ftp.ebi.ac.uk/pub/databases/pdb/pub/xternal_software/kinemage/LINUX/ \
-		ftp://ftp.pdb.bnl.gov/pub/xternal_software/kinemage/LINUX/
-DISTNAME=	MAGE_4_2.LINUX
-EXTRACT_SUFX=	.Z
-
-MAINTAINER=     frankch@waru.life.nthu.edu.tw
-
-BUILD_DEPENDS=	/compat/linux/lib/ld.so:${PORTSDIR}/emulators/linux_base
-RUN_DEPENDS=	/compat/linux/usr/i486-linux-libc5/lib/libc.so.5:${PORTSDIR}/emulators/linux_base
-
-ONLY_FOR_ARCHS=	i386
-
-NO_WRKSUBDIR=	YES
-NO_BUILD=	YES
-
-.include <bsd.port.pre.mk>
-
-.if ${PORTOBJFORMAT} == "elf"
-STRIP=
-.endif
-
-do-extract:
-	@${MKDIR} ${WRKDIR}
-	@${CP} ${DISTDIR}/${DISTFILES} ${WRKDIR}
-	@/usr/bin/uncompress ${WRKDIR}/${DISTFILES}
+PORTVERSION=	5.79
+CATEGORIES=     biology
+# There is no distfile to fetch here, just a dir of badly formatted sources
+#MASTER_SITES=   ftp://kinemage.biochem.duke.edu/OPEN_SOURCE/
+#MASTER_SITE_SUBDIR=	MAGE_001120
+# I've repackaged their sources for now and Will Andrews <will@freebsd.org>
+# is hosting
+MASTER_SITES=	${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR=	will
+DISTNAME=	mage-001120
+
+MAINTAINER=     jeremy@external.org
+
+WRKSRC=		${WRKDIR}/${DISTNAME}
+
+USE_MOTIF=	YES
+
+ALL_TARGET=	mage
+
+# When the time comes to use the actual master site, this snippet
+# will replace the carriage returns with newlines
+# perl -i -pe 's/\r/\n/g' ${WRKSRC}/*
 
 do-install:
-	@${INSTALL_PROGRAM} ${WRKDIR}/MAGE_4_2.LINUX ${PREFIX}/bin/kinemage
+	@${INSTALL_PROGRAM} ${WRKSRC}/mage ${PREFIX}/bin/kinemage
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -ruN kinemage.orig/distinfo kinemage/distinfo
--- kinemage.orig/distinfo	Mon Dec  4 17:51:47 2000
+++ kinemage/distinfo	Mon Dec  4 19:39:14 2000
@@ -1 +1 @@
-MD5 (MAGE_4_2.LINUX.Z) = 28352c13ac25e3843e216c6f856c6ca5
+MD5 (mage-001120.tar.gz) = dc58cf2831237d6b5dddf9fc32f97389
diff -ruN kinemage.orig/files/patch-Makefile kinemage/files/patch-Makefile
--- kinemage.orig/files/patch-Makefile	Wed Dec 31 18:00:00 1969
+++ kinemage/files/patch-Makefile	Mon Dec  4 20:53:02 2000
@@ -0,0 +1,22 @@
+--- Makefile.orig	Mon Dec  4 20:47:11 2000
++++ Makefile	Mon Dec  4 20:50:43 2000
+@@ -4,7 +4,7 @@
+ # rpm -i ...rpm   (to install each in turn, where ...rpm is downloaded file
+ # for Linux, try:                                                               
+ # CFLAGS =  -I/usr/X11R6/LessTif/Motif2.0/include
+-CFLAGS = -g  -I/usr/X11R6/LessTif/Motif2.0/include
++CFLAGS += -I/usr/X11R6/include
+ # for SGI use:
+ # CFLAGS = -I/usr/include/X11
+ # CFLAGS =  -g -I/usr/include/X11
+@@ -30,7 +30,9 @@
+ # for linux with Motif installed, try:
+ # LIBS = -L/usr/X11/lib -lXm -lXt -lX11
+ # for Linux, try:
+-LIBS = -L/usr/X11R6/LessTif/Motif2.0/lib -L/usr/X11R6/lib -lXm -lXt -lX11
++# LIBS = -L/usr/X11R6/LessTif/Motif2.0/lib -L/usr/X11R6/lib -lXm -lXt -lX11
++# For FreeBSD:
++LIBS = -L/usr/X11R6/lib -lXm -lXt -lX11
+ 
+ # ------------------------------------------------------------------------
+ 
	


>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?200012070407.eB747Rp36092>