1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/games/xjig/Makefile
Jan Beich 32aa72aab8 games/xjig: unbreak with libc++ 3.9
gif_image.C:61:7: error: assigning to 'char *' from incompatible type 'const char *'
        name = strrchr(filename,'/');
             ^ ~~~~~~~~~~~~~~~~~~~~~

Reported by:	pkg-fallout
2017-02-01 12:25:57 +00:00

30 lines
671 B
Makefile

# Created by: Vanilla I. Shu <vanilla@MinJe.com.TW>
# $FreeBSD$
PORTNAME= xjig
PORTVERSION= 2.4
PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= XCONTRIB/games
MAINTAINER= ports@FreeBSD.org
COMMENT= Jigsaw puzzle game for X11
USES= compiler tar:tgz
USE_XORG= x11 xproto xext
MAKEFILE= Makefile.Linux
PLIST_FILES= bin/xjig man/man1/xjig.1.gz
.include <bsd.port.pre.mk>
post-patch:
.if ${COMPILER_TYPE} == clang
@${REINPLACE_CMD} 's|-fpcc-struct-return||' ${WRKSRC}/Makefile.Linux
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xjig ${STAGEDIR}${PREFIX}/bin/xjig
${INSTALL_MAN} ${WRKSRC}/xjig.man ${STAGEDIR}${PREFIX}/man/man1/xjig.1
.include <bsd.port.post.mk>