git: 8cef1e2764ce - main - games/fheroes2: actually add DOCS option

Piotr Kubaj pkubaj at FreeBSD.org
Fri Jun 4 23:49:09 UTC 2021


The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8cef1e2764ceccf6955dea9f5a11a8708df45443

commit 8cef1e2764ceccf6955dea9f5a11a8708df45443
Author:     Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-06-04 23:48:58 +0000
Commit:     Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-06-04 23:48:58 +0000

    games/fheroes2: actually add DOCS option
    
    Reported by:    danfe, tobik
---
 games/fheroes2/Makefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/games/fheroes2/Makefile b/games/fheroes2/Makefile
index 10977aeb9d7c..a1df946e4049 100644
--- a/games/fheroes2/Makefile
+++ b/games/fheroes2/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	fheroes2
 PORTVERSION=	0.9.4
+PORTREVISION=	1
 CATEGORIES=	games
 
 MAINTAINER=	pkubaj at FreeBSD.org
@@ -15,8 +16,10 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	ihhub
 USE_SDL=	image2 mixer2 sdl2 ttf2
 
+OPTIONS_DEFINE=	DOCS
+
 PLIST_FILES=	bin/${PORTNAME}
-PORTDOCS=	${DOCSDIR}/README.txt \
-		${DOCSDIR}/changelog.txt
+PORTDOCS=	README.txt \
+		changelog.txt
 
 .include <bsd.port.mk>


More information about the dev-commits-ports-main mailing list