svn commit: r415574 - in head/graphics: . aseprite aseprite/files
Mathieu Arnold
mat at FreeBSD.org
Fri May 20 19:32:33 UTC 2016
+--On 20 mai 2016 19:15:23 +0000 Kurt Jaeger <pi at FreeBSD.org> wrote:
| +.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
| +CMAKE_ARGS+= -DUSE_SHARED_FREETYPE=1
| +CMAKE_ARGS+= -DUSE_SHARED_PIXMAN=1
| +CMAKE_ARGS+= -DUSE_SHARED_CURL=1
| +CMAKE_ARGS+= -DUSE_SHARED_TINYXML=1
| +CMAKE_ARGS+= -DFREETYPE_INCLUDE_DIR=${LOCALBASE}/include/freetype2
| +CXXFLAGS+= -I${LOCALBASE}/include
| +CXXFLAGS+= -I${LOCALBASE}/include/freetype2
| +CXXFLAGS+= -I${LOCALBASE}/include/freetype2/freetype
Why not use options helpers instead of including bsd.port.options.mk ?
| +.include <bsd.port.pre.mk>
Why is bsd.port.pre.mk needed ?
| +post-extract:
| + @${RMDIR} ${WRKSRC}/src/flic ${WRKSRC}/third_party/gtest
| ${WRKSRC}/third_party/simpleini ${WRKSRC}/third_party/duktape + @${MV}
| ${WRKDIR}/flic-* ${WRKSRC}/src/flic
| + @${MV} ${WRKDIR}/gtest-* ${WRKSRC}/third_party/gtest
| + @${MV} ${WRKDIR}/simpleini-* ${WRKSRC}/third_party/simpleini
| + @${MV} ${WRKDIR}/duktape-* ${WRKSRC}/third_party/duktape
| + @${MKDIR} ${WRKSRC}/third_party/pixman/pixman
| + @${CP} `${MAKE} -C ${PORTSDIR}/x11/pixman -V
| WRKSRC`/pixman/pixman-combine32.h \ +
| ${WRKSRC}/third_party/pixman/pixman/
| +
| +post-configure:
| + @${REINPLACE_CMD} -e 's|-lXxf86dga |-L${LOCALBASE}/lib -lXxf86dga |g' \
| + `find ${WRKDIR} -name link.txt`
| + @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
| + ${WRKSRC}/src/app/resource_finder.cpp
| +
| +.include <bsd.port.post.mk>
--
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 949 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20160520/85478b11/attachment.sig>
More information about the svn-ports-all
mailing list