freebsd-ports/games/xcheckers/Makefile
Robert Clausecker d8cf71d0d3 games/xcheckers: work around duplicate symbol issues
- Supply CFLAGS=-fcommon to enable a build on recent gcc and clang.
   This fixes the build on FreeBSD 13+.
 - Define LICENSE.
 - Remove no-op post-patch REINPLACE_CMD.
2023-04-17 11:27:25 +02:00

23 lines
473 B
Makefile

PORTNAME= xcheckers
PORTVERSION= 2.2.3
PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= http://arton.cunst.net/xcheckers/
MAINTAINER= ports@FreeBSD.org
COMMENT= Checkers game for X11
WWW= https://arton.cunst.net/xcheckers/index.html
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= imake xorg
USE_XORG= x11 xext xpm
CFLAGS+= -fcommon
pre-install:
@${REINPLACE_CMD} 's:@LOCALBASE@:${LOCALBASE}:g' \
${WRKSRC}/xcheckers.src/xcheckers.man
.include <bsd.port.mk>