git: 6a6566e1f6a1 - main - games/xkoules: Refactor
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 27 Dec 2024 10:38:03 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6a6566e1f6a1f260c389ae45664fc22138db3ecd
commit 6a6566e1f6a1f260c389ae45664fc22138db3ecd
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-12-27 08:49:25 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-12-27 10:37:19 +0000
games/xkoules: Refactor
- Remove GENTOO MASTER_SITES as it no longer provides flat layout
- Pet portclippy
- Use OPTIONSNG for post-install target
---
games/xkoules/Makefile | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/games/xkoules/Makefile b/games/xkoules/Makefile
index 3a20885ed776..966fe8bb570e 100644
--- a/games/xkoules/Makefile
+++ b/games/xkoules/Makefile
@@ -3,7 +3,6 @@ PORTVERSION= 1.4
PORTREVISION= 5
CATEGORIES= games
MASTER_SITES= http://www.ucw.cz/~hubicka/koules/packages/ \
- GENTOO \
SF/nemysisfreebsdp/${CATEGORIES}/${PORTNAME}/:icons
DISTFILES= ${PORTNAME:S/x//}${PORTVERSION}-src${EXTRACT_SUFX} \
${PORTNAME:S/x//}.png:icons
@@ -16,18 +15,20 @@ WWW= https://www.ucw.cz/~hubicka/koules/English/koules.html
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-WRKSRC= ${WRKDIR}/${PORTNAME:S/x//}${PORTVERSION}
-
USES= imake xorg
USE_XORG= x11 xext
-MAKE_JOBS_UNSAFE= yes
-PORTDOCS= ANNOUNCE ChangeLog Koules.FAQ README
-OPTIONS_DEFINE= DOCS
+MAKE_JOBS_UNSAFE= yes
DESKTOP_ENTRIES="XKoules" "" "${PORTNAME}" \
"${PORTNAME} -M" "Game;ArcadeGame;" ""
+WRKSRC= ${WRKDIR}/${PORTNAME:S/x//}${PORTVERSION}
+
+PORTDOCS= ANNOUNCE ChangeLog Koules.FAQ README
+
+OPTIONS_DEFINE= DOCS
+
post-extract:
@${CP} ${WRKSRC}/xkoules.6 ${WRKSRC}/xkoules.man
@@ -35,6 +36,7 @@ post-install:
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME:S/x//}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}