Changeset View
Changeset View
Standalone View
Standalone View
head/astro/boinc-astropulse/Makefile
Show All 36 Lines | |||||
OPTIONS_SUB= yes | OPTIONS_SUB= yes | ||||
X11_BUILD_DEPENDS= ${LOCALBASE}/lib/libboinc_graphics2.a:${PORTSDIR}/net/boinc-client | X11_BUILD_DEPENDS= ${LOCALBASE}/lib/libboinc_graphics2.a:${PORTSDIR}/net/boinc-client | ||||
X11_USES= jpeg | X11_USES= jpeg | ||||
X11_USE= GL=gl,glu,glut \ | X11_USE= GL=gl,glu,glut \ | ||||
XORG=ice,sm,x11,xau,xcb,xext,xi,xdamage,xdmcp,xfixes,xmu,xt,xxf86vm | XORG=ice,sm,x11,xau,xcb,xext,xi,xdamage,xdmcp,xfixes,xmu,xt,xxf86vm | ||||
X11_CONFIGURE_ENABLE= graphics | X11_CONFIGURE_ENABLE= graphics | ||||
.include <bsd.port.options.mk> | X11_BUILD_DEPENDS_OFF= ${LOCALBASE}/include/boinc/std_fixes.h:${PORTSDIR}/net/boinc-client | ||||
.if ! ${PORT_OPTIONS:MX11} | |||||
BUILD_DEPENDS+= ${LOCALBASE}/include/boinc/std_fixes.h:${PORTSDIR}/net/boinc-client | |||||
.endif | |||||
SETI_WORK!= cd ${.CURDIR}/../boinc-setiathome-v7 && ${MAKE} -V WRKSRC | SETI_WORK!= cd ${.CURDIR}/../boinc-setiathome-v7 && ${MAKE} -V WRKSRC | ||||
CONFIGURE_ENV+= BOINCDIR="${NONEXISTENT}" \ | CONFIGURE_ENV+= BOINCDIR="${NONEXISTENT}" \ | ||||
BOINC_DIR="${NONEXISTENT}" \ | BOINC_DIR="${NONEXISTENT}" \ | ||||
SETI_BOINC_DIR="${SETI_WORK}" | SETI_BOINC_DIR="${SETI_WORK}" | ||||
CONFIGURE_ARGS+= --disable-static-client \ | CONFIGURE_ARGS+= --disable-static-client \ | ||||
--with-boinc-platform=${ARCH}-portbld-freebsd | --with-boinc-platform=${ARCH}-portbld-freebsd | ||||
SETI_SITE= setiathome.berkeley.edu | SETI_SITE= setiathome.berkeley.edu | ||||
Show All 12 Lines | PLIST_SUB+= AP_BINARY=${AP_BINARY} \ | ||||
BOINC_CLIENT_USER=${BOINC_CLIENT_USER} \ | BOINC_CLIENT_USER=${BOINC_CLIENT_USER} \ | ||||
BOINC_CLIENT_GROUP=${BOINC_CLIENT_GROUP} | BOINC_CLIENT_GROUP=${BOINC_CLIENT_GROUP} | ||||
do-install: | do-install: | ||||
${INSTALL} -d ${STAGEDIR}${BOINC_CLIENT_HOME}/projects | ${INSTALL} -d ${STAGEDIR}${BOINC_CLIENT_HOME}/projects | ||||
${INSTALL} -d ${STAGEDIR}${BOINC_CLIENT_HOME}/projects/${SETI_SITE} | ${INSTALL} -d ${STAGEDIR}${BOINC_CLIENT_HOME}/projects/${SETI_SITE} | ||||
${INSTALL_PROGRAM} ${WRKSRC}/${AP_BINARY} \ | ${INSTALL_PROGRAM} ${WRKSRC}/${AP_BINARY} \ | ||||
${STAGEDIR}${BOINC_CLIENT_HOME}/projects/${SETI_SITE}/ | ${STAGEDIR}${BOINC_CLIENT_HOME}/projects/${SETI_SITE}/ | ||||
.if ${PORT_OPTIONS:MX11} | do-install-X11-on: | ||||
${INSTALL_PROGRAM} ${WRKSRC}/ap_graphics \ | ${INSTALL_PROGRAM} ${WRKSRC}/ap_graphics \ | ||||
${STAGEDIR}${BOINC_CLIENT_HOME}/projects/${SETI_SITE}/ | ${STAGEDIR}${BOINC_CLIENT_HOME}/projects/${SETI_SITE}/ | ||||
.endif | |||||
.include <bsd.port.mk> | .include <bsd.port.mk> |