mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
a84c115a09
Approved by: portmgr (not really, but touches unstaged ports)
31 lines
706 B
Makefile
31 lines
706 B
Makefile
# Created by: Vanilla I. Shu <vanilla@MinJe.com.TW>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xjig
|
|
PORTVERSION= 2.4
|
|
PORTREVISION= 2
|
|
CATEGORIES= games
|
|
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
|
|
MASTER_SITE_SUBDIR= 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>
|