aboutsummaryrefslogtreecommitdiff
path: root/astro/boinc-setiathome-enhanced
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2013-09-23 20:32:22 +0000
committerRene Ladan <rene@FreeBSD.org>2013-09-23 20:32:22 +0000
commitc1f5207fff3feab4625bc03001f23361c9030d20 (patch)
tree762b0ed78189c3ed907566cac9418a42de4feacc /astro/boinc-setiathome-enhanced
parent0468060bc6d0d1b707177f1746233979ed9fe7c1 (diff)
downloadports-c1f5207fff3feab4625bc03001f23361c9030d20.tar.gz
ports-c1f5207fff3feab4625bc03001f23361c9030d20.zip
- Add staging support (tested with 'make makeplist')
- Convert an optional LIB_DEPENDS to the new syntax - Wrap some long lines
Notes
Notes: svn path=/head/; revision=328046
Diffstat (limited to 'astro/boinc-setiathome-enhanced')
-rw-r--r--astro/boinc-setiathome-enhanced/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/astro/boinc-setiathome-enhanced/Makefile b/astro/boinc-setiathome-enhanced/Makefile
index 141fd589627f..3bb094b4446a 100644
--- a/astro/boinc-setiathome-enhanced/Makefile
+++ b/astro/boinc-setiathome-enhanced/Makefile
@@ -20,7 +20,6 @@ BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:${PORTSDIR}/math/fftw3
RUN_DEPENDS= boinc_client:${PORTSDIR}/net/boinc-client
LIB_DEPENDS= libfftw3f.so:${PORTSDIR}/math/fftw3-float
-NO_STAGE= yes
USES= gmake pkgconfig
USE_XZ= yes
USE_AUTOTOOLS= autoconf:env automake:env
@@ -45,7 +44,7 @@ X11_DESC= Build screensaver (requires net/boinc-client with X11)
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MX11}
-LIB_DEPENDS+= jpeg:${PORTSDIR}/graphics/jpeg
+LIB_DEPENDS+= libjpeg.so:${PORTSDIR}/graphics/jpeg
USE_GL= gl glu glut
USE_XORG= ice sm x11 xau xcb xext xi xdamage xdmcp xfixes xmu xt xxf86vm
BUILD_DEPENDS+= ${LOCALBASE}/lib/libboinc_graphics2.a:${PORTSDIR}/net/boinc-client
@@ -100,18 +99,20 @@ pre-configure:
(cd ${WRKSRC} ; ./_autosetup)
do-install:
- ${INSTALL} -d -o ${BOINC_CLIENT_USER} -g ${BOINC_CLIENT_GROUP} ${BOINC_CLIENT_HOME}/projects
${INSTALL} -d -o ${BOINC_CLIENT_USER} -g ${BOINC_CLIENT_GROUP} \
- ${BOINC_CLIENT_HOME}/projects/${SETI_SITE}
+ ${STAGEDIR}${BOINC_CLIENT_HOME}/projects
+ ${INSTALL} -d -o ${BOINC_CLIENT_USER} -g ${BOINC_CLIENT_GROUP} \
+ ${STAGEDIR}${BOINC_CLIENT_HOME}/projects/${SETI_SITE}
${INSTALL_PROGRAM} -o ${BOINC_CLIENT_USER} -g ${BOINC_CLIENT_GROUP} \
- ${WRKSRC}/client/${SETI_BINARY} ${BOINC_CLIENT_HOME}/projects/${SETI_SITE}/
+ ${WRKSRC}/client/${SETI_BINARY} \
+ ${STAGEDIR}${BOINC_CLIENT_HOME}/projects/${SETI_SITE}/
.if ${PORT_OPTIONS:MX11}
${INSTALL_PROGRAM} -o ${BOINC_CLIENT_USER} -g ${BOINC_CLIENT_GROUP} \
- ${WRKSRC}/client/seti_graphics ${BOINC_CLIENT_HOME}/projects/${SETI_SITE}/
+ ${WRKSRC}/client/seti_graphics \
+ ${STAGEDIR}${BOINC_CLIENT_HOME}/projects/${SETI_SITE}/
.endif
post-install:
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
- @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>