Changeset View
Changeset View
Standalone View
Standalone View
head/astro/boinc-setiathome-v7/Makefile
Show All 39 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 | |||||
.if ${ARCH} == i386 || ${ARCH} == amd64 | .if ${ARCH} == i386 || ${ARCH} == amd64 | ||||
# comment out if world is built with clang and port with gcc | # comment out if world is built with clang and port with gcc | ||||
CFLAGS+= -mtune=native | CFLAGS+= -mtune=native | ||||
.endif | .endif | ||||
.if !empty(MACHINE_CPU:Maltivec) | .if !empty(MACHINE_CPU:Maltivec) | ||||
CONFIGURE_ARGS+= --enable-altivec | CONFIGURE_ARGS+= --enable-altivec | ||||
.endif | .endif | ||||
Show All 34 Lines | |||||
pre-configure: | pre-configure: | ||||
(cd ${WRKSRC} ; ./_autosetup) | (cd ${WRKSRC} ; ./_autosetup) | ||||
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}/client/${SETI_BINARY} \ | ${INSTALL_PROGRAM} ${WRKSRC}/client/${SETI_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}/client/seti_graphics \ | ${INSTALL_PROGRAM} ${WRKSRC}/client/seti_graphics \ | ||||
${STAGEDIR}${BOINC_CLIENT_HOME}/projects/${SETI_SITE}/ | ${STAGEDIR}${BOINC_CLIENT_HOME}/projects/${SETI_SITE}/ | ||||
.endif | |||||
.include <bsd.port.mk> | .include <bsd.port.mk> |