svn commit: r335516 - head/devel/log4c
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Mon Dec 2 17:31:06 UTC 2013
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 at 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
More information about the svn-ports-all
mailing list