From owner-svn-ports-head@FreeBSD.ORG Mon Dec 2 17:31:06 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4EC0FE62; Mon, 2 Dec 2013 17:31:06 +0000 (UTC) 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 390EE16CE; Mon, 2 Dec 2013 17:31:06 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rB2HV6WO000419; Mon, 2 Dec 2013 17:31:06 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rB2HV5Op000417; Mon, 2 Dec 2013 17:31:05 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201312021731.rB2HV5Op000417@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Mon, 2 Dec 2013 17:31:05 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r335516 - head/devel/log4c X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Dec 2013 17:31:06 -0000 Author: sunpoet Date: Mon Dec 2 17:31:05 2013 New Revision: 335516 URL: http://svnweb.freebsd.org/changeset/ports/335516 Log: - Strip binary executable - Support STAGEDIR - While I'm here: - Convert to new options helper - Convert to new LIB_DEPENDS format PR: ports/184437 Submitted by: Rodrigo Osorio (maintainer) Modified: head/devel/log4c/Makefile head/devel/log4c/pkg-plist (contents, props changed) Modified: head/devel/log4c/Makefile ============================================================================== --- head/devel/log4c/Makefile Mon Dec 2 17:24:22 2013 (r335515) +++ head/devel/log4c/Makefile Mon Dec 2 17:31:05 2013 (r335516) @@ -13,23 +13,17 @@ LICENSE= LGPL21 OPTIONS_DEFINE= EXPAT OPTIONS_DEFAULT=EXPAT +EXPAT_CONFIGURE_WITH= expat +EXPAT_LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2 -USES= pathfix +USES= pathfix USE_AUTOTOOLS= libtool USE_LDCONFIG= yes -MAN1= log4c-config.1 - CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -NO_STAGE= yes -.include - -.if ${PORT_OPTIONS:MEXPAT} -LIB_DEPENDS+= expat:${PORTSDIR}/textproc/expat2 -.else -CONFIGURE_ARGS+=--without-expat -.endif +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/liblog4c.so .include Modified: head/devel/log4c/pkg-plist ============================================================================== --- head/devel/log4c/pkg-plist Mon Dec 2 17:24:22 2013 (r335515) +++ head/devel/log4c/pkg-plist Mon Dec 2 17:31:05 2013 (r335516) @@ -29,5 +29,6 @@ lib/liblog4c.la lib/liblog4c.so lib/liblog4c.so.6 libdata/pkgconfig/log4c.pc +man/man1/log4c-config.1.gz share/aclocal/log4c.m4 @dirrm include/log4c