git: 245ecfc7fe55 - main - devel/cityhash: cosmetic fixes

From: Dmitry Marakasov <amdmi3_at_FreeBSD.org>
Date: Fri, 11 Nov 2022 18:07:26 UTC
The branch main has been updated by amdmi3:

URL: https://cgit.FreeBSD.org/ports/commit/?id=245ecfc7fe5537447b5b94669db470fcef1626af

commit 245ecfc7fe5537447b5b94669db470fcef1626af
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2022-11-11 17:48:33 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2022-11-11 18:06:37 +0000

    devel/cityhash: cosmetic fixes
    
    - Update WWW
    - Optionize DOCS
    - Don't install license with docs
---
 devel/cityhash/Makefile  | 4 +++-
 devel/cityhash/pkg-plist | 6 +++---
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/devel/cityhash/Makefile b/devel/cityhash/Makefile
index cf79387cd29c..d32ce7a2923c 100644
--- a/devel/cityhash/Makefile
+++ b/devel/cityhash/Makefile
@@ -5,7 +5,7 @@ CATEGORIES=	devel
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Family of hash functions
-WWW=		https://code.google.com/p/cityhash/
+WWW=		https://github.com/google/cityhash
 
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/COPYING
@@ -19,4 +19,6 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	google
 GH_TAGNAME=	8af9b8c
 
+OPTIONS_DEFINE=	DOCS
+
 .include <bsd.port.mk>
diff --git a/devel/cityhash/pkg-plist b/devel/cityhash/pkg-plist
index 0bdb8ec1873c..37e6289c5b2f 100644
--- a/devel/cityhash/pkg-plist
+++ b/devel/cityhash/pkg-plist
@@ -3,6 +3,6 @@ lib/libcityhash.a
 lib/libcityhash.so
 lib/libcityhash.so.0
 lib/libcityhash.so.0.0.0
-%%DOCSDIR%%/COPYING
-%%DOCSDIR%%/NEWS
-%%DOCSDIR%%/README
+@comment %%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README