Date: Tue, 24 Sep 2013 16:05:33 +0000 (UTC) From: "Vanilla I. Shu" <vanilla@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r328152 - head/converters/lua-iconv Message-ID: <201309241605.r8OG5Xlq082731@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: vanilla Date: Tue Sep 24 16:05:33 2013 New Revision: 328152 URL: http://svnweb.freebsd.org/changeset/ports/328152 Log: Support stagedir. Modified: head/converters/lua-iconv/Makefile Modified: head/converters/lua-iconv/Makefile ============================================================================== --- head/converters/lua-iconv/Makefile Tue Sep 24 15:57:03 2013 (r328151) +++ head/converters/lua-iconv/Makefile Tue Sep 24 16:05:33 2013 (r328152) @@ -16,13 +16,13 @@ USES= pkgconfig iconv PLIST_FILES= %%LUA_MODLIBDIR%%/iconv.so -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's|%%INCDIR%%|-I${PREFIX}/include| ; \ s|%%LIBDIR%%|-L${PREFIX}/lib|; \ s|%%ICONV_LIB%%|${ICONV_LIB}|' ${WRKSRC}/Makefile do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/iconv.so ${LUA_MODLIBDIR} + @if [ ! -d ${STAGEDIR}${LUA_MODLIBDIR} ]; then ${MKDIR} ${STAGEDIR}/${LUA_MODLIBDIR}; fi + @${INSTALL_PROGRAM} ${WRKSRC}/iconv.so ${STAGEDIR}/${LUA_MODLIBDIR} .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309241605.r8OG5Xlq082731>