1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Add USES=libtool and INSTALL_TARGET=install-strip

- Auto-detect CPU features
This commit is contained in:
Tijl Coosemans 2014-07-15 20:56:44 +00:00
parent a2b38dd4eb
commit 6fad0de9b7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362005
2 changed files with 10 additions and 4 deletions

View File

@ -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>

View File

@ -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