Index: head/net-p2p/zetacoin/Makefile =================================================================== --- head/net-p2p/zetacoin/Makefile (revision 392224) +++ head/net-p2p/zetacoin/Makefile (revision 392225) @@ -1,112 +1,113 @@ # Created by: Daniel Morante # $FreeBSD$ PORTNAME= zetacoin PORTVERSION= 0.9.2.4 CATEGORIES= net-p2p finance MAINTAINER= daniel@morante.net COMMENT= Peer-to-Peer crypto currency with quick transactions LICENSE= MIT BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconf LIB_DEPENDS= libboost_date_time.so:${PORTSDIR}/devel/boost-libs USE_GITHUB= yes GH_TAGNAME= 22ddb9b OPTIONS_DEFINE= X11 UPNP WALLET CLI TEST OPTIONS_SUB= yes WALLET_DESC= Build wallet or P2P server node only QRCODES_DESC= Enable QR code display when building graphical interface CLI_DESC= Build command line RPC client OPTIONS_DEFAULT= X11 WALLET QRCODES OPTIONS_GROUP= X11 OPTIONS_GROUP_X11= QRCODES UPNP_CONFIGURE_WITH= miniupnpc UPNP_LIB_DEPENDS= libminiupnpc.so:${PORTSDIR}/net/miniupnpc X11_CONFIGURE_WITH= gui X11_CONFIGURE_ON= --without-daemon X11_CONFIGURE_OFF= --with-daemon X11_BUILD_DEPENDS= protoc:${PORTSDIR}/devel/protobuf -X11_USE= qt4=corelib,gui,qmake_build,linguist,uic,moc,rcc,qtestlib_build +X11_USE= qt4=corelib,network,gui,qmake_build,linguisttools_build \ + qt4=uic_build,moc_build,rcc_build,qtestlib_build X11_USES= desktop-file-utils WALLET_CONFIGURE_ENABLE= wallet WALLET_CXXFLAGS= -I${BDB_INCLUDE_DIR} -L${BDB_LIB_DIR} WALLET_USE= bdb=yes QRCODES_LIB_DEPENDS= libqrencode.so:${PORTSDIR}/graphics/libqrencode QRCODES_CONFIGURE_WITH= qrencode CLI_CONFIGURE_WITH= cli TEST_CONFIGURE_ENABLE= tests TEST_ALL_TARGET= check GNU_CONFIGURE= yes CONFIGURE_ENV= SSL_LIBS="-lssl" CRYPTO_LIBS="-lcrypto" SSL_CFLAGS="-I/usr/include" CRYPTO_CFLAGS="-I/usr/include" USES= autoreconf gmake USE_OPENSSL= yes WANT_BDB_VER= 48 CXXFLAGS+= -I${LOCALBASE}/include CXXFLAGS+= -L${LOCALBASE}/lib CXXFLAGS+= -Wno-invalid-offsetof QT_BINARY= ${PORTNAME}-qt CLI_BINARY= ${PORTNAME}-cli DAEMON= ${PORTNAME}d PLIST_SUB+= EXECUTABLE_QT=bin/${QT_BINARY} \ EXECUTABLE_CLI=bin/${CLI_BINARY} \ EXECUTABLE_DAEMON=bin/${DAEMON} \ PORTNAME=${PORTNAME} .include .if empty(PORT_OPTIONS:MX11) && !empty(PORT_OPTIONS:MQRCODES) BROKEN= QRCODES requires X11 support. Run 'make config' again! .endif # tests will currently fail .if ${PORT_OPTIONS:MTEST} BROKEN= automated testing fails .endif .if ! ${PORT_OPTIONS:MX11} USE_RC_SUBR= ${PORTNAME} SUB_LIST+= PORTNAME=${PORTNAME} SUB_FILES= pkg-message USERS= ${PORTNAME} GROUPS= ${PORTNAME} .endif post-patch: ${MKDIR} ${WRKSRC}/src/build-aux do-install: .if ${PORT_OPTIONS:MCLI} ${INSTALL_PROGRAM} -s ${WRKSRC}/src/${CLI_BINARY} ${STAGEDIR}${PREFIX}/bin/${CLI_BINARY} .endif .if ${PORT_OPTIONS:MX11} ${INSTALL_PROGRAM} -s ${WRKSRC}/src/qt/${QT_BINARY} ${STAGEDIR}${PREFIX}/bin/${QT_BINARY} ${REINPLACE_CMD} -e 's,=/usr,=${PREFIX},' \ -e 's,bitcoin,zetacoin,g' \ -e 's,Bitcoin,Zetacoin,g' \ -e 's,128,,g' ${WRKSRC}/contrib/debian/bitcoin-qt.desktop ${INSTALL} ${WRKSRC}/contrib/debian/bitcoin-qt.desktop ${STAGEDIR}${PREFIX}/share/applications/${PORTNAME}-qt.desktop ${INSTALL} ${WRKSRC}/src/qt/res/icons/bitcoin.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png .else ${INSTALL_PROGRAM} -s ${WRKSRC}/src/${DAEMON} ${STAGEDIR}${PREFIX}/bin/${DAEMON} ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.conf.sample ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample .endif .include Index: head/net-p2p/zetacoin/files/patch-qt_makefile_am_editSedCommands.patch =================================================================== --- head/net-p2p/zetacoin/files/patch-qt_makefile_am_editSedCommands.patch (revision 392224) +++ head/net-p2p/zetacoin/files/patch-qt_makefile_am_editSedCommands.patch (nonexistent) @@ -1,14 +0,0 @@ -diff --git a/src/qt/Makefile.am b/src/qt/Makefile.am -index 648971b..97b2ec4 100644 ---- a/src/qt/Makefile.am -+++ src/qt/Makefile.am -@@ -373,7 +373,7 @@ translate: bitcoinstrings.cpp $(QT_FORMS_UI) $(QT_FORMS_UI) $(BITCOIN_QT_CPP) $( - $(QT_QRC_CPP): $(QT_QRC) $(QT_QM) $(QT_FORMS_H) $(RES_ICONS) $(RES_IMAGES) $(RES_MOVIES) $(PROTOBUF_H) - @cd $(abs_srcdir); test -f $(RCC) && QT_SELECT=$(QT_SELECT) $(RCC) -name bitcoin -o $(abs_builddir)/$@ $< || \ - echo error: could not build $@ -- $(SED) -e '/^\*\*.*Created:/d' $@ > $@.n && mv $@{.n,} -- $(SED) -e '/^\*\*.*by:/d' $@ > $@.n && mv $@{.n,} -+ $(SED) -e '/^\*\*.*Created:/d' $@ > $@.n && mv $@.n $@ -+ $(SED) -e '/^\*\*.*by:/d' $@ > $@.n && mv $@.n $@ - - CLEANFILES = $(BUILT_SOURCES) $(QT_QM) $(QT_FORMS_H) *.gcda *.gcno Property changes on: head/net-p2p/zetacoin/files/patch-qt_makefile_am_editSedCommands.patch ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/net-p2p/zetacoin/files/patch-Makefile_include_editSedCommands.patch =================================================================== --- head/net-p2p/zetacoin/files/patch-Makefile_include_editSedCommands.patch (revision 392224) +++ head/net-p2p/zetacoin/files/patch-Makefile_include_editSedCommands.patch (nonexistent) @@ -1,29 +0,0 @@ -diff --git a/src/Makefile.include b/src/Makefile.include -index 2fc6cd7..cdd16f5 100644 ---- a/src/Makefile.include -+++ src/Makefile.include -@@ -40,18 +40,18 @@ $(LIBBITCOINQT): - ui_%.h: %.ui - @test -d $(abs_builddir)/$(@D) || $(MKDIR_P) $(abs_builddir)/$(@D) - @test -f $(UIC) && QT_SELECT=$(QT_SELECT) $(UIC) -o $(abs_builddir)/$@ $(abs_srcdir)/$< || echo error: could not build $(abs_builddir)/$@ -- $(SED) -e '/^\*\*.*Created:/d' $(abs_builddir)/$@ > $(abs_builddir)/$@.n && mv $(abs_builddir)/$@{.n,} -- $(SED) -e '/^\*\*.*by:/d' $(abs_builddir)/$@ > $(abs_builddir)/$@.n && mv $(abs_builddir)/$@{.n,} -+ $(SED) -e '/^\*\*.*Created:/d' $(abs_builddir)/$@ > $(abs_builddir)/$@.n && mv $(abs_builddir)/$@.n $(abs_builddir)/$@ -+ $(SED) -e '/^\*\*.*by:/d' $(abs_builddir)/$@ > $(abs_builddir)/$@.n && mv $(abs_builddir)/$@.n $(abs_builddir)/$@ - - %.moc: %.cpp - QT_SELECT=$(QT_SELECT) $(MOC) $(QT_INCLUDES) $(MOC_DEFS) -o $@ $< -- $(SED) -e '/^\*\*.*Created:/d' $@ > $@.n && mv $@{.n,} -- $(SED) -e '/^\*\*.*by:/d' $@ > $@.n && mv $@{.n,} -+ $(SED) -e '/^\*\*.*Created:/d' $@ > $@.n && mv $@.n $(abs_builddir)/$@ -+ $(SED) -e '/^\*\*.*by:/d' $@ > $@.n && mv $@.n $(abs_builddir)/$@ - - moc_%.cpp: %.h - QT_SELECT=$(QT_SELECT) $(MOC) $(QT_INCLUDES) $(MOC_DEFS) -o $@ $< -- $(SED) -e '/^\*\*.*Created:/d' $@ > $@.n && mv $@{.n,} -- $(SED) -e '/^\*\*.*by:/d' $@ > $@.n && mv $@{.n,} -+ $(SED) -e '/^\*\*.*Created:/d' $@ > $@.n && mv $@.n $(abs_builddir)/$@ -+ $(SED) -e '/^\*\*.*by:/d' $@ > $@.n && mv $@.n $(abs_builddir)/$@ - - %.qm: %.ts - @test -d $(abs_builddir)/$(@D) || $(MKDIR_P) $(abs_builddir)/$(@D) Property changes on: head/net-p2p/zetacoin/files/patch-Makefile_include_editSedCommands.patch ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/net-p2p/zetacoin/files/patch-src_Makefile.include =================================================================== --- head/net-p2p/zetacoin/files/patch-src_Makefile.include (nonexistent) +++ head/net-p2p/zetacoin/files/patch-src_Makefile.include (revision 392225) @@ -0,0 +1,27 @@ +--- src/Makefile.include.orig 2014-12-12 22:22:31 UTC ++++ src/Makefile.include +@@ -40,18 +40,18 @@ $(LIBBITCOINQT): + ui_%.h: %.ui + @test -d $(abs_builddir)/$(@D) || $(MKDIR_P) $(abs_builddir)/$(@D) + @test -f $(UIC) && QT_SELECT=$(QT_SELECT) $(UIC) -o $(abs_builddir)/$@ $(abs_srcdir)/$< || echo error: could not build $(abs_builddir)/$@ +- $(SED) -e '/^\*\*.*Created:/d' $(abs_builddir)/$@ > $(abs_builddir)/$@.n && mv $(abs_builddir)/$@{.n,} +- $(SED) -e '/^\*\*.*by:/d' $(abs_builddir)/$@ > $(abs_builddir)/$@.n && mv $(abs_builddir)/$@{.n,} ++ $(SED) -e '/^\*\*.*Created:/d' $(abs_builddir)/$@ > $(abs_builddir)/$@.n && mv $(abs_builddir)/$@.n $(abs_builddir)/$@ ++ $(SED) -e '/^\*\*.*by:/d' $(abs_builddir)/$@ > $(abs_builddir)/$@.n && mv $(abs_builddir)/$@.n $(abs_builddir)/$@ + + %.moc: %.cpp + QT_SELECT=$(QT_SELECT) $(MOC) $(QT_INCLUDES) $(MOC_DEFS) -o $@ $< +- $(SED) -e '/^\*\*.*Created:/d' $@ > $@.n && mv $@{.n,} +- $(SED) -e '/^\*\*.*by:/d' $@ > $@.n && mv $@{.n,} ++ $(SED) -e '/^\*\*.*Created:/d' $@ > $@.n && mv $@.n $(abs_builddir)/$@ ++ $(SED) -e '/^\*\*.*by:/d' $@ > $@.n && mv $@.n $(abs_builddir)/$@ + + moc_%.cpp: %.h + QT_SELECT=$(QT_SELECT) $(MOC) $(QT_INCLUDES) $(MOC_DEFS) -o $@ $< +- $(SED) -e '/^\*\*.*Created:/d' $@ > $@.n && mv $@{.n,} +- $(SED) -e '/^\*\*.*by:/d' $@ > $@.n && mv $@{.n,} ++ $(SED) -e '/^\*\*.*Created:/d' $@ > $@.n && mv $@.n $(abs_builddir)/$@ ++ $(SED) -e '/^\*\*.*by:/d' $@ > $@.n && mv $@.n $(abs_builddir)/$@ + + %.qm: %.ts + @test -d $(abs_builddir)/$(@D) || $(MKDIR_P) $(abs_builddir)/$(@D) Property changes on: head/net-p2p/zetacoin/files/patch-src_Makefile.include ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net-p2p/zetacoin/files/patch-src_qt_Makefile.am =================================================================== --- head/net-p2p/zetacoin/files/patch-src_qt_Makefile.am (nonexistent) +++ head/net-p2p/zetacoin/files/patch-src_qt_Makefile.am (revision 392225) @@ -0,0 +1,12 @@ +--- src/qt/Makefile.am.orig 2014-12-12 22:22:31 UTC ++++ src/qt/Makefile.am +@@ -373,7 +373,7 @@ translate: bitcoinstrings.cpp $(QT_FORMS + $(QT_QRC_CPP): $(QT_QRC) $(QT_QM) $(QT_FORMS_H) $(RES_ICONS) $(RES_IMAGES) $(RES_MOVIES) $(PROTOBUF_H) + @cd $(abs_srcdir); test -f $(RCC) && QT_SELECT=$(QT_SELECT) $(RCC) -name bitcoin -o $(abs_builddir)/$@ $< || \ + echo error: could not build $@ +- $(SED) -e '/^\*\*.*Created:/d' $@ > $@.n && mv $@{.n,} +- $(SED) -e '/^\*\*.*by:/d' $@ > $@.n && mv $@{.n,} ++ $(SED) -e '/^\*\*.*Created:/d' $@ > $@.n && mv $@.n $@ ++ $(SED) -e '/^\*\*.*by:/d' $@ > $@.n && mv $@.n $@ + + CLEANFILES = $(BUILT_SOURCES) $(QT_QM) $(QT_FORMS_H) *.gcda *.gcno Property changes on: head/net-p2p/zetacoin/files/patch-src_qt_Makefile.am ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property