mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
47 lines
1012 B
Makefile
47 lines
1012 B
Makefile
# New ports collection makefile for: glpuzzle
|
|
# Date created: 09 Jan 2006
|
|
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= jigzo
|
|
PORTVERSION= 0.6.1
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://www.iua.upf.es/~mdeboer/resorama/jigzo/ \
|
|
http://mirror.amdmi3.ru/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
COMMENT= An OpenGL jigsaw puzzle game
|
|
|
|
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg
|
|
|
|
USE_SDL= sdl mixer
|
|
USE_GL= gl
|
|
USE_GMAKE= yes
|
|
|
|
PORTDOCS= *
|
|
|
|
post-patch:
|
|
.for i in font image puzzles sound
|
|
@${REINPLACE_CMD} -e "s|${i}/|${DATADIR}/${i}/|g" \
|
|
${WRKSRC}/src/main.cxx
|
|
.endfor
|
|
@${FIND} ${WRKSRC} -name .thumbnails | ${XARGS} ${RM} -rf
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
|
${MKDIR} ${DATADIR}
|
|
cd ${WRKSRC} && ${COPYTREE_SHARE} "font image puzzles sound" \
|
|
${DATADIR}/
|
|
|
|
.ifndef (NOPORTDOCS)
|
|
post-install:
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|