Index: net-p2p/namecoin/Makefile
===================================================================
--- net-p2p/namecoin/Makefile	(revision 479006)
+++ net-p2p/namecoin/Makefile	(working copy)
@@ -2,7 +2,8 @@
 # $FreeBSD$
 
 PORTNAME=	namecoin
-PORTVERSION=	0.13.2
+PORTVERSION=	0.16.2
+DISTVERSIONPREFIX=	nc
 PORTEPOCH=	1
 CATEGORIES=	net-p2p dns
 
@@ -17,14 +18,13 @@
 CONFLICTS_INSTALL=	namecoin-beta-[0-9]* namecoin-beta-daemon-[0-9]* namecoin-beta-utils-[0-9]* \
 		namecoin-stable-[0-9]* namecoin-stable-daemon-[0-9]* namecoin-stable-utils-[0-9]*
 
-USES=		autoreconf compiler:c++11-lib gmake libtool pkgconfig shebangfix ssl
-SHEBANG_FILES=	src/test/*.py
+USES=		autoreconf compiler:c++11-lib gmake libtool pkgconfig ssl
 GNU_CONFIGURE=	yes
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	indolering:graphics
 GH_PROJECT=	namecoin-core namecoin-graphics:graphics
-GH_TAGNAME=	ab08f76 a13a73b:graphics
+GH_TAGNAME=	a13a73b:graphics
 
 SLAVE_PORT?=	no
 
Index: net-p2p/namecoin/distinfo
===================================================================
--- net-p2p/namecoin/distinfo	(revision 479006)
+++ net-p2p/namecoin/distinfo	(working copy)
@@ -1,5 +1,5 @@
-TIMESTAMP = 1500647782
-SHA256 (namecoin-namecoin-core-0.13.2-ab08f76_GH0.tar.gz) = 27ee9f0fca2f9d98bfc298848ad2b899a895c0c7c8e63caca2ee317c927cd178
-SIZE (namecoin-namecoin-core-0.13.2-ab08f76_GH0.tar.gz) = 5917889
+TIMESTAMP = 1536120223
+SHA256 (namecoin-namecoin-core-nc0.16.2_GH0.tar.gz) = 2dec11332ce3284dfe3d9a6291eb770e1c27fcdb707f13b542494db527aa8d99
+SIZE (namecoin-namecoin-core-nc0.16.2_GH0.tar.gz) = 5510735
 SHA256 (indolering-namecoin-graphics-a13a73b_GH0.tar.gz) = 82f308a3527d96a202099feb96a754d036bbdaa875156ad002ba2747d75000c7
 SIZE (indolering-namecoin-graphics-a13a73b_GH0.tar.gz) = 7364908
Index: net-p2p/namecoin/files/patch-src_miner.h
===================================================================
--- net-p2p/namecoin/files/patch-src_miner.h	(revision 479006)
+++ net-p2p/namecoin/files/patch-src_miner.h	(nonexistent)
@@ -1,20 +0,0 @@
---- src/miner.h.orig	2017-02-05 10:17:27 UTC
-+++ src/miner.h
-@@ -73,7 +73,7 @@ struct modifiedentry_iter {
- // except operating on CTxMemPoolModifiedEntry.
- // TODO: refactor to avoid duplication of this logic.
- struct CompareModifiedEntry {
--    bool operator()(const CTxMemPoolModifiedEntry &a, const CTxMemPoolModifiedEntry &b)
-+    bool operator()(const CTxMemPoolModifiedEntry &a, const CTxMemPoolModifiedEntry &b) const
-     {
-         double f1 = (double)a.nModFeesWithAncestors * b.nSizeWithAncestors;
-         double f2 = (double)b.nModFeesWithAncestors * a.nSizeWithAncestors;
-@@ -88,7 +88,7 @@ struct CompareModifiedEntry {
- // This is sufficient to sort an ancestor package in an order that is valid
- // to appear in a block.
- struct CompareTxIterByAncestorCount {
--    bool operator()(const CTxMemPool::txiter &a, const CTxMemPool::txiter &b)
-+    bool operator()(const CTxMemPool::txiter &a, const CTxMemPool::txiter &b) const
-     {
-         if (a->GetCountWithAncestors() != b->GetCountWithAncestors())
-             return a->GetCountWithAncestors() < b->GetCountWithAncestors();

Property changes on: net-p2p/namecoin/files/patch-src_miner.h
___________________________________________________________________
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: net-p2p/namecoin/files/patch-src_txmempool.h
===================================================================
--- net-p2p/namecoin/files/patch-src_txmempool.h	(revision 479006)
+++ net-p2p/namecoin/files/patch-src_txmempool.h	(nonexistent)
@@ -1,47 +0,0 @@
---- src/txmempool.h.orig	2017-02-05 10:17:27 UTC
-+++ src/txmempool.h
-@@ -255,7 +255,7 @@ struct mempoolentry_txid
- class CompareTxMemPoolEntryByDescendantScore
- {
- public:
--    bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b)
-+    bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b) const
-     {
-         bool fUseADescendants = UseDescendantScore(a);
-         bool fUseBDescendants = UseDescendantScore(b);
-@@ -277,7 +277,7 @@ public:
-     }
- 
-     // Calculate which score to use for an entry (avoiding division).
--    bool UseDescendantScore(const CTxMemPoolEntry &a)
-+    bool UseDescendantScore(const CTxMemPoolEntry &a) const
-     {
-         double f1 = (double)a.GetModifiedFee() * a.GetSizeWithDescendants();
-         double f2 = (double)a.GetModFeesWithDescendants() * a.GetTxSize();
-@@ -292,7 +292,7 @@ public:
- class CompareTxMemPoolEntryByScore
- {
- public:
--    bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b)
-+    bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b) const
-     {
-         double f1 = (double)a.GetModifiedFee() * b.GetTxSize();
-         double f2 = (double)b.GetModifiedFee() * a.GetTxSize();
-@@ -306,7 +306,7 @@ public:
- class CompareTxMemPoolEntryByEntryTime
- {
- public:
--    bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b)
-+    bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b) const
-     {
-         return a.GetTime() < b.GetTime();
-     }
-@@ -315,7 +315,7 @@ public:
- class CompareTxMemPoolEntryByAncestorFee
- {
- public:
--    bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b)
-+    bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b) const
-     {
-         double aFees = a.GetModFeesWithAncestors();
-         double aSize = a.GetSizeWithAncestors();

Property changes on: net-p2p/namecoin/files/patch-src_txmempool.h
___________________________________________________________________
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