1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00
freebsd-ports/games/xtrojka/Makefile
Christian Weisgerber 6d15aa127e games/xtrojka: Move man pages to share/man
Approved by:	portmgr (blanket)
2024-03-18 12:38:14 +01:00

31 lines
750 B
Makefile

PORTNAME= xtrojka
PORTVERSION= 1.2.3
PORTREVISION= 4
CATEGORIES= games
MASTER_SITES= SUNSITE/games/arcade/tetris
DISTNAME= ${PORTNAME}${PORTVERSION:C/\.//g}
MAINTAINER= ports@edwinm.ik.nu
COMMENT= Game of skill similar to T*tris
USES= xorg
USE_XORG= x11 xt xorgproto xaw xmu xext
MAKE_JOBS_UNSAFE= yes
INSTALL_TARGET= install PREFIX=${STAGEDIR}${PREFIX}
WRKSRC= ${WRKDIR}/${DISTNAME}
.include <bsd.port.options.mk>
post-patch:
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
@${REINPLACE_CMD} -e 's|CFLAGS=|CFLAGS=-Wno-error=incompatible-function-pointer-types |g' \
${WRKSRC}/Makefile
.endif
pre-install:
${MKDIR} ${STAGEDIR}${PREFIX}/share/xtrojka
.include <bsd.port.mk>