svn commit: r362907 - head/devel/ossp-l2

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


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

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

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

Modified: head/devel/ossp-l2/Makefile
==============================================================================
--- head/devel/ossp-l2/Makefile	Fri Jul 25 13:50:14 2014	(r362906)
+++ head/devel/ossp-l2/Makefile	Fri Jul 25 13:50:21 2014	(r362907)
@@ -3,18 +3,22 @@
 
 PORTNAME=	l2
 PORTVERSION=	0.9.13
+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
 COMMENT=	C library for a flexible and sophisticated Unix logging facility
 
+USES=		libtool
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 
 check:	build
 	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/l2tool ${STAGEDIR}${PREFIX}/lib/libl2.so
+
 .include <bsd.port.mk>

Modified: head/devel/ossp-l2/pkg-plist
==============================================================================
--- head/devel/ossp-l2/pkg-plist	Fri Jul 25 13:50:14 2014	(r362906)
+++ head/devel/ossp-l2/pkg-plist	Fri Jul 25 13:50:21 2014	(r362907)
@@ -2,9 +2,9 @@ bin/l2-config
 bin/l2tool
 include/l2.h
 lib/libl2.a
-lib/libl2.la
 lib/libl2.so
 lib/libl2.so.9
+lib/libl2.so.9.0.33
 man/man1/l2-config.1.gz
 man/man1/l2tool.1.gz
 man/man3/l2.3.gz


More information about the svn-ports-all mailing list