2006-10-29 12:23:06 +01:00
|
|
|
# $NetBSD: Makefile,v 1.4 2006/10/29 11:23:06 shattered Exp $
|
|
|
|
|
2006-06-18 18:51:41 +02:00
|
|
|
DISTNAME= boinc
|
|
|
|
PKGNAME= boinc-client-1
|
2006-10-29 12:23:06 +01:00
|
|
|
CATEGORIES= net
|
2006-06-18 18:51:41 +02:00
|
|
|
|
|
|
|
COMMENT= The BOINC distributed computing application
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
USE_TOOLS+= automake m4 pkg-config gmake
|
2006-10-29 09:32:37 +01:00
|
|
|
USE_LANGUAGES= c c++
|
2006-06-18 18:51:41 +02:00
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --disable-server
|
|
|
|
BUILD_DIRS= client
|
|
|
|
SHLIBTOOL_OVERRIDE= m4/libtool.m4
|
|
|
|
|
|
|
|
.include "../../wip/boinc-lib/Makefile.common"
|
|
|
|
|
|
|
|
CVS_REPOSITORIES= boinc
|
|
|
|
|
|
|
|
FILESDIR= files
|
|
|
|
FILES_SUBST+= BOINC_USER=${BOINC_USER:Q}
|
|
|
|
FILES_SUBST+= BOINC_GROUP=${BOINC_GROUP:Q}
|
|
|
|
FILES_SUBST+= BOINC_DIR=${BOINC_DIR:Q}
|
|
|
|
PKG_GROUPS= ${BOINC_GROUP}
|
|
|
|
PKG_USERS= ${BOINC_USER}:${BOINC_GROUP}
|
|
|
|
PKG_HOME.${BOINC_USER}= ${BOINC_DIR}
|
|
|
|
PKG_SHELL.${BOINC_USER}= ${SH}
|
|
|
|
RCD_SCRIPTS= boinc
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
cd ${WRKSRC} && \
|
|
|
|
aclocal -I m4 && autoheader && \
|
|
|
|
automake && autoconf
|
|
|
|
|
2006-07-07 21:03:14 +02:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/rc.d
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/boinc.sh ${PREFIX}/share/examples/rc.d/boinc
|
|
|
|
|
2006-06-18 18:51:41 +02:00
|
|
|
.include "../../www/curl/buildlink3.mk"
|
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mgui)
|
|
|
|
BUILD_DIRS+= clientgui
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include "../../wip/boinc-lib/buildlink3.mk"
|
|
|
|
.include "../../wip/mk/cvs-package.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|