1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- 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)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2013-12-02 17:31:05 +00:00
parent 0b9f0d5cd6
commit f995bfd0b7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335516
2 changed files with 6 additions and 11 deletions

View File

@ -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>

View File

@ -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