graphics/aseprite: change to OPTION helper syntax

PR:		209676
Submitted by:	Yuri Victorovich <yuri@rawbw.com> (maintainer)
Reported by:	mat
This commit is contained in:
Kurt Jaeger 2016-05-21 01:39:51 +00:00
parent 3473555420
commit 67d7471859
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=415581

View File

@ -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>