head	1.19;
access;
symbols
	RELEASE_8_3_0:1.14
	RELEASE_9_0_0:1.14
	RELEASE_7_4_0:1.13
	RELEASE_8_2_0:1.13
	RELEASE_6_EOL:1.13
	RELEASE_8_1_0:1.12
	RELEASE_7_3_0:1.11
	RELEASE_8_0_0:1.9
	RELEASE_7_2_0:1.9
	RELEASE_7_1_0:1.8
	RELEASE_6_4_0:1.8
	RELEASE_5_EOL:1.7
	RELEASE_7_0_0:1.7
	RELEASE_6_3_0:1.7
	PRE_XORG_7:1.5
	RELEASE_4_EOL:1.5
	RELEASE_6_2_0:1.5;
locks; strict;
comment	@# @;


1.19
date	2013.03.07.13.45.38;	author svnexp;	state Exp;
branches;
next	1.18;

1.18
date	2012.12.28.23.25.36;	author svnexp;	state Exp;
branches;
next	1.17;

1.17
date	2012.12.27.20.27.05;	author svnexp;	state Exp;
branches;
next	1.16;

1.16
date	2012.11.17.05.54.51;	author svnexp;	state Exp;
branches;
next	1.15;

1.15
date	2012.05.16.13.46.30;	author pav;	state Exp;
branches;
next	1.14;

1.14
date	2011.11.04.20.39.12;	author pav;	state Exp;
branches;
next	1.13;

1.13
date	2010.07.29.08.30.23;	author pav;	state Exp;
branches;
next	1.12;

1.12
date	2010.03.28.06.31.35;	author dinoex;	state Exp;
branches;
next	1.11;

1.11
date	2010.02.05.11.34.36;	author dinoex;	state Exp;
branches;
next	1.10;

1.10
date	2009.10.01.07.34.28;	author pav;	state Exp;
branches;
next	1.9;

1.9
date	2009.01.05.17.27.23;	author pav;	state Exp;
branches;
next	1.8;

1.8
date	2008.06.06.13.08.28;	author edwin;	state Exp;
branches;
next	1.7;

1.7
date	2007.07.08.11.56.59;	author pav;	state Exp;
branches;
next	1.6;

1.6
date	2007.05.19.20.00.22;	author flz;	state Exp;
branches;
next	1.5;

1.5
date	2006.10.10.11.31.41;	author pav;	state Exp;
branches;
next	1.4;

1.4
date	2006.07.17.21.44.52;	author pav;	state Exp;
branches;
next	1.3;

1.3
date	2006.06.24.21.04.45;	author pav;	state Exp;
branches;
next	1.2;

1.2
date	2006.06.22.18.53.30;	author pav;	state Exp;
branches;
next	1.1;

1.1
date	2006.06.19.20.32.08;	author pav;	state Exp;
branches;
next	;


desc
@@


1.19
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/313558
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Pav Lucistnik <pav@@FreeBSD.org>
# $FreeBSD: head/biology/boinc-simap/Makefile 313558 2013-03-06 23:31:58Z rene $
#

PORTNAME=	boinc-simap
PORTVERSION=	${SIMAP_VERSION}.${HMMER_VERSION}
PORTREVISION=	5
CATEGORIES=	biology
MASTER_SITES=	http://boincsimap.org/boincsimap/download/
DISTNAME=	${SIMAP_BINARY} ${HMMER_BINARY}
EXTRACT_SUFX=	#

MAINTAINER=	rene@@FreeBSD.org
COMMENT=	Similarity Matrix of Proteins project for BOINC

RUN_DEPENDS=	boinc_client:${PORTSDIR}/net/boinc-client

NO_BUILD=	yes
NO_WRKSUBDIR=	yes
STRIP=		#

# these must match settings in ${PORTSDIR}/net/boinc-client/Makefile
BOINC_CLIENT_USER?=	boinc
BOINC_CLIENT_GROUP?=	nobody
BOINC_CLIENT_HOME?=	/var/db/boinc

SIMAP_SITE=	boincsimap.org_boincsimap
SIMAP_BINARY=	simap_${SIMAP_VERSION}_${MACH}-pc-freebsd
SIMAP_VERSION=	5.10
HMMER_BINARY=	hmmer_${HMMER_VERSION}_${MACH}-pc-freebsd
HMMER_VERSION=	5.09

PLIST_SUB=	SIMAP_BINARY=${SIMAP_BINARY} HMMER_BINARY=${HMMER_BINARY} SIMAP_SITE=${SIMAP_SITE} \
		BOINC_CLIENT_HOME=${BOINC_CLIENT_HOME}

ONLY_FOR_ARCHS=	i386 amd64

OPTIONS_DEFINE=	SSE

.include <bsd.port.pre.mk>

.if ${PORT_OPTIONS:MSSE}
MACH=		i686
.else
MACH=		i386
.endif

.if ${ARCH} == amd64
AMD64=		""
.else
AMD64=		"@@comment "
.endif

SUB_FILES=	app_info.xml pkg-message
SUB_LIST=	SIMAP_BINARY=${SIMAP_BINARY} HMMER_BINARY=${HMMER_BINARY} SIMAP_APPVERSION=${SIMAP_VERSION:S/.//} HMMER_APPVERSION=${HMMER_VERSION:S/.//} AMD64=${AMD64}

LIB_DEPENDS+=	c.6:${PORTSDIR}/misc/compat6x

do-extract:
	@@${MKDIR} ${WRKDIR}
	@@${CP} ${DISTDIR}/${SIMAP_BINARY} ${WRKDIR}
	@@(cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${HMMER_BINARY} ${EXTRACT_AFTER_ARGS})

do-install:
	${INSTALL} -d -o ${BOINC_CLIENT_USER} -g ${BOINC_CLIENT_GROUP} ${BOINC_CLIENT_HOME}/projects
	${INSTALL} -d -o ${BOINC_CLIENT_USER} -g ${BOINC_CLIENT_GROUP} ${BOINC_CLIENT_HOME}/projects/${SIMAP_SITE}
	${INSTALL_DATA} -o ${BOINC_CLIENT_USER} -g ${BOINC_CLIENT_GROUP} ${WRKDIR}/app_info.xml ${BOINC_CLIENT_HOME}/projects/${SIMAP_SITE}
.for APP in ${DISTNAME}
	${INSTALL_PROGRAM} -o ${BOINC_CLIENT_USER} -g ${BOINC_CLIENT_GROUP} ${WRKDIR}/${APP} ${BOINC_CLIENT_HOME}/projects/${SIMAP_SITE}
.endfor

post-install:
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>
@


1.18
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/309592
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r309592 | rene | 2012-12-28 21:59:42 +0000 (Fri, 28 Dec 2012) | 4 lines
## SVN ##
## SVN ## Take over maintainership.
## SVN ##
## SVN ## Approved by:	pav (previous maintainer)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: head/biology/boinc-simap/Makefile 309592 2012-12-28 21:59:42Z rene $
a49 7
.if ${OSVERSION} < 800000
AMD64_BEFORE_8000000=		""
AMD64_AFTER_8000000=		"@@comment "
.else
AMD64_BEFORE_8000000=		"@@comment "
AMD64_AFTER_8000000=		""
.endif
a51 2
AMD64_BEFORE_8000000=		"@@comment "
AMD64_AFTER_8000000=		"@@comment "
d55 1
a55 1
SUB_LIST=	SIMAP_BINARY=${SIMAP_BINARY} HMMER_BINARY=${HMMER_BINARY} SIMAP_APPVERSION=${SIMAP_VERSION:S/.//} HMMER_APPVERSION=${HMMER_VERSION:S/.//} AMD64=${AMD64} AMD64_BEFORE_8000000=${AMD64_BEFORE_8000000} AMD64_AFTER_8000000=${AMD64_AFTER_8000000}
a56 1
.if ${OSVERSION} >= 700043
a57 1
.endif
@


1.17
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/309554
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r309554 | rene | 2012-12-27 20:12:06 +0000 (Thu, 27 Dec 2012) | 14 lines
## SVN ##
## SVN ## Use the new project URL to let the application attach coorectly to the
## SVN ## project, and some cleanups:
## SVN ## - use optionsNG
## SVN ## - update commands in pkg-install.in
## SVN ## - improve %%AMD64%% comment handling
## SVN ## - convert Makefile header
## SVN ## - remove unused variable SIMAP_URL
## SVN ##
## SVN ## Bump PORTREVISION
## SVN ##
## SVN ## PR:		ports/174748
## SVN ## Submitted by:	myself
## SVN ## Approved by:	maintainer (pav@@)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: head/biology/boinc-simap/Makefile 309554 2012-12-27 20:12:06Z rene $
d13 1
a13 1
MAINTAINER=	pav@@FreeBSD.org
@


1.16
log
@Switch exporter over
@
text
@d1 2
a2 4
# New ports collection makefile for:	boinc-simap
# Date created:				29 May 2006
# Whom:					Pav Lucistnik <pav@@FreeBSD.org>
# $FreeBSD: head/biology/boinc-simap/Makefile 300895 2012-07-14 12:56:14Z beat $
d7 1
a7 1
PORTREVISION=	4
d27 1
a27 2
SIMAP_SITE=	boinc.bio.wzw.tum.de_boincsimap
SIMAP_URL=	boinc.bio.wzw.tum.de/boincsimap
d38 1
a38 1
OPTIONS=	SSE "SSE optimized app (warning! your CPU must support SSE)" off
d42 1
a42 1
.ifdef WITH_SSE
d52 1
a52 1
AMD64_AFTER_8000000=		"@@comment"
d54 1
a54 1
AMD64_BEFORE_8000000=		"@@comment"
d58 3
a60 3
AMD64=		"@@comment"
AMD64_BEFORE_8000000=		"@@comment"
AMD64_AFTER_8000000=		"@@comment"
@


1.15
log
@- Adjust BOINC_* variables to be consistent with new system in boinc-client
@
text
@d4 1
a4 1
# $FreeBSD$
@


1.14
log
@- Fix fetch and update WWW
@
text
@d25 3
a27 3
BOINC_USER?=	boinc
BOINC_GROUP?=	nobody
BOINC_HOME?=	/var/db/boinc
d37 1
a37 1
		BOINC_HOME=${BOINC_HOME}
d79 3
a81 3
	${INSTALL} -d -o ${BOINC_USER} -g ${BOINC_GROUP} ${BOINC_HOME}/projects
	${INSTALL} -d -o ${BOINC_USER} -g ${BOINC_GROUP} ${BOINC_HOME}/projects/${SIMAP_SITE}
	${INSTALL_DATA} -o ${BOINC_USER} -g ${BOINC_GROUP} ${WRKDIR}/app_info.xml ${BOINC_HOME}/projects/${SIMAP_SITE}
d83 1
a83 1
	${INSTALL_PROGRAM} -o ${BOINC_USER} -g ${BOINC_GROUP} ${WRKDIR}/${APP} ${BOINC_HOME}/projects/${SIMAP_SITE}
@


1.13
log
@- Update the libmap instructions for amd64/8

Submitted by:	Rick van der Zwet <info@@rickvanderzwet.nl>
@
text
@d11 1
a11 1
MASTER_SITES=	http://boinc.bio.wzw.tum.de/boincsimap/download/
@


1.12
log
@- update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
@
text
@d51 1
a51 1
.if ${ARCH} == amd64 && ${OSVERSION} < 800000
d53 3
d57 7
a63 1
AMD64=		"@@comment "
d67 1
a67 1
SUB_LIST=	SIMAP_BINARY=${SIMAP_BINARY} HMMER_BINARY=${HMMER_BINARY} SIMAP_APPVERSION=${SIMAP_VERSION:S/.//} HMMER_APPVERSION=${HMMER_VERSION:S/.//} AMD64=${AMD64}
@


1.11
log
@- update to jpeg-8
@
text
@d9 1
a9 1
PORTREVISION=	3
@


1.10
log
@- Annotate that 8.x no longer needs libmap hack

Reported by:	rene
@
text
@d9 1
a9 1
PORTREVISION=	2
@


1.9
log
@- Remove conditional checks relevant only on FreeBSD 5.x and older
@
text
@d51 1
a51 1
.if ${ARCH} == amd64
@


1.8
log
@Bump portrevision due to upgrade of devel/gettext.

The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@@
Approved by:    portmgr (pav)
@
text
@a59 4
.if ${OSVERSION} < 600000
IGNORE=		only supports FreeBSD 6.X and newer
.endif

@


1.7
log
@- Runs on 7.0-CURRENT with compat6x

Reported by:	Rene Ladan <r.c.ladan@@gmail.com>
@
text
@d9 1
a9 1
PORTREVISION=	1
@


1.6
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@d64 4
@


1.5
log
@- Add hmmer 5.09 application
@
text
@d9 1
@


1.4
log
@- Update to 5.10
@
text
@d8 1
a8 1
PORTVERSION=	5.10
d11 1
a11 1
DISTNAME=	simap_${PORTVERSION}_${MACH}-pc-freebsd
d30 4
a33 1
SIMAP_BINARY=	${DISTNAME}
d35 1
a35 1
PLIST_SUB=	SIMAP_BINARY=${SIMAP_BINARY} SIMAP_SITE=${SIMAP_SITE} \
d57 1
a57 1
SUB_LIST=	DISTNAME=${DISTNAME} APPVERSION=${PORTVERSION:S/.//} AMD64=${AMD64}
d65 2
a66 1
	@@${CP} ${DISTDIR}/${DISTNAME} ${WRKDIR}
d72 3
a74 1
	${INSTALL_PROGRAM} -o ${BOINC_USER} -g ${BOINC_GROUP} ${WRKDIR}/${SIMAP_BINARY} ${BOINC_HOME}/projects/${SIMAP_SITE}
@


1.3
log
@- Provide SSE optimized application as an option
@
text
@d8 1
a8 1
PORTVERSION=	5.08
d11 1
a11 1
DISTNAME=	simap_${PORTVERSION}_${MACH}-pc-freebsd_dyn
@


1.2
log
@- Instruct amd64 users to libmap libpthread.so.2 to libc_r.so.6
@
text
@d11 1
a11 1
DISTNAME=	simap_${PORTVERSION}_i386-pc-freebsd_dyn
d37 2
d41 6
@


1.1
log
@SIMAP (Similarity Matrix of Proteins) is a public database of pre-calculated
protein similarities that plays a key role in many bioinformatics methods. It
contains about all currently published protein sequences and is continuously
updated.

The computational effort for keeping SIMAP up-to-date is constantly increasing.
Please help to update SIMAP by calculating protein similarities on your
computer.

WWW: http://boinc.bio.wzw.tum.de/boincsimap/
@
text
@d35 1
a35 2
SUB_FILES=	app_info.xml
SUB_LIST=	DISTNAME=${DISTNAME} APPVERSION=${PORTVERSION:S/.//}
d39 8
a46 1
ONLY_FOR_ARCHS=	i386 amd64
@

