svn commit: r362906 - head/devel/ossp-cfg

Dmitry Marakasov amdmi3 at FreeBSD.org
Fri Jul 25 13:50:15 UTC 2014


Author: amdmi3
Date: Fri Jul 25 13:50:14 2014
New Revision: 362906
URL: http://svnweb.freebsd.org/changeset/ports/362906
QAT: https://qat.redports.org/buildarchive/r362906/

Log:
  - Switch to USES=libtool, drop .la files
  - Strip libraries

Modified:
  head/devel/ossp-cfg/Makefile
  head/devel/ossp-cfg/pkg-plist

Modified: head/devel/ossp-cfg/Makefile
==============================================================================
--- head/devel/ossp-cfg/Makefile	Fri Jul 25 13:49:40 2014	(r362905)
+++ head/devel/ossp-cfg/Makefile	Fri Jul 25 13:50:14 2014	(r362906)
@@ -3,9 +3,9 @@
 
 PORTNAME=	cfg
 PORTVERSION=	0.9.11
+PORTREVISION=	1
 CATEGORIES=	devel
-MASTER_SITES=	${MASTER_SITE_OSSP}
-MASTER_SITE_SUBDIR=	lib/${PORTNAME}
+MASTER_SITES=	OSSP/lib/${PORTNAME}
 PKGNAMEPREFIX=	ossp-
 
 MAINTAINER=	ports at FreeBSD.org
@@ -13,6 +13,7 @@ COMMENT=	Library for parsing arbitrary C
 
 LIB_DEPENDS=	libex.so:${PORTSDIR}/devel/ossp-ex
 
+USES=		libtool
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-ex=${LOCALBASE}
 USE_LDCONFIG=	yes
@@ -20,4 +21,7 @@ USE_LDCONFIG=	yes
 check:	build
 	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcfg.so
+
 .include <bsd.port.mk>

Modified: head/devel/ossp-cfg/pkg-plist
==============================================================================
--- head/devel/ossp-cfg/pkg-plist	Fri Jul 25 13:49:40 2014	(r362905)
+++ head/devel/ossp-cfg/pkg-plist	Fri Jul 25 13:50:14 2014	(r362906)
@@ -1,7 +1,7 @@
 bin/cfg-config
 include/cfg.h
 lib/libcfg.a
-lib/libcfg.la
 lib/libcfg.so
 lib/libcfg.so.9
+lib/libcfg.so.9.0.31
 man/man3/cfg.3.gz


More information about the svn-ports-all mailing list