aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/libdvbcsa
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-07-16 04:56:44 +0800
committertijl <tijl@FreeBSD.org>2014-07-16 04:56:44 +0800
commit963104bd2e4c3ddc06484d4a0f04b1c77da93cbd (patch)
treeb72de98d1d08e8e7c7f17219eb57b69794eb1221 /multimedia/libdvbcsa
parent77531ad72dc33b754b43cf13cb9b435c19065ab4 (diff)
downloadfreebsd-ports-gnome-963104bd2e4c3ddc06484d4a0f04b1c77da93cbd.tar.gz
freebsd-ports-gnome-963104bd2e4c3ddc06484d4a0f04b1c77da93cbd.tar.zst
freebsd-ports-gnome-963104bd2e4c3ddc06484d4a0f04b1c77da93cbd.zip
- Add USES=libtool and INSTALL_TARGET=install-strip
- Auto-detect CPU features
Diffstat (limited to 'multimedia/libdvbcsa')
-rw-r--r--multimedia/libdvbcsa/Makefile12
-rw-r--r--multimedia/libdvbcsa/pkg-plist2
2 files changed, 10 insertions, 4 deletions
diff --git a/multimedia/libdvbcsa/Makefile b/multimedia/libdvbcsa/Makefile
index 081369712309..e1e80286c834 100644
--- a/multimedia/libdvbcsa/Makefile
+++ b/multimedia/libdvbcsa/Makefile
@@ -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 Common Scrambling Algorithm
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>
diff --git a/multimedia/libdvbcsa/pkg-plist b/multimedia/libdvbcsa/pkg-plist
index 025a6c69f492..3abbc2062754 100644
--- a/multimedia/libdvbcsa/pkg-plist
+++ b/multimedia/libdvbcsa/pkg-plist
@@ -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