Make configure script find audio libs

Bump PORTREVISION

PR:		30058
Submitted by:	maintainer
This commit is contained in:
David W. Chapman Jr. 2001-09-15 04:35:42 +00:00
parent 01d130fc0c
commit 8c20164234
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=47841

View file

@ -7,6 +7,7 @@
PORTNAME= ecasound PORTNAME= ecasound
PORTVERSION= 2.0.2 PORTVERSION= 2.0.2
PORTREVISION= 1
CATEGORIES= audio CATEGORIES= audio
MASTER_SITES= http://ecasound.seul.org/download/ \ MASTER_SITES= http://ecasound.seul.org/download/ \
${MASTER_SITE_SOURCEFORGE} ${MASTER_SITE_SOURCEFORGE}
@ -21,6 +22,9 @@ USE_AUTOCONF= yes
USE_LIBTOOL= yes USE_LIBTOOL= yes
INSTALLS_SHLIB= yes INSTALLS_SHLIB= yes
CONFIGURE_ARGS+= --enable-sys-readline
MAKE_ENV+= ${CONFIGURE_ENV}
.if defined(WITH_MPG123) .if defined(WITH_MPG123)
RUN_DEPENDS+= mpg123:${PORTSDIR}/audio/mpg123 RUN_DEPENDS+= mpg123:${PORTSDIR}/audio/mpg123
.endif .endif
@ -34,6 +38,11 @@ RUN_DEPENDS+= mikmod:${PORTSDIR}/audio/mikmod
.endif .endif
.if defined(WITH_AUDIOFILE) .if defined(WITH_AUDIOFILE)
# very crappy hack to detect audiofile properly
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
CFLAGS="-I${LOCALBASE}/include ${CFLAGS}" \
CXXFLAGS="-I${LOCALBASE}/include ${CXXFLAGS}"
LIB_DEPENDS+= audiofile.0:${PORTSDIR}/audio/libaudiofile LIB_DEPENDS+= audiofile.0:${PORTSDIR}/audio/libaudiofile
.else .else
CONFIGURE_ARGS+= --disable-audiofile CONFIGURE_ARGS+= --disable-audiofile
@ -43,21 +52,19 @@ CONFIGURE_ARGS+= --disable-audiofile
#USE_PYTHON= yes #USE_PYTHON= yes
#PLIST_SUB+= WITH_PYECASOUND="" #PLIST_SUB+= WITH_PYECASOUND=""
#.else #.else
#CONFIGURE_ARGS+= --disable-pyecasound CONFIGURE_ARGS+= --disable-pyecasound
#PLIST_SUB+= WITH_PYECASOUND="@comment " PLIST_SUB+= WITH_PYECASOUND="@comment "
#.endif #.endif
MAN1= ecasound-iam.1 ecasound.1 ecatools.1 MAN1= ecasound-iam.1 ecasound.1 ecatools.1
MAN5= ecasoundrc.5 MAN5= ecasoundrc.5
#post-install:
post-install: post-install:
.if !defined(NOPORTDOCS) .if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/ecasound ${MKDIR} ${PREFIX}/share/doc/ecasound
${MKDIR} ${PREFIX}/share/doc/ecasound/programmers_guide ${MKDIR} ${PREFIX}/share/doc/ecasound/programmers_guide
${MKDIR} ${PREFIX}/share/doc/ecasound/users_guide ${MKDIR} ${PREFIX}/share/doc/ecasound/users_guide
${INSTALL_MAN} ${WRKSRC}/Documentation/*.html \ ${INSTALL_MAN} ${WRKSRC}/Documentation/*.html ${WRKSRC}/Documentation/*.txt \
${WRKSRC}/Documentation/*.txt \
${PREFIX}/share/doc/ecasound ${PREFIX}/share/doc/ecasound
${INSTALL_MAN} ${WRKSRC}/Documentation/programmers_guide/*.html \ ${INSTALL_MAN} ${WRKSRC}/Documentation/programmers_guide/*.html \
${PREFIX}/share/doc/ecasound/programmers_guide ${PREFIX}/share/doc/ecasound/programmers_guide