1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/games/xkoules/Makefile
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00

44 lines
1.1 KiB
Makefile

# Created by: Andrey Zakhvatov
# $FreeBSD$
PORTNAME= xkoules
PORTVERSION= 1.4
PORTREVISION= 4
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
EXTRACT_ONLY= ${PORTNAME:S/x//}${PORTVERSION}-src${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Fast action arcade-style game for X Window
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
WRKSRC= ${WRKDIR}/${PORTNAME:S/x//}${PORTVERSION}
USES= imake
USE_XORG= x11 xext
MAKE_JOBS_UNSAFE= yes
PORTDOCS= ANNOUNCE ChangeLog Koules.FAQ README
OPTIONS_DEFINE= DOCS
DESKTOP_ENTRIES="XKoules" "" "${PORTNAME}" \
"${PORTNAME} -M" "Game;ArcadeGame;" ""
post-extract:
@${CP} ${WRKSRC}/xkoules.6 ${WRKSRC}/xkoules.man
post-install:
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME:S/x//}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>