1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

Update to 1.0.26

Use options helpers
Use USES=localbase
This commit is contained in:
Baptiste Daroussin 2015-12-05 10:01:33 +00:00
parent c51a425f4d
commit d29da10059
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=403051
3 changed files with 25 additions and 14 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= libsndfile
PORTVERSION= 1.0.25
PORTREVISION= 5
PORTVERSION= 1.0.26
CATEGORIES= audio
MASTER_SITES= http://www.mega-nerd.com/libsndfile/files/
@ -12,19 +11,16 @@ COMMENT= Reading and writing files containing sampled sound (like WAV or AIFF)
LICENSE= LGPL21
USES= gmake libtool:keepla pathfix pkgconfig
USES= gmake libtool localbase pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-gcc-pipe \
--disable-sqlite \
--disable-alsa \
--disable-octave
CPPFLAGS+= -isystem /usr/include -isystem ${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
--disable-octave \
--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
USE_LDCONFIG= yes
TEST_TARGET= check
PORTDOCS= AUTHORS ChangeLog NEWS README libsndfile.css \
new_file_type.HOWTO libsndfile.jpg *.html
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= CPU_CLIP EXTERNAL DOCS
OPTIONS_DEFAULT= EXTERNAL
@ -41,7 +37,7 @@ EXTERNAL_CONFIGURE_OFF= --disable-external-libs
post-patch:
@${REINPLACE_CMD} -e '/^SUBDIRS =/s/ doc / /g' ${WRKSRC}/Makefile.in
post-install:
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${TAR} -C ${WRKSRC}/doc --exclude "*Makefile*" --exclude "*.in" \
-cf - . | ${TAR} -C ${STAGEDIR}${DOCSDIR} --unlink -xf -

View File

@ -1,2 +1,2 @@
SHA256 (libsndfile-1.0.25.tar.gz) = 59016dbd326abe7e2366ded5c344c853829bebfd1702ef26a07ef662d6aa4882
SIZE (libsndfile-1.0.25.tar.gz) = 1060692
SHA256 (libsndfile-1.0.26.tar.gz) = cd6520ec763d1a45573885ecb1f8e4e42505ac12180268482a44b28484a25092
SIZE (libsndfile-1.0.26.tar.gz) = 1080727

View File

@ -12,10 +12,9 @@ bin/sndfile-salvage
include/sndfile.h
include/sndfile.hh
lib/libsndfile.a
lib/libsndfile.la
lib/libsndfile.so
lib/libsndfile.so.1
lib/libsndfile.so.1.0.25
lib/libsndfile.so.1.0.26
libdata/pkgconfig/sndfile.pc
man/man1/sndfile-cmp.1.gz
man/man1/sndfile-concat.1.gz
@ -26,3 +25,19 @@ man/man1/sndfile-interleave.1.gz
man/man1/sndfile-metadata-get.1.gz
man/man1/sndfile-metadata-set.1.gz
man/man1/sndfile-play.1.gz
man/man1/sndfile-salvage.1.gz
%%PORTDOCS%%%%DOCSDIR%%/FAQ.html
%%PORTDOCS%%%%DOCSDIR%%/api.html
%%PORTDOCS%%%%DOCSDIR%%/bugs.html
%%PORTDOCS%%%%DOCSDIR%%/command.html
%%PORTDOCS%%%%DOCSDIR%%/dither.html
%%PORTDOCS%%%%DOCSDIR%%/embedded_files.html
%%PORTDOCS%%%%DOCSDIR%%/index.html
%%PORTDOCS%%%%DOCSDIR%%/libsndfile.css
%%PORTDOCS%%%%DOCSDIR%%/libsndfile.jpg
%%PORTDOCS%%%%DOCSDIR%%/lists.html
%%PORTDOCS%%%%DOCSDIR%%/new_file_type.HOWTO
%%PORTDOCS%%%%DOCSDIR%%/octave.html
%%PORTDOCS%%%%DOCSDIR%%/sndfile_info.html
%%PORTDOCS%%%%DOCSDIR%%/tutorial.html
%%PORTDOCS%%%%DOCSDIR%%/win32.html