blob: c3de64b66c9abb3dd9c4f8ba028dd64c5b0d2ede (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# $NetBSD: Makefile,v 1.9 2006/03/04 21:30:17 jlam Exp $
#
DISTNAME= seti_boinc-client-cvs-2004-07-15
PKGNAME= boinc3-seti-20040715
PKGREVISION= 3
CATEGORIES= net
MASTER_SITES= http://boinc.berkeley.edu/seti_source/nightly/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://setiweb.ssl.berkeley.edu/
COMMENT= SETI@home client for the BOINC framework
WRKSRC= ${WRKDIR}/seti_boinc
GNU_CONFIGURE= yes
CONFIGURE_ENV+= BOINCDIR=${BUILDLINK_DIR}/boinc3
# XXX don't know why MySQL is needed here
#CONFIGURE_ENV+= MYSQL_CONFIG=true
USE_TOOLS+= gmake
CLIENTBINNAME= setiathome-3.10.${MACHINE_GNU_PLATFORM}
CLIENTVERSION= 310
PLIST_SUBST+= CLIENTBINNAME=${CLIENTBINNAME:Q}
APPINFO_SED= -e "s|@CLIENTBINNAME@|${CLIENTBINNAME}|g"
APPINFO_SED+= -e "s|@CLIENTVERSION@|${CLIENTVERSION}|g"
# XXX hack: boinc-lib detection code is too stupid...
pre-configure:
${TOUCH} ${BUILDLINK_DIR}/boinc3/Makefile.am
SBDIR= ${PREFIX}/lib/boinc3-seti
do-install:
${INSTALL_DATA_DIR} ${SBDIR}
${INSTALL_PROGRAM} ${WRKSRC}/client/${CLIENTBINNAME} ${SBDIR}
${SED} ${APPINFO_SED} <${FILESDIR}/app_info.xml \
>${WRKDIR}/app_info.xml
${INSTALL_DATA} ${WRKDIR}/app_info.xml ${SBDIR}
.include "../../net/boinc3-libs/buildlink3.mk"
.include "../../mk/mysql.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|