Upstream used to distribute protocol headers as separate packages, but has decided to merge those to a common package, named xorgproto. This update tracks that change. * Add a new port, x11/xorgproto, with are protocol headers for xorg. * Hook the new protocol port to the build and to infrastructure in bsd.xorg.mk. * Update all ports with a dependency on any of the old *proto packages to instead depend on xorgproto. Bump portrevision. * Delete the old *proto packages, update MOVED. PR: 230023 Submitted by: zeising Approved by: portmgr (antoine) exp-run by: antoine
29 lines
674 B
Makefile
29 lines
674 B
Makefile
# Created by: Vanilla I. Shu <vanilla@MinJe.com.TW>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xjig
|
|
PORTVERSION= 2.4
|
|
PORTREVISION= 4
|
|
CATEGORIES= games
|
|
MASTER_SITES= XCONTRIB/games
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Jigsaw puzzle game for X11
|
|
|
|
USES= compiler tar:tgz
|
|
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>
|