diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2013-06-18 19:46:51 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2013-06-18 19:46:51 +0800 |
commit | df95a2d560d09c86d1a500fe7c6e846a721ff3bf (patch) | |
tree | e391a5b5894d27043bb95bd6680b03174979f810 /games/jigzo | |
parent | 3de9e5720382e61bea8dbab6e1287a0b29e64dc0 (diff) | |
download | freebsd-ports-gnome-df95a2d560d09c86d1a500fe7c6e846a721ff3bf.tar.gz freebsd-ports-gnome-df95a2d560d09c86d1a500fe7c6e846a721ff3bf.tar.zst freebsd-ports-gnome-df95a2d560d09c86d1a500fe7c6e846a721ff3bf.zip |
- Trim Makefile headers
- Drop ABI versions from LIB_DEPENDS
- OptionsNG
- Pet portlint
- Switch to dynamic plist where useful
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} |