svn commit: r348619 - head/audio/libconvolve

Pawel Pekala pawel at FreeBSD.org
Wed Mar 19 13:29:00 UTC 2014


Author: pawel
Date: Wed Mar 19 13:28:59 2014
New Revision: 348619
URL: http://svnweb.freebsd.org/changeset/ports/348619
QAT: https://qat.redports.org/buildarchive/r348619/

Log:
  - Staging support
  - Strip library

Modified:
  head/audio/libconvolve/Makefile

Modified: head/audio/libconvolve/Makefile
==============================================================================
--- head/audio/libconvolve/Makefile	Wed Mar 19 13:08:09 2014	(r348618)
+++ head/audio/libconvolve/Makefile	Wed Mar 19 13:28:59 2014	(r348619)
@@ -3,7 +3,7 @@
 
 PORTNAME=	libconvolve
 PORTVERSION=	0.0.8
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	audio
 MASTER_SITES=	SF/heaven/Audio%20Applications/Jack%20Related/jack_convolve/
 EXTRACT_SUFX=	.tgz
@@ -20,7 +20,13 @@ LIB_DEPENDS=	libfftw3.so:${PORTSDIR}/mat
 		libsndfile.so:${PORTSDIR}/audio/libsndfile
 
 USES=		gmake pkgconfig
-NO_STAGE=	yes
 USE_LDCONFIG=	yes
 
+post-patch:
+	@${REINPLACE_CMD} -e '/cp / s|PREFIX|DESTDIR)$$(&|g' \
+		-e '/ln / s|PREFIX|DESTDIR)$$(&|2' \
+		${WRKSRC}/Makefile
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}.so.0.0.8
+
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list