1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

- Update to 2.9.0

- Pass maintainership to submitter

PR:             ports/74333
Submitted by:   Fernan Aguero <fernan(at)iib.unsam.edu.ar>
This commit is contained in:
Sergey Matveychuk 2004-11-26 01:11:43 +00:00
parent 6387140db2
commit 626e4b86a8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=122469
9 changed files with 1634 additions and 1814 deletions

View File

@ -6,137 +6,55 @@
#
PORTNAME= emboss
PORTVERSION= 2.4.1
PORTREVISION= 3
PORTVERSION= 2.9.0
CATEGORIES= biology
MASTER_SITES= ftp://ftp.uk.embnet.org/pub/EMBOSS/old/ \
ftp://ftp.es.embnet.org/pub/software/emboss/EMBOSS/old/
# ftp://ftp.ebi.ac.uk/pub/software/unix/EMBOSS/
MASTER_SITES= ftp://ftp.uk.embnet.org/pub/EMBOSS/ \
ftp://ftp.es.embnet.org/pub/software/emboss/EMBOSS/ \
ftp://ftp.ebi.ac.uk/pub/software/unix/EMBOSS/
DISTNAME= ${PORTNAME:U}-${PORTVERSION}
DISTFILES= ${PORTNAME:U}-${PORTVERSION}${EXTRACT_SUFX}
DIST_SUBDIR= ${PORTNAME}
EXTRACT_ONLY= ${PORTNAME:U}-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
MAINTAINER= fernan@iib.unsam.edu.ar
COMMENT= A collection of open source tools for genetic sequence analysis
LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd
BUILD_DEPENDS= clustalw:${PORTSDIR}/biology/clustalw \
primer3:${PORTSDIR}/biology/primer3
LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd \
png.5:${PORTSDIR}/graphics/png
USE_SUBMAKE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_LIBTOOL_VER=15
INSTALLS_SHLIB= yes
USE_XLIB= yes
USE_MOTIF= yes
USE_PERL5_BUILD=yes
USE_REINPLACE= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
.endif
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME:U}
DATADIR= ${PREFIX}/share/${PORTNAME:U}
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
SCRIPTS_ENV+= WRKDIRPREFIX="${WRKDIRPREFIX}" \
MKDIR="${MKDIR}" RM="${RM}"
WRKSRC= ${WRKDIR}/${PORTNAME:U}-${PORTVERSION}
EMBASSY_WRKDIR= ${WRKSRC}/EMBASSY
EMNU_VERSION= 1.0.5
HMMER_VERSION= 2.1.1
MEME_VERSION= 2.3.1
MSE_VERSION= 0.0.4
TOPO_VERSION= 0.1
PHYLIP_VERSION= 3.573c
DOC_DIRS= doc/manuals doc/tutorials doc/programs/text doc/programs/html
CONFIG_FILE= ${WRKSRC}/emboss/emboss.default.template
.for app in EMNU HMMER MEME MSE PHYLIP TOPO
SCRIPTS_ENV+= ${app}_VERSION="${${app}_VERSION}"
.if defined(WITH_${app})
APPLIST+= ${app}
${app}_WRKSRC= ${EMBASSY_WRKDIR}/${app}-${${app}_VERSION}
${app}_DISTFILE=${app}-${${app}_VERSION}${EXTRACT_SUFX}
DISTFILES+= ${${app}_DISTFILE}
PLIST_${app}= ""
.else
PLIST_${app}= "@comment "
.endif
PLIST_SUB+= PLIST_${app}=${PLIST_${app}}
.endfor
# Jemboss support is a work in progress.
#
#.if defined(WITH_JEMBOSS)
#USE_JAVA= 1.3+
#CONFIGURE_ARGS+= --with-java=${JAVA_HOME}/include \
# --with-javaos=${JAVA_HOME}/include/${JAVA_OS:L}
#CONFIGURE_ENV+= PATH=${PATH}:${JAVA_HOME}/bin
#MAKE_ENV+= PATH=${PATH}:${JAVA_HOME}/bin
#JEMBOSS_WRKSRC= ${WRKSRC}/jemboss
#.endif
pre-fetch:
@ ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.${PORTNAME}
post-extract:
.for app in ${APPLIST}
@ ${MKDIR} ${EMBASSY_WRKDIR}
@ cd ${EMBASSY_WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
${_DISTDIR}/${${app}_DISTFILE} ${EXTRACT_AFTER_ARGS}
@ if [ `id -u` = 0 ]; then \
${CHMOD} -R ug-s ${${app}_WRKSRC}; \
${CHOWN} -R 0:0 ${${app}_WRKSRC}; \
fi
.endfor
post-patch:
.if !defined(NOPORTDOCS)
.for DIR in ${DOC_DIRS}
@ ${PERL} -pi.orig -e \
's#\$$\(prefix\)/share/\$$\(PACKAGE\)/doc#\$$\(datadir\)/doc/\$$\(PACKAGE\)#' \
${REINPLACE_CMD} -e \
's#$$(prefix)/share/$$(PACKAGE)/doc#$$(datadir)/doc/$$(PACKAGE)#' \
${WRKSRC}/${DIR}/Makefile.in
.endfor
post-configure:
.for app in ${APPLIST}
@ cd ${${app}_WRKSRC} && \
${SETENV} CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}" \
CXXFLAGS="${CXXFLAGS}" \
INSTALL="/usr/bin/install -c -o ${BINOWN} -g ${BINGRP}" \
INSTALL_DATA="${INSTALL_DATA}" \
INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}
.endfor
post-build:
.for app in ${APPLIST}
@ cd ${${app}_WRKSRC} && \
${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} \
${MAKE_ARGS}
.endfor
#.if defined(WITH_JEMBOSS)
# @ cd ${JEMBOSS_WRKSRC} && \
# ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} \
# ${MAKE_ARGS}
#.endif
.endif
post-install:
.for app in ${APPLIST}
@ cd ${${app}_WRKSRC} && \
${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} \
${MAKE_ARGS} ${INSTALL_TARGET}
.endfor
@ ${PERL} -pe 's#%%PREFIX%%#${PREFIX}#' \
${CONFIG_FILE} > ${PREFIX}/etc/emboss.default.sample && \
${CHOWN} ${SHAREOWN}:${SHAREGRP} \
${PREFIX}/etc/emboss.default.sample
@ ${PERL} -pe 's#%%PREFIX%%#${PREFIX}#' \
pkg-message > ${PKGMESSAGE}
@ cd ${WRKSRC} && \
${SED} -e 's#%%PREFIX%%#${PREFIX}#' \
${CONFIG_FILE} > ${PREFIX}/etc/emboss.default.sample && \
${CHOWN} ${SHAREOWN}:${SHAREGRP} ${PREFIX}/etc/emboss.default.sample
@ ${SED} -e 's#%%PREFIX%%#${PREFIX}#' ${.CURDIR}/pkg-message > ${PKGMESSAGE}
.if !defined(BATCH)
@ ${CAT} ${PKGMESSAGE}
.endif
post-clean:
@ ${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc
.include <bsd.port.mk>

View File

@ -1,7 +1,2 @@
MD5 (emboss/EMBOSS-2.4.1.tar.gz) = f8e8f053362346d45b696ad6d0ec4aad
MD5 (emboss/EMNU-1.0.5.tar.gz) = 6ba42bfd8484b313f39ef81e03141f66
MD5 (emboss/HMMER-2.1.1.tar.gz) = aff42ea8ced9c049f2cc4f84a10efd21
MD5 (emboss/MEME-2.3.1.tar.gz) = 92302d22ccb94f9e77c1bb2ca35c0f9c
MD5 (emboss/MSE-0.0.4.tar.gz) = fdfdb7f4d92f67323b14b7030a1135c9
MD5 (emboss/PHYLIP-3.573c.tar.gz) = 5fa81a3cfb4f502c627a30428d49a084
MD5 (emboss/TOPO-0.1.tar.gz) = a5131f2e0d58e06ce071250b62cbe65a
MD5 (EMBOSS-2.9.0.tar.gz) = c6facfd1750e88a0c8b7bb7ac826d472
SIZE (EMBOSS-2.9.0.tar.gz) = 14479274

View File

@ -1,26 +0,0 @@
Add ${PREFIX}/etc as an acceptable location for emboss.default. (I'm still
waiting for this to be incorporated into an official release of EMBOSS.)
The port installs ${PREFIX}/etc/emboss.default.sample
-- Johann <wjv@FreeBSD.org>
--- ajax/ajnam.c.orig Thu Aug 17 20:31:30 2000
+++ ajax/ajnam.c Mon Aug 28 15:12:09 2000
@@ -984,6 +984,15 @@
prefixRootFile = fopen (ajStrStr(namRootStr), "r");
}
+ /* look for $(PREFIX)_ROOT/../emboss.default */
+
+ if (!prefixRootFile)
+ {
+ ajFmtPrintS (&namRootStr, "%s/etc/%s.default",
+ namInstallRoot, prefix);
+ prefixRootFile = fopen (ajStrStr(namRootStr), "r");
+ }
+
if (namFileOrig)
(void) ajStrAppC (&namFileOrig, ", ");
(void) ajStrApp (&namFileOrig, namRootStr);

View File

@ -1,11 +0,0 @@
--- ajax/ajjava.c.orig Thu May 2 22:06:08 2002
+++ ajax/ajjava.c Sun May 26 09:14:20 2002
@@ -75,7 +75,7 @@
#endif
#ifndef __ppc__
-#include <crypt.h>
+#include <unistd.h>
#endif

View File

@ -1,11 +0,0 @@
--- configure.orig Mon Jan 22 23:28:17 2001
+++ configure Thu Jan 25 19:07:33 2001
@@ -1473,7 +1473,7 @@
-AJAX_FIXED_ROOT="\\\"`pwd`/emboss\\\""
+AJAX_FIXED_ROOT="\\\"${datadir}/${PACKAGE}\\\""
#AC_PROG_CXX
for ac_prog in mawk gawk nawk awk

View File

@ -1,38 +0,0 @@
--- emboss/emboss.default.template.orig Thu May 24 19:36:39 2001
+++ emboss/emboss.default.template Wed May 30 10:23:48 2001
@@ -1,9 +1,31 @@
-#SET emboss_tempdata name_of_emboss_test_database_directory
+#####################################################
+### Configuration options for FreeBSD EMBOSS port ###
+#####################################################
-# Logfile - set this to a file that any user can append to
-# and EMBOSS applications will automatically write log information
+# The directory where EMBOSS expects to find run-time
+# databases. This is the compiled-in default - change
+# only if you know what you're doing!
+#
+#SET emboss_data %%PREFIX%%/share/EMBOSS/data
-#SET emboss_logfile /packages/emboss/emboss/log
+# This is an alias which is internal to this
+# configuration file and is set here merely as a
+# convenience. It points to the location where you
+# have placed your local databases (this will differ
+# from site to site).
+#
+SET emboss_tempdata %%PREFIX%%/share/EMBOSS/databases
+
+# Logfile. If this is uncommented and set to a file
+# that any user can append to, EMBOSS applications
+# will automatically log usage information.
+#
+#SET emboss_logfile /var/log/emboss.log
+
+
+###########################################
+### Configuration options for databases ###
+###########################################
# swissprot (Puffer fish entries)
# =========

View File

@ -15,7 +15,8 @@ A .embossrc in a user's home directory overrides settings in the
system-wide emboss.default.
Online EMBOSS documentation is available at:
http://www.uk.embnet.org/Software/EMBOSS/general.html
http://www.uk.embnet.org/Software/EMBOSS/userdoc.html
http://www.uk.embnet.org/Software/EMBOSS/Doc/
http://emboss.sourceforge.net/docs/
--------------------------------------------------------------------------

File diff suppressed because it is too large Load Diff

View File

@ -1,73 +0,0 @@
#!/bin/sh
if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then
exit
fi
if [ "${BATCH}" ]; then
set \"EMNU\" \"HMMER\" \"MEME\" \"MSE\" \"PHYLIP\" \"TOPO\"
else
/usr/bin/dialog --title "EMBOSS: EMBASSY applications" --clear \
--checklist "\n\
These third party applications have been adapted to
function as part of EMBOSS.\n
Please select EMBASSY applications to install:" -1 -1 6 \
EMNU "v${EMNU_VERSION} - Text-based menu" ON \
HMMER "v${HMMER_VERSION} - HMM alignment" ON \
MEME "v${MEME_VERSION} - Motif detection" ON \
MSE "v${MSE_VERSION} - Phylogeny inference" ON \
PHYLIP "v${PHYLIP_VERSION} - Sequence editor" ON \
TOPO "v${TOPO_VERSION} - Transmembrane display" ON \
2> /tmp/checklist.tmp.$$
retval=$?
if [ -s /tmp/checklist.tmp.$$ ]; then
set `cat /tmp/checklist.tmp.$$`
fi
${RM} -f /tmp/checklist.tmp.$$
case $retval in
0)
if [ -z "$*" ]; then
echo "Nothing selected"
fi
;;
1)
echo "Cancel pressed."
exit 1
;;
esac
fi
${MKDIR} ${WRKDIRPREFIX}${CURDIR}
exec > ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
while [ "$1" ]; do
case $1 in
\"EMNU\")
echo "WITH_EMNU= yes"
;;
\"HMMER\")
echo "WITH_HMMER= yes"
;;
\"MEME\")
echo "WITH_MEME= yes"
;;
\"MSE\")
echo "WITH_MSE= yes"
;;
\"PHYLIP\")
echo "WITH_PHYLIP= yes"
;;
\"TOPO\")
echo "WITH_TOPO= yes"
;;
*)
echo "Invalid option(s): $*" > /dev/stderr
${RM} -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
exit 1
;;
esac
shift
done