2013-06-18 11:46:51 +00:00
|
|
|
# Created by: 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
|
2013-01-23 15:00:18 +00:00
|
|
|
PORTREVISION= 7
|
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
|
2014-06-13 07:36:27 +00:00
|
|
|
COMMENT= OpenGL jigsaw puzzle game
|
2006-01-11 11:15:28 +00:00
|
|
|
|
2013-10-22 08:03:09 +00:00
|
|
|
LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \
|
|
|
|
libjpeg.so:${PORTSDIR}/graphics/jpeg
|
2006-01-11 11:15:28 +00:00
|
|
|
|
2013-10-22 08:03:09 +00:00
|
|
|
USES= gmake
|
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
|
2013-06-18 11:46:51 +00:00
|
|
|
MAKE_ARGS= CXX=${CXX}
|
2006-01-11 11:15:28 +00:00
|
|
|
|
2013-10-22 08:03:09 +00:00
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
PORTDATA= *
|
2008-04-28 08:34:21 +00:00
|
|
|
PORTDOCS= *
|
2006-01-11 11:15:28 +00:00
|
|
|
|
2009-09-11 21:57:40 +00:00
|
|
|
DESKTOP_ENTRIES="Jigzo" \
|
|
|
|
"An OpenGL jigsaw puzzle game" \
|
|
|
|
"" \
|
|
|
|
"jigzo" \
|
|
|
|
"Game;LogicGame;KidsGame;" \
|
|
|
|
false
|
|
|
|
|
2013-10-22 08:03:09 +00:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2013-06-18 11:46:51 +00:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2006-01-11 11:15:28 +00:00
|
|
|
post-patch:
|
2010-03-30 11:02:24 +00:00
|
|
|
@${REINPLACE_CMD} -e "s|int_p_NULL|NULL|g" \
|
|
|
|
${WRKSRC}/src/Loader.cxx
|
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:
|
2013-10-22 08:03:09 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
|
2008-04-28 08:34:21 +00:00
|
|
|
cd ${WRKSRC} && ${COPYTREE_SHARE} "font image puzzles sound" \
|
2013-10-22 08:03:09 +00:00
|
|
|
${STAGEDIR}${DATADIR}/
|
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
2006-01-11 11:15:28 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|