diff options
Diffstat (limited to 'net/entropy/Makefile')
-rw-r--r-- | net/entropy/Makefile | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/net/entropy/Makefile b/net/entropy/Makefile index eeea23d9d1e..5d24d7369a8 100644 --- a/net/entropy/Makefile +++ b/net/entropy/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.26 2007/03/19 16:40:28 tv Exp $ +# $NetBSD: Makefile,v 1.27 2010/02/11 20:53:53 joerg Exp $ # DISTNAME= entropy_rsa-${ENTROPY_VERSION} @@ -13,6 +13,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://entropy.stop1984.com/ COMMENT= Anonymous peer-to-peer networking node (similar to Freenet) +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= yes USE_TOOLS+= autoconf gmake @@ -21,24 +23,21 @@ ENTROPY_VERSION= 0.9.1-439 CONFIGURE_ARGS+= --enable-setproctitle --enable-verbose --disable-posix-sem LIBS+= -L${BUILDLINK_PREFIX.zlib}/lib -lz -L${BUILDLINK_PREFIX.expat}/lib -lexpat -INSTALLATION_DIRS= bin +INSTALLATION_DIRS= bin share/doc/entropy share/examples/entropy/de \ + share/examples/entropy/node post-patch: ${SED} -e '/^# /!s/^#//' <${WRKSRC}/seed.txt-dist >${WRKSRC}/seed.txt do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/entropy_rsa ${PREFIX}/bin/entropy - ${INSTALL_PROGRAM} ${WRKSRC}/monoopt ${PREFIX}/bin/entropy-monoopt - ${INSTALL_PROGRAM} ${WRKSRC}/storechg ${PREFIX}/bin/entropy-storechg - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/entropy - ${INSTALL_DATA} ${WRKSRC}/[ERT]* ${PREFIX}/share/doc/entropy/ - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/entropy - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/entropy/de - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/entropy/node - ${INSTALL_DATA} ${WRKSRC}/entropy_rsa.conf-dist ${PREFIX}/share/examples/entropy/entropy.conf - ${INSTALL_DATA} ${WRKSRC}/seed.txt ${PREFIX}/share/examples/entropy/ - ${INSTALL_DATA} ${WRKSRC}/de/entropy_rsa.lo ${PREFIX}/share/examples/entropy/de/entropy.lo - ${INSTALL_DATA} ${WRKSRC}/node/[0-9a-z]* ${PREFIX}/share/examples/entropy/node/ + ${INSTALL_PROGRAM} ${WRKSRC}/entropy_rsa ${DESTDIR}${PREFIX}/bin/entropy + ${INSTALL_PROGRAM} ${WRKSRC}/monoopt ${DESTDIR}${PREFIX}/bin/entropy-monoopt + ${INSTALL_PROGRAM} ${WRKSRC}/storechg ${DESTDIR}${PREFIX}/bin/entropy-storechg + ${INSTALL_DATA} ${WRKSRC}/[ERT]* ${DESTDIR}${PREFIX}/share/doc/entropy/ + ${INSTALL_DATA} ${WRKSRC}/entropy_rsa.conf-dist ${DESTDIR}${PREFIX}/share/examples/entropy/entropy.conf + ${INSTALL_DATA} ${WRKSRC}/seed.txt ${DESTDIR}${PREFIX}/share/examples/entropy/ + ${INSTALL_DATA} ${WRKSRC}/de/entropy_rsa.lo ${DESTDIR}${PREFIX}/share/examples/entropy/de/entropy.lo + ${INSTALL_DATA} ${WRKSRC}/node/[0-9a-z]* ${DESTDIR}${PREFIX}/share/examples/entropy/node/ .include "../../mk/bsd.prefs.mk" |