diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
commit | 3b0d97b0de8516db29699676c860489da3f7f0e1 (patch) | |
tree | bb388f6b2532587595653e67cce25229ed050cb8 /net/boinc3-libs | |
parent | 10abca39942a8f34d088f39ccc073fee44271274 (diff) | |
download | pkgsrc-3b0d97b0de8516db29699676c860489da3f7f0e1.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'net/boinc3-libs')
-rw-r--r-- | net/boinc3-libs/Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/net/boinc3-libs/Makefile b/net/boinc3-libs/Makefile index d727b6ba9be..50339618c73 100644 --- a/net/boinc3-libs/Makefile +++ b/net/boinc3-libs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2006/06/01 22:07:02 joerg Exp $ +# $NetBSD: Makefile,v 1.5 2008/06/20 01:09:29 joerg Exp $ # #DISTNAME= boinc-3.07 @@ -13,6 +13,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://boinc.berkeley.edu/ COMMENT= Libraries for BOINC applications +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/boinc_public PATCHDIR= ${.CURDIR}/../../net/boinc3-coreclient/patches DISTINFO_FILE= ${.CURDIR}/../../net/boinc3-coreclient/distinfo @@ -24,17 +26,17 @@ USE_LANGUAGES= c c++ BUILDDIRS= RSAEuro lib api +INSTALLATION_DIRS= boinc3/lib boinc3/api + do-build: cd ${WRKSRC}; for d in ${BUILDDIRS}; do \ (cd $$d && ${SETENV} ${MAKE_ENV} ${MAKE}); \ done do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/boinc3/lib - ${CP} ${WRKSRC}/lib/*.h ${PREFIX}/boinc3/lib - ${INSTALL_DATA} ${WRKSRC}/lib/libboinc.a ${PREFIX}/boinc3/lib - ${INSTALL_DATA_DIR} ${PREFIX}/boinc3/api - ${CP} ${WRKSRC}/api/*.h ${PREFIX}/boinc3/api - ${INSTALL_DATA} ${WRKSRC}/api/libboinc_api.a ${PREFIX}/boinc3/api + ${CP} ${WRKSRC}/lib/*.h ${DESTDIR}${PREFIX}/boinc3/lib + ${INSTALL_DATA} ${WRKSRC}/lib/libboinc.a ${DESTDIR}${PREFIX}/boinc3/lib + ${CP} ${WRKSRC}/api/*.h ${DESTDIR}${PREFIX}/boinc3/api + ${INSTALL_DATA} ${WRKSRC}/api/libboinc_api.a ${DESTDIR}${PREFIX}/boinc3/api .include "../../mk/bsd.pkg.mk" |