diff options
author | Steve Price <steve@FreeBSD.org> | 2000-12-11 03:10:04 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 2000-12-11 03:10:04 +0000 |
commit | 7314b99412ce37becb4a2a2892bbcbd8393c49bc (patch) | |
tree | a7ce612326fe8f890a24f64e31b1104e028a879e /biology/kinemage | |
parent | 6970d117a8949905e814935f55888344163ca37f (diff) | |
download | ports-7314b99412ce37becb4a2a2892bbcbd8393c49bc.tar.gz ports-7314b99412ce37becb4a2a2892bbcbd8393c49bc.zip |
Notes
Diffstat (limited to 'biology/kinemage')
-rw-r--r-- | biology/kinemage/Makefile | 44 | ||||
-rw-r--r-- | biology/kinemage/distinfo | 2 | ||||
-rw-r--r-- | biology/kinemage/files/patch-Makefile | 22 |
3 files changed, 42 insertions, 26 deletions
diff --git a/biology/kinemage/Makefile b/biology/kinemage/Makefile index b40906826b14..4dbeaae0914c 100644 --- a/biology/kinemage/Makefile +++ b/biology/kinemage/Makefile @@ -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 +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= frankch@waru.life.nthu.edu.tw +MAINTAINER= jeremy@external.org -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 +WRKSRC= ${WRKDIR}/${DISTNAME} -ONLY_FOR_ARCHS= i386 +USE_MOTIF= YES -NO_WRKSUBDIR= YES -NO_BUILD= YES +ALL_TARGET= mage -.include <bsd.port.pre.mk> - -.if ${PORTOBJFORMAT} == "elf" -STRIP= -.endif - -do-extract: - @${MKDIR} ${WRKDIR} - @${CP} ${DISTDIR}/${DISTFILES} ${WRKDIR} - @/usr/bin/uncompress ${WRKDIR}/${DISTFILES} +# 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 --git a/biology/kinemage/distinfo b/biology/kinemage/distinfo index 4d21c121bd15..f478904148bc 100644 --- a/biology/kinemage/distinfo +++ b/biology/kinemage/distinfo @@ -1 +1 @@ -MD5 (MAGE_4_2.LINUX.Z) = 28352c13ac25e3843e216c6f856c6ca5 +MD5 (mage-001120.tar.gz) = dc58cf2831237d6b5dddf9fc32f97389 diff --git a/biology/kinemage/files/patch-Makefile b/biology/kinemage/files/patch-Makefile new file mode 100644 index 000000000000..06217f2cf807 --- /dev/null +++ b/biology/kinemage/files/patch-Makefile @@ -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 + + # ------------------------------------------------------------------------ + |