summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZsolt Udvari <uzsolt@FreeBSD.org>2025-10-20 18:11:28 +0200
committerZsolt Udvari <uzsolt@FreeBSD.org>2025-10-20 18:28:59 +0200
commita48f72cbbe9ce000c2d09a1780c1c6a4b9a7aef0 (patch)
treed6fd60658c7b43afbfe4d857a3adeeb80bf11a35
parentsecurity/wpa_supplicant-devel: Add default option to build libwpa_client (diff)
games/lincity-ng: Fix directory of manual page
-rw-r--r--games/lincity-ng/Makefile3
-rw-r--r--games/lincity-ng/pkg-plist2
2 files changed, 4 insertions, 1 deletions
diff --git a/games/lincity-ng/Makefile b/games/lincity-ng/Makefile
index 2861f7371683..234991b7b150 100644
--- a/games/lincity-ng/Makefile
+++ b/games/lincity-ng/Makefile
@@ -1,6 +1,7 @@
PORTNAME= lincity-ng
DISTVERSION= 2.14.2
DISTVERSIONSUFFIX= -Source
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${PORTNAME}-${DISTVERSION}/
@@ -21,6 +22,8 @@ USE_GNOME= libxml2 libxslt
USE_SDL= image2 mixer2 sdl2 ttf2
USE_XORG= x11
+CMAKE_ARGS+= -DCMAKE_INSTALL_MANDIR=${PREFIX}/share/man/man6
+
LDFLAGS+= -lpthread
.include <bsd.port.mk>
diff --git a/games/lincity-ng/pkg-plist b/games/lincity-ng/pkg-plist
index 9a7d5a53080d..58584724787b 100644
--- a/games/lincity-ng/pkg-plist
+++ b/games/lincity-ng/pkg-plist
@@ -2,7 +2,7 @@ bin/lincity-ng
share/applications/io.github.lincity_ng.lincity-ng.desktop
share/icons/hicolor/128x128/apps/io.github.lincity_ng.lincity-ng.png
share/icons/hicolor/256x256/apps/io.github.lincity_ng.lincity-ng.png
-share/man/lincity-ng.6.gz
+share/man/man6/lincity-ng.6.gz
share/metainfo/io.github.lincity_ng.lincity-ng.metainfo.xml
%%DATADIR%%/1328-to-2130.sh
%%DATADIR%%/1328-to-2130.xsl