mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
29 lines
667 B
Makefile
29 lines
667 B
Makefile
# Created by: Vanilla I. Shu <vanilla@MinJe.com.TW>
|
|
|
|
PORTNAME= xjig
|
|
PORTVERSION= 2.4
|
|
PORTREVISION= 5
|
|
CATEGORIES= games
|
|
MASTER_SITES= XCONTRIB/games
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Jigsaw puzzle game for X11
|
|
|
|
USES= compiler tar:tgz xorg
|
|
USE_XORG= x11 xorgproto 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>
|