View | Details | Raw Unified | Return to bug 101022
Collapse All | Expand All

(-)/usr/home/rene/ports/boinc-setiathome-enhanced/Makefile (-26 / +39 lines)
Lines 5-33 Link Here
5
#
5
#
6
6
7
PORTNAME=	boinc-setiathome-enhanced
7
PORTNAME=	boinc-setiathome-enhanced
8
PORTVERSION=	5.12
8
PORTVERSION=	5.13
9
CATEGORIES=	astro
9
CATEGORIES=	astro
10
MASTER_SITES=	http://www.lb.shuttle.de/apastron/boinc/
10
MASTER_SITES=	http://home.tiscali.nl/rladan/distfiles/
11
DISTNAME=	seti${PORTVERSION}freebsd-i386
12
11
13
MAINTAINER=	r.c.ladan@gmail.com
12
MAINTAINER=	r.c.ladan@gmail.com
14
COMMENT=	Setiathome Enhanced for BOINC
13
COMMENT=	Setiathome Enhanced for BOINC
15
14
16
USE_BZIP2=	yes
15
BUILD_DEPENDS=	${LOCALBASE}/include/fftw3.h:${PORTSDIR}/math/fftw3 \
16
		${LOCALBASE}/include/BOINC/std_fixes.h:${PORTSDIR}/net/boinc-client
17
# statically linked :
18
LIB_DEPENDS=	fftw3f:${PORTSDIR}/math/fftw3-float
19
RUN_DEPENDS=	boinc_client:${PORTSDIR}/net/boinc-client
20
21
CFLAGS+=	-I${LOCALBASE}/include -funroll-loops -ffast-math -O3
22
CXXFLAGS+=	${CFLAGS}
23
GNU_CONFIGURE=	yes
24
CONFIGURE_ENV=	CFLAGS="${CFLAGS}" \
25
		CXXFLAGS="${CXXFLAGS}" \
26
		BOINCDIR="${LOCALBASE}"
27
CONFIGURE_ARGS=	--disable-server \
28
		--disable-graphics \
29
		--enable-fast-math
17
30
18
.include <bsd.port.pre.mk>
31
.include <bsd.port.pre.mk>
19
32
20
ONLY_FOR_ARCHS=	i386 amd64
33
.if ${MACHINE_CPU:Msse3}
21
34
CONFIGURE_ARGS+=	--enable-sse3
22
.if ${OSVERSION} >= 600000
35
.elif ${MACHINE_CPU:Msse2}
23
LIB_DEPENDS+=	c.5:${PORTSDIR}/misc/compat5x
36
CONFIGURE_ARGS+=	--enable-sse2
24
#also depends on libm.so.3, libstdc++.so.4, libpthread.so.1
37
.elif ${MACHINE_CPU:Msse}
38
CONFIGURE_ARGS+=	--enable-sse
25
.endif
39
.endif
26
40
27
RUN_DEPENDS+=	boinc_client:${PORTSDIR}/net/boinc-client
41
.if ${MACHINE_CPU:Mmmx}
42
CONFIGURE_ARGS+=	--enable-mmx
43
.endif
28
44
29
NO_BUILD=	yes
45
.ifdef ${MACHINE_CPU:M3dnow}
30
NO_WRKSUBDIR=	yes
46
CONFIGURE_ARGS+=	--enable-3dnow
47
.endif
31
48
32
# these must match settings in ${PORTSDIR}/net/boinc-client/Makefile
49
# these must match settings in ${PORTSDIR}/net/boinc-client/Makefile
33
BOINC_USER?=	boinc
50
BOINC_USER?=	boinc
Lines 35-63 Link Here
35
BOINC_HOME?=	/var/db/boinc
52
BOINC_HOME?=	/var/db/boinc
36
53
37
SETI_SITE=	setiathome.berkeley.edu
54
SETI_SITE=	setiathome.berkeley.edu
38
SETI_BINARY=	setiathome-${PORTVERSION}.i386-unknown-freebsd
55
SETI_BINARY=	setiathome-${PORTVERSION}.${ARCH}-portbld-freebsd
39
40
.if ${ARCH} == amd64 && ${OSVERSION} >= 600000
41
AMD64=		""
42
.else
43
AMD64=		"@comment "
44
.endif
45
56
46
SUB_FILES=	pkg-message
57
SUB_FILES=	app_info.xml
47
SUB_LIST=	AMD64=${AMD64}
58
SUB_LIST=	STRIPPED_PORTVERSION=${PORTVERSION:S/.//} \
59
		SETI_BINARY="${SETI_BINARY}"
48
60
49
PLIST_SUB=	SETI_BINARY="${SETI_BINARY}" SETI_SITE=${SETI_SITE} \
61
PLIST_SUB=	SETI_BINARY="${SETI_BINARY}" SETI_SITE=${SETI_SITE} \
50
		BOINC_HOME=${BOINC_HOME}
62
		BOINC_HOME=${BOINC_HOME}
51
63
64
PORTDOCS=	AUTHORS COPYING COPYRIGHT README checkin_notes
52
do-install:
65
do-install:
53
	${INSTALL} -d -o ${BOINC_USER} -g ${BOINC_GROUP} ${BOINC_HOME}/projects
66
	${INSTALL} -d -o ${BOINC_USER} -g ${BOINC_GROUP} ${BOINC_HOME}/projects
54
	${INSTALL} -d -o ${BOINC_USER} -g ${BOINC_GROUP} ${BOINC_HOME}/projects/${SETI_SITE}$
67
	${INSTALL} -d -o ${BOINC_USER} -g ${BOINC_GROUP} ${BOINC_HOME}/projects/${SETI_SITE}
55
	${INSTALL_PROGRAM} -o ${BOINC_USER} -g ${BOINC_GROUP} ${WRKDIR}/${SETI_BINARY} ${BOINC_HOME}/projects/${SETI_SITE}/
68
	${INSTALL_PROGRAM} -o ${BOINC_USER} -g ${BOINC_GROUP} ${WRKSRC}/client/${SETI_BINARY} ${BOINC_HOME}/projects/${SETI_SITE}/
56
	${INSTALL_DATA} -o ${BOINC_USER} -g ${BOINC_GROUP} ${WRKDIR}/app_info.xml ${BOINC_HOME}/projects/${SETI_SITE}/
69
	${INSTALL_DATA} -o ${BOINC_USER} -g ${BOINC_GROUP} ${WRKDIR}/app_info.xml ${BOINC_HOME}/projects/${SETI_SITE}/
57
.if !defined(NOPORTDOCS)
70
.ifndef NOPORTDOCS
58
	@${MKDIR} ${DOCSDIR}
71
	@${MKDIR} ${DOCSDIR}
59
.for file in AUTHORS CHANGES COPYING COPYRIGHT README
72
.for file in ${PORTDOCS}
60
	${INSTALL_DATA} ${WRKDIR}/${file} ${DOCSDIR}/${file}
73
	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}/${file}
61
.endfor
74
.endfor
62
.endif
75
.endif
63
76
(-)/usr/home/rene/ports/boinc-setiathome-enhanced/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (seti5.12freebsd-i386.tar.bz2) = f15959f52b11305e330c28484281da51
1
MD5 (boinc-setiathome-enhanced-5.13.tar.gz) = 15cbcce330cddf418573adf0f7cfc649
2
SHA256 (seti5.12freebsd-i386.tar.bz2) = d4813a3796da6b5dd5ac3c22bde3a75f438e68430e7ef81537c22e2cba4458a8
2
SHA256 (boinc-setiathome-enhanced-5.13.tar.gz) = 86877601e21e0567a4266a6c8014606b9853a7336d9efc1255c8f25f5b7fe951
3
SIZE (seti5.12freebsd-i386.tar.bz2) = 456053
3
SIZE (boinc-setiathome-enhanced-5.13.tar.gz) = 777562
(-)/usr/home/rene/ports/boinc-setiathome-enhanced/files/app_info.xml.in (+17 lines)
Line 0 Link Here
1
<app_info>
2
    <app>
3
        <name>setiathome_enhanced</name>
4
    </app>
5
    <file_info>
6
        <name>${SETI_BINARY}</name>
7
        <executable/>
8
    </file_info>
9
    <app_version>
10
        <app_name>setiathome_enhanced</app_name>
11
        <version_num>${STRIPPED_PORTVERSION}</version_num>
12
        <file_ref>
13
            <file_name>${SETI_BINARY}</file_name>
14
            <main_program/>
15
        </file_ref>
16
    </app_version>
17
</app_info>
(-)/usr/home/rene/ports/boinc-setiathome-enhanced/files/pkg-message.in (-22 lines)
Lines 1-22 Link Here
1
*****************************************************************************
2
ATTACHING PROJECT
3
4
Just run boinc_gui, choose Attach, and follow instructions.
5
Project URL is setiathome.berkeley.edu
6
7
MANUAL INSTALLATION
8
 *) If this is your first time in any BOINC project, create a new account at
9
    http://setiathome.berkeley.edu/create_account_form.php
10
11
 *) Or get your account key at http://setiathome.berkeley.edu/get_passwd.php
12
13
 *) Attach to the project:
14
    cd /var/db/boinc
15
    boinc_cmd --project_attach setiathome.berkeley.edu <account key>
16
*****************************************************************************
17
%%AMD64%%  IMPORTANT NOTICE FOR AMD64 USERS RUNNING 6.X:
18
%%AMD64%%
19
%%AMD64%% You have to have this line in /etc/libmap32.conf:
20
%%AMD64%%   libpthread.so.1	libc_r.so.5
21
%%AMD64%% before you attach the project.  Otherwise it will not work.
22
%%AMD64%%*****************************************************************************
(-)/usr/home/rene/ports/boinc-setiathome-enhanced/pkg-descr (-5 / +14 lines)
Lines 1-10 Link Here
1
SETI - Search for Extra-Terrestrial Intelligence -- Enhanced version
1
SETI - Search for Extra-Terrestrial Intelligence -- Enhanced version
2
2
3
Use your unused CPU cycles to aid in computations analyzing radio
3
Use your unused CPU cycles to aid in computations analyzing radio
4
telescope information for possible signs of ET.  The project exclusively
4
telescope information for possible signs of extra-terrestrial intelligence.
5
uses the enhanced version as of 2006-05-17.
5
The project exclusively uses the enhanced version since 2006-05-17.
6
6
7
This version is a FreeBSD binary built by Stefan Urbat for Pentium II
7
The port automatically optimizes for the host CPU using the CPUTYPE
8
or AMD K6 CPUs and higher (requires MMX instructions). 
8
variable in /etc/make.conf
9
9
10
WWW: http://www.lb.shuttle.de/apastron/boincDown.shtml#freebsd
10
Note that there is currently no screensaver support in this version.
11
12
The source archive is a repackaged version of
13
setiathome_enhanced-client-cvs-2006-05-12.tar.gz at
14
http://setiathome.berkeley.edu/seti_source/nightly/old/ :
15
* The screensaver and server code is removed
16
* The configure and Makefile scripts are regenerated to match the
17
  net/boinc-client port
18
19
WWW: http://home.tiscali.nl/rladan/distfiles/
(-)/usr/home/rene/ports/boinc-setiathome-enhanced/pkg-message (+16 lines)
Line 0 Link Here
1
*****************************************************************************
2
ATTACHING PROJECT
3
4
Just run boinc_gui, choose Attach, and follow instructions.
5
Project URL is setiathome.berkeley.edu
6
7
MANUAL INSTALLATION
8
 *) If this is your first time in any BOINC project, create a new account at
9
    http://setiathome.berkeley.edu/create_account_form.php
10
11
 *) Or get your account key at http://setiathome.berkeley.edu/get_passwd.php
12
13
 *) Attach to the project:
14
    cd /var/db/boinc
15
    boinc_cmd --project_attach setiathome.berkeley.edu <account key>
16
*****************************************************************************
(-)/usr/home/rene/ports/boinc-setiathome-enhanced/pkg-plist (-6 lines)
Lines 1-9 Link Here
1
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
2
%%PORTDOCS%%%%DOCSDIR%%/CHANGES
3
%%PORTDOCS%%%%DOCSDIR%%/COPYING
4
%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT
5
%%PORTDOCS%%%%DOCSDIR%%/README
6
%%PORTDOCS%%@dirrm %%DOCSDIR%%
7
@cwd %%BOINC_HOME%%/projects
1
@cwd %%BOINC_HOME%%/projects
8
%%SETI_SITE%%/app_info.xml
2
%%SETI_SITE%%/app_info.xml
9
%%SETI_SITE%%/%%SETI_BINARY%%
3
%%SETI_SITE%%/%%SETI_BINARY%%

Return to bug 101022