svn commit: r362005 - head/multimedia/libdvbcsa

Tijl Coosemans tijl at FreeBSD.org
Tue Jul 15 20:56:45 UTC 2014


Author: tijl
Date: Tue Jul 15 20:56:44 2014
New Revision: 362005
URL: http://svnweb.freebsd.org/changeset/ports/362005
QAT: https://qat.redports.org/buildarchive/r362005/

Log:
  - Add USES=libtool and INSTALL_TARGET=install-strip
  - Auto-detect CPU features

Modified:
  head/multimedia/libdvbcsa/Makefile
  head/multimedia/libdvbcsa/pkg-plist

Modified: head/multimedia/libdvbcsa/Makefile
==============================================================================
--- head/multimedia/libdvbcsa/Makefile	Tue Jul 15 20:42:06 2014	(r362004)
+++ head/multimedia/libdvbcsa/Makefile	Tue Jul 15 20:56:44 2014	(r362005)
@@ -3,6 +3,7 @@
 
 PORTNAME=	libdvbcsa
 PORTVERSION=	1.1.0
+PORTREVISION=	1
 CATEGORIES=	multimedia
 MASTER_SITES=	http://download.videolan.org/pub/videolan/${PORTNAME}/${PORTVERSION}/ \
 		http://ftp.heikorichter.name/pub/videolan/${PORTNAME}/${PORTVERSION}/
@@ -12,10 +13,15 @@ COMMENT=	Free implementation of the DVB 
 
 LICENSE=	GPLv2
 
+GNU_CONFIGURE=	yes
+INSTALL_TARGET=	install-strip
+USES=		libtool
 USE_LDCONFIG=	yes
-HAS_CONFIGURE=	yes
 
-CONFIGURE_ARGS+=        --prefix="${PREFIX}" \
-		--enable-mmx --enable-sse2
+.if defined(MACHINE_CPU) && ${MACHINE_CPU:Msse2}
+CONFIGURE_ARGS+=--enable-sse2
+.elif defined(MACHINE_CPU) && ${MACHINE_CPU:Mmmx}
+CONFIGURE_ARGS+=--enable-mmx
+.endif
 
 .include <bsd.port.mk>

Modified: head/multimedia/libdvbcsa/pkg-plist
==============================================================================
--- head/multimedia/libdvbcsa/pkg-plist	Tue Jul 15 20:42:06 2014	(r362004)
+++ head/multimedia/libdvbcsa/pkg-plist	Tue Jul 15 20:56:44 2014	(r362005)
@@ -1,6 +1,6 @@
 include/dvbcsa/dvbcsa.h
 lib/libdvbcsa.a
-lib/libdvbcsa.la
 lib/libdvbcsa.so
 lib/libdvbcsa.so.1
+lib/libdvbcsa.so.1.0.1
 @dirrm include/dvbcsa


More information about the svn-ports-all mailing list