Lines 6-15
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= libsndfile |
8 |
PORTNAME= libsndfile |
9 |
PORTVERSION= 1.0.20 |
9 |
PORTVERSION= 1.0.21 |
10 |
PORTREVISION= 1 |
|
|
11 |
CATEGORIES= audio |
10 |
CATEGORIES= audio |
12 |
MASTER_SITES= http://www.mega-nerd.com/libsndfile/ |
11 |
MASTER_SITES= http://www.mega-nerd.com/libsndfile/files/ |
13 |
|
12 |
|
14 |
MAINTAINER= multimedia@FreeBSD.org |
13 |
MAINTAINER= multimedia@FreeBSD.org |
15 |
COMMENT= Reading and writing files containing sampled sound (like WAV or AIFF) |
14 |
COMMENT= Reading and writing files containing sampled sound (like WAV or AIFF) |
Lines 24-39
Link Here
|
24 |
LDFLAGS="-L${LOCALBASE}/lib" |
23 |
LDFLAGS="-L${LOCALBASE}/lib" |
25 |
USE_LDCONFIG= yes |
24 |
USE_LDCONFIG= yes |
26 |
|
25 |
|
27 |
MAN1= sndfile-convert.1 sndfile-info.1 sndfile-play.1 |
26 |
MAN1= sndfile-concat.1 sndfile-cmp.1 sndfile-convert.1 sndfile-info.1 sndfile-metadata-get.1 sndfile-metadata-set.1 sndfile-play.1 |
28 |
|
27 |
|
29 |
OPTIONS= EXTERNAL "Enable FLAC and Ogg Vorbis support" on |
28 |
OPTIONS= EXTERNAL "Enable FLAC and Ogg Vorbis support" on |
30 |
|
29 |
|
31 |
.include <bsd.port.pre.mk> |
30 |
.include <bsd.port.pre.mk> |
32 |
|
31 |
|
33 |
.if defined(WITHOUT_EXTERNAL) || defined(WITH_FLAC) |
32 |
.if defined(WITHOUT_EXTERNAL) |
34 |
CONFIGURE_ARGS+=--disable-external-libs |
33 |
CONFIGURE_ARGS+=--disable-external-libs |
35 |
.else |
34 |
.else |
36 |
CONFIGURE_ARGS+=--disable-flac |
|
|
37 |
LIB_DEPENDS+= FLAC.10:${PORTSDIR}/audio/flac \ |
35 |
LIB_DEPENDS+= FLAC.10:${PORTSDIR}/audio/flac \ |
38 |
vorbis.4:${PORTSDIR}/audio/libvorbis |
36 |
vorbis.4:${PORTSDIR}/audio/libvorbis |
39 |
.endif |
37 |
.endif |
Lines 44-52
Link Here
|
44 |
post-install: |
42 |
post-install: |
45 |
.if !defined(NOPORTDOCS) |
43 |
.if !defined(NOPORTDOCS) |
46 |
@${MKDIR} ${DOCSDIR} |
44 |
@${MKDIR} ${DOCSDIR} |
47 |
.for file in AUTHORS ChangeLog NEWS README |
|
|
48 |
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} |
49 |
.endfor |
50 |
${TAR} -C ${WRKSRC}/doc --exclude "*Makefile*" --exclude "*.in" \ |
45 |
${TAR} -C ${WRKSRC}/doc --exclude "*Makefile*" --exclude "*.in" \ |
51 |
-cf - . | ${TAR} -C ${DOCSDIR} --unlink -xf - |
46 |
-cf - . | ${TAR} -C ${DOCSDIR} --unlink -xf - |
52 |
@${CHOWN} ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} |
47 |
@${CHOWN} ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} |