mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-17 08:01:36 +00:00
95274bf4f9
As like as HEAD(14.0-RELEASE) llvm16 was merged in base for 13.2-STABLE with the OSVERSION 1302507. - Utilize USE_CXXSTD=c++14 or similar solution where applicable - Update conditionals to addtionally check for OSVERSION greater than 1302507 and less than 1400000 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
31 lines
750 B
Makefile
31 lines
750 B
Makefile
PORTNAME= xtrojka
|
|
PORTVERSION= 1.2.3
|
|
PORTREVISION= 3
|
|
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>
|