Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Nov 2013 18:01:02 +0000 (UTC)
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333251 - head/net/boinc-client
Message-ID:  <201311081801.rA8I12aj089238@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rene
Date: Fri Nov  8 18:01:01 2013
New Revision: 333251
URL: http://svnweb.freebsd.org/changeset/ports/333251

Log:
  Add stage support

Modified:
  head/net/boinc-client/Makefile

Modified: head/net/boinc-client/Makefile
==============================================================================
--- head/net/boinc-client/Makefile	Fri Nov  8 17:49:33 2013	(r333250)
+++ head/net/boinc-client/Makefile	Fri Nov  8 18:01:01 2013	(r333251)
@@ -52,7 +52,6 @@ SCRIPT_DESC=		Command line options in sc
 NO_GUI_RPC_DESC=	Do not allow GUI RPC, do not make socket (breaks boinc_curses)
 NO_NET_INFO_DESC=	Do not send host address and name to servers
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 #.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
@@ -163,36 +162,35 @@ post-configure:
 .endif
 
 post-install:
-	@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
 .if ${PORT_OPTIONS:MMANAGER} || ${PORT_OPTIONS:MX11}
-	${MKDIR} ${PREFIX}/share/boinc
+	${MKDIR} ${STAGEDIR}${PREFIX}/share/boinc
 .endif
 .if ${PORT_OPTIONS:MMANAGER}
 . for name in 16 32 48
 	${INSTALL_DATA} ${WRKSRC}/clientgui/res/boincmgr.${name}x${name}.png \
-	    ${PREFIX}/share/pixmaps
+	    ${STAGEDIR}${PREFIX}/share/pixmaps
 . endfor
 . if ${PORT_OPTIONS:MSKINS}
 	(cd ${WRKSRC}/clientgui && \
-	${COPYTREE_SHARE} skins ${PREFIX}/share/boinc/ )
+	${COPYTREE_SHARE} skins ${STAGEDIR}${PREFIX}/share/boinc/ )
 . else
-	${MKDIR} ${PREFIX}/share/boinc/skins
+	${MKDIR} ${STAGEDIR}${PREFIX}/share/boinc/skins
 	(cd ${WRKSRC}/clientgui/skins && \
-	${COPYTREE_SHARE} Default ${PREFIX}/share/boinc/skins/ )
+	${COPYTREE_SHARE} Default ${STAGEDIR}${PREFIX}/share/boinc/skins/ )
 . endif
 .endif
 . for name in config.h project_specific_defines.h api/reduce.h lib/shmem.h \
 	lib/std_fixes.h
-	${INSTALL_DATA} ${WRKSRC}/${name} ${PREFIX}/include/boinc
+	${INSTALL_DATA} ${WRKSRC}/${name} ${STAGEDIR}${PREFIX}/include/boinc
 . endfor
 .if ${PORT_OPTIONS:MX11}
 . for name in api/boinc_gl.h api/graphics_api.h api/graphics_data.h \
 	api/ttfont.h
-	${INSTALL_DATA} ${WRKSRC}/${name} ${PREFIX}/include/boinc
+	${INSTALL_DATA} ${WRKSRC}/${name} ${STAGEDIR}${PREFIX}/include/boinc
 . endfor
-	${MKDIR} ${PREFIX}/share/boinc/ttf
+	${MKDIR} ${STAGEDIR}${PREFIX}/share/boinc/ttf
 	(cd ${WRKSRC}/api/ttf/liberation-fonts-ttf-2.00.0 && \
-	    ${COPYTREE_SHARE} \*.ttf ${PREFIX}/share/boinc/ttf/ )
+	    ${COPYTREE_SHARE} \*.ttf ${STAGEDIR}${PREFIX}/share/boinc/ttf/ )
 .endif
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311081801.rA8I12aj089238>