From fd6141a367cad8846f2d442ada6eb137b18e0eb0 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Wed, 7 May 2014 23:21:59 +0000 Subject: [PATCH] Strip binaries USES=libtool --- audio/libcdaudio/Makefile | 10 ++++++---- audio/libcdaudio/pkg-plist | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/audio/libcdaudio/Makefile b/audio/libcdaudio/Makefile index da8f381fa2dd..e38f2311f429 100644 --- a/audio/libcdaudio/Makefile +++ b/audio/libcdaudio/Makefile @@ -3,16 +3,18 @@ PORTNAME= libcdaudio PORTVERSION= 0.99.12p2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= audio MASTER_SITES= SF MAINTAINER= novel@FreeBSD.org -COMMENT= A library for playing audio CDs +COMMENT= Library for playing audio CDs -USE_AUTOTOOLS= libtool -USES= pathfix pkgconfig +USES= libtool pathfix pkgconfig GNU_CONFIGURE= yes USE_LDCONFIG= yes +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcdaudio.so.1.* + .include diff --git a/audio/libcdaudio/pkg-plist b/audio/libcdaudio/pkg-plist index 9a8acc5d283e..60615475a3ea 100644 --- a/audio/libcdaudio/pkg-plist +++ b/audio/libcdaudio/pkg-plist @@ -1,8 +1,8 @@ bin/libcdaudio-config include/cdaudio.h lib/libcdaudio.a -lib/libcdaudio.la lib/libcdaudio.so lib/libcdaudio.so.1 +lib/libcdaudio.so.1.0.0 libdata/pkgconfig/libcdaudio.pc share/aclocal/libcdaudio.m4