From owner-svn-ports-all@FreeBSD.ORG Tue Sep 24 16:05:33 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9B829B64; Tue, 24 Sep 2013 16:05:33 +0000 (UTC) (envelope-from vanilla@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 88FA02719; Tue, 24 Sep 2013 16:05:33 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r8OG5XdC082732; Tue, 24 Sep 2013 16:05:33 GMT (envelope-from vanilla@svn.freebsd.org) Received: (from vanilla@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r8OG5Xlq082731; Tue, 24 Sep 2013 16:05:33 GMT (envelope-from vanilla@svn.freebsd.org) Message-Id: <201309241605.r8OG5Xlq082731@svn.freebsd.org> From: "Vanilla I. Shu" Date: Tue, 24 Sep 2013 16:05:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r328152 - head/converters/lua-iconv X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Sep 2013 16:05:33 -0000 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