From e4be467e6cd54ce0c9f46471bd989e4450c11069 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Fri, 25 Jul 2014 13:50:21 +0000 Subject: [PATCH] - Switch to USES=libtool, drop .la files - Strip libraries --- devel/ossp-l2/Makefile | 8 ++++++-- devel/ossp-l2/pkg-plist | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/devel/ossp-l2/Makefile b/devel/ossp-l2/Makefile index e9405502eda1..92717cabfaf3 100644 --- a/devel/ossp-l2/Makefile +++ b/devel/ossp-l2/Makefile @@ -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@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 diff --git a/devel/ossp-l2/pkg-plist b/devel/ossp-l2/pkg-plist index f7db8bdb74c5..a6f78f73fa35 100644 --- a/devel/ossp-l2/pkg-plist +++ b/devel/ossp-l2/pkg-plist @@ -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