1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00

Convert to USES=libtool

This commit is contained in:
Baptiste Daroussin 2014-05-06 06:57:32 +00:00
parent 709174d1b9
commit 024b1231b9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=353069
2 changed files with 7 additions and 8 deletions

View File

@ -14,8 +14,7 @@ COMMENT= Free library for decoding ATSC A/52 streams, aka AC-3
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USE_AUTOTOOLS= libtool
USES= gmake
USES= gmake libtool:keepla
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-oss --enable-shared
USE_LDCONFIG= yes
@ -29,11 +28,10 @@ DJBFFT_CFLAGS= -I${LOCALBASE}/include
DJBFFT_LDFLAGS= -L${LOCALBASE}/lib
DJBFFT_CONFIGURE_ON= --enable-djbfft
.include <bsd.port.pre.mk>
.include <bsd.port.options.mk>
.if ${ARCH} == "amd64" || ${ARCH} == "powerpc"
CFLAGS+= -fPIC
.endif
CFLAGS_amd64= -fPIC
CFLAGS_powerpc= -fPIC
HEADER_FILES= liba52/a52_internal.h
@ -50,6 +48,6 @@ post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/liba52.txt ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/liba52/a52_internal.h ${STAGEDIR}${PREFIX}/include/a52dec
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/liba52.so.0
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/liba52.so.0.*
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -5,6 +5,7 @@ include/a52dec/a52_internal.h
include/a52dec/attributes.h
include/a52dec/audio_out.h
include/a52dec/mm_accel.h
lib/liba52.so.0.0.0
lib/liba52.so.0
lib/liba52.so
lib/liba52.la