Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Dec 2013 17:31:05 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r335516 - head/devel/log4c
Message-ID:  <201312021731.rB2HV5Op000417@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <rodrigo@bebik.net> (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 <bsd.port.options.mk>
-
-.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 <bsd.port.mk>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312021731.rB2HV5Op000417>