2006-01-11 11:15:28 +00:00
|
|
|
# New ports collection makefile for: glpuzzle
|
|
|
|
# Date created: 09 Jan 2006
|
2006-12-21 20:41:33 +00:00
|
|
|
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
|
2006-01-11 11:15:28 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2008-04-28 08:34:21 +00:00
|
|
|
PORTNAME= jigzo
|
2008-05-17 23:39:03 +00:00
|
|
|
PORTVERSION= 0.6.1
|
2009-07-18 11:11:29 +00:00
|
|
|
PORTREVISION= 1
|
2006-01-11 11:15:28 +00:00
|
|
|
CATEGORIES= games
|
2008-04-28 08:34:21 +00:00
|
|
|
MASTER_SITES= http://www.iua.upf.es/~mdeboer/resorama/jigzo/ \
|
2009-07-28 16:34:36 +00:00
|
|
|
http://mirror.amdmi3.ru/distfiles/
|
2006-01-11 11:15:28 +00:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2008-06-19 17:28:24 +00:00
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
2006-01-11 11:15:28 +00:00
|
|
|
COMMENT= An OpenGL jigsaw puzzle game
|
|
|
|
|
|
|
|
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
|
2009-07-18 11:11:29 +00:00
|
|
|
jpeg.10:${PORTSDIR}/graphics/jpeg
|
2006-01-11 11:15:28 +00:00
|
|
|
|
2006-02-06 12:50:05 +00:00
|
|
|
USE_SDL= sdl mixer
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
USE_GL= gl
|
2006-01-11 11:15:28 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
|
2008-04-28 08:34:21 +00:00
|
|
|
PORTDOCS= *
|
2006-01-11 11:15:28 +00:00
|
|
|
|
|
|
|
post-patch:
|
2006-02-06 12:50:05 +00:00
|
|
|
.for i in font image puzzles sound
|
2008-04-28 08:34:21 +00:00
|
|
|
@${REINPLACE_CMD} -e "s|${i}/|${DATADIR}/${i}/|g" \
|
|
|
|
${WRKSRC}/src/main.cxx
|
2006-02-06 12:50:05 +00:00
|
|
|
.endfor
|
2008-04-28 08:34:21 +00:00
|
|
|
@${FIND} ${WRKSRC} -name .thumbnails | ${XARGS} ${RM} -rf
|
2006-01-11 11:15:28 +00:00
|
|
|
|
|
|
|
do-install:
|
2008-04-28 08:34:21 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
|
|
|
${MKDIR} ${DATADIR}
|
|
|
|
cd ${WRKSRC} && ${COPYTREE_SHARE} "font image puzzles sound" \
|
|
|
|
${DATADIR}/
|
2006-01-11 11:15:28 +00:00
|
|
|
|
|
|
|
.ifndef (NOPORTDOCS)
|
|
|
|
post-install:
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|