git: 9fffa37fbc5a - main - games/ctris: Move manpages to share/man
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 21 Jan 2024 20:03:45 UTC
The branch main has been updated by ehaupt:
URL: https://cgit.FreeBSD.org/ports/commit/?id=9fffa37fbc5af0cd38dd658f806201e6588ed288
commit 9fffa37fbc5af0cd38dd658f806201e6588ed288
Author: Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2024-01-21 20:03:42 +0000
Commit: Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2024-01-21 20:03:42 +0000
games/ctris: Move manpages to share/man
---
games/ctris/Makefile | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/games/ctris/Makefile b/games/ctris/Makefile
index 981fabceb5eb..17cb731eddc6 100644
--- a/games/ctris/Makefile
+++ b/games/ctris/Makefile
@@ -1,6 +1,7 @@
PORTNAME= ctris
-PORTVERSION= 0.42.1
DISTVERSIONPREFIX= v
+DISTVERSION= 0.42.1
+PORTREVISION= 1
CATEGORIES= games
MAINTAINER= ehaupt@FreeBSD.org
@@ -11,12 +12,13 @@ LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= ncurses
-MAKE_ARGS= LIBS="${LDFLAGS} -lncurses"
-
USE_GITHUB= yes
GH_ACCOUNT= dominikhackl
-PLIST_FILES= bin/ctris man/man6/ctris.6.gz
+MAKE_ARGS= LIBS="${LDFLAGS} -lncurses"
+
+PLIST_FILES= bin/ctris \
+ share/man/man6/ctris.6.gz
post-patch:
@${REINPLACE_CMD} -e "s|v0\.42|v${PORTVERSION}|" ${WRKSRC}/ctris.h
@@ -25,7 +27,7 @@ post-patch:
do-install:
${INSTALL_MAN} ${WRKSRC}/ctris.6.gz \
- ${STAGEDIR}${PREFIX}/man/man6/ctris.6.gz
+ ${STAGEDIR}${PREFIX}/share/man/man6/ctris.6.gz
${INSTALL_PROGRAM} ${WRKSRC}/ctris ${STAGEDIR}${PREFIX}/bin/ctris
.include <bsd.port.mk>