Date: Fri, 20 May 2016 21:32:29 +0200 From: Mathieu Arnold <mat@FreeBSD.org> To: Kurt Jaeger <pi@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r415574 - in head/graphics: . aseprite aseprite/files Message-ID: <632FB3BA205C95E9CACA0976@atuin.in.mat.cc> In-Reply-To: <201605201915.u4KJFN7i018668@repo.freebsd.org> References: <201605201915.u4KJFN7i018668@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--==========6DD9ADE9E6E9D989DA80========== Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline +--On 20 mai 2016 19:15:23 +0000 Kurt Jaeger <pi@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 --==========6DD9ADE9E6E9D989DA80========== Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQJ8BAEBCgBmBQJXP2ZNXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzQUI2OTc4OUQyRUQxMjEwNjQ0MEJBNUIz QTQ1MTZGMzUxODNDRTQ4AAoJEDpFFvNRg85I+EAQAKm7I67vuv7b96G7amSIE/Zv 6eYNNqNvzRaPx0vmksXbm2C2QmqclZFZYGtA241tDpZpHJmPWkuilCZZEOZt5p1F 9uIOku0ijj96zS2kZlDWfrqqMwt+WQEr3NCcJIeEO/pfzNNpbRyieNgWTdheQ1iO im3LSHvLv9yLrWwGyuxPPs62GO8svhoH1K6lmZNJpiefudYvzG1ngyncfMsUdUZT zZjPUXpiYrhJVSNgJRLahEdy8kDVwUIYeKuRjWXlI/xEKzoSCRyA+lKIXouJI82X d3UMzONOOzjTl6a1JD8WoHvtss280p397ehU+9vOTU9+JAy0o+n/jUL1Dk2crRYz 8mszkXWfq8VMOyl+nkQN34jxZGKV8Yn+SKSpfV7UUiP7gZsjCLfYl2rFEPoPUFOG MtyKiQdn7i0PvKaZQ/kcYhtnsQL/357wRlHCWMtm4srTNHCSKDpkne8oa7iMs8Wa OYXhgK5hinuwFO1MRsVmfqEBSviuIjOMJr3YgUg8yYXUnJpY9lwjwS5bdvVYf4u3 f4EDDLvq5b2HolhCZTHdpy90VHu4/u9KYL8APQ3ptJyNwPsLjOklGk/t1Fm4qa0/ nPbVi44LPjlCb8blEMVMqxnx1Dl+ok9B2OFHFFaKYUc2u5CBmbNj00eqJSmNB5Ta a5dikCJgWqG4wzJK/S72 =M8X1 -----END PGP SIGNATURE----- --==========6DD9ADE9E6E9D989DA80==========--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?632FB3BA205C95E9CACA0976>