Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 May 2016 01:39:51 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r415581 - head/graphics/aseprite
Message-ID:  <201605210139.u4L1dp55033804@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Sat May 21 01:39:51 2016
New Revision: 415581
URL: https://svnweb.freebsd.org/changeset/ports/415581

Log:
  graphics/aseprite: change to OPTION helper syntax
  
  PR:		209676
  Submitted by:	Yuri Victorovich <yuri@rawbw.com> (maintainer)
  Reported by:	mat

Modified:
  head/graphics/aseprite/Makefile

Modified: head/graphics/aseprite/Makefile
==============================================================================
--- head/graphics/aseprite/Makefile	Fri May 20 21:40:59 2016	(r415580)
+++ head/graphics/aseprite/Makefile	Sat May 21 01:39:51 2016	(r415581)
@@ -37,17 +37,13 @@ GH_TUPLE+=		aseprite:duktape:90090c7:duk
 USES=			cmake:outsource compiler:c++11-lib jpeg pkgconfig
 USE_XORG=		x11 xcursor xext xpm ice pixman sm xxf86dga xxf86vm
 
-.include <bsd.port.options.mk>
-
 CMAKE_ARGS+=		-DUSE_SHARED_ALLEGRO4=1
 CMAKE_ARGS+=		-DUSE_SHARED_GIFLIB=1
 CMAKE_ARGS+=		-DUSE_SHARED_ZLIB=1
 CMAKE_ARGS+=		-DUSE_SHARED_JPEGLIB=1
 CMAKE_ARGS+=		-DUSE_SHARED_LIBPNG=1
-.if ${PORT_OPTIONS:MWEBP}
-CMAKE_ARGS+=		-DWITH_WEBP_SUPPORT=1
-CMAKE_ARGS+=		-DUSE_SHARED_LIBWEBP=1
-.endif
+WEBP_CMAKE_ON+=		-DWITH_WEBP_SUPPORT=1
+WEBP_CMAKE_ON+=		-DUSE_SHARED_LIBWEBP=1
 CMAKE_ARGS+=		-DUSE_SHARED_FREETYPE=1
 CMAKE_ARGS+=		-DUSE_SHARED_PIXMAN=1
 CMAKE_ARGS+=		-DUSE_SHARED_CURL=1
@@ -57,8 +53,6 @@ CXXFLAGS+=		-I${LOCALBASE}/include
 CXXFLAGS+=		-I${LOCALBASE}/include/freetype2
 CXXFLAGS+=		-I${LOCALBASE}/include/freetype2/freetype
 
-.include <bsd.port.pre.mk>
-
 post-extract:
 	@${RMDIR} ${WRKSRC}/src/flic ${WRKSRC}/third_party/gtest ${WRKSRC}/third_party/simpleini ${WRKSRC}/third_party/duktape
 	@${MV} ${WRKDIR}/flic-* ${WRKSRC}/src/flic
@@ -75,4 +69,4 @@ post-configure:
 	@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
 		${WRKSRC}/src/app/resource_finder.cpp
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605210139.u4L1dp55033804>