diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2013-06-18 11:46:51 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2013-06-18 11:46:51 +0000 |
commit | 3037cb61c7f1ac5ae9a15cee2365daa2d4036028 (patch) | |
tree | e391a5b5894d27043bb95bd6680b03174979f810 /games/jigzo | |
parent | 28eb882aa04c420b3fe972dd8748b80c90c5cd82 (diff) | |
download | ports-3037cb61c7f1ac5ae9a15cee2365daa2d4036028.tar.gz ports-3037cb61c7f1ac5ae9a15cee2365daa2d4036028.zip |
Notes
Diffstat (limited to 'games/jigzo')
-rw-r--r-- | games/jigzo/Makefile | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/games/jigzo/Makefile b/games/jigzo/Makefile index f2fae6416c7c..1adba7f5b5d6 100644 --- a/games/jigzo/Makefile +++ b/games/jigzo/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: glpuzzle -# Date created: 09 Jan 2006 -# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru> -# +# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru> # $FreeBSD$ -# PORTNAME= jigzo PORTVERSION= 0.6.1 @@ -17,11 +13,12 @@ MAINTAINER= amdmi3@FreeBSD.org COMMENT= An OpenGL jigsaw puzzle game LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \ - jpeg.11:${PORTSDIR}/graphics/jpeg + jpeg:${PORTSDIR}/graphics/jpeg USE_SDL= sdl mixer USE_GL= gl USE_GMAKE= yes +MAKE_ARGS= CXX=${CXX} MAKE_JOBS_SAFE= yes PORTDOCS= * @@ -33,6 +30,8 @@ DESKTOP_ENTRIES="Jigzo" \ "Game;LogicGame;KidsGame;" \ false +.include <bsd.port.options.mk> + post-patch: @${REINPLACE_CMD} -e "s|int_p_NULL|NULL|g" \ ${WRKSRC}/src/Loader.cxx @@ -46,9 +45,9 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin ${MKDIR} ${DATADIR} cd ${WRKSRC} && ${COPYTREE_SHARE} "font image puzzles sound" \ - ${DATADIR}/ + ${DATADIR}/ -.ifndef (NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} post-install: ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} |