svn commit: r415581 - head/graphics/aseprite

Kurt Jaeger pi at FreeBSD.org
Sat May 21 01:39:53 UTC 2016


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


More information about the svn-ports-all mailing list