1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Convert from USE_AUTOTOOLS=libtool -> USES=libtool

While here:
- audio/esound:
  * use @sample
  * use install-strip target to strip binaires
- audio/Maaate:
  * strip binaries
- audio/xmms-festalon:
  * strip binaries
- audio/freealut
  * strip binaries
This commit is contained in:
Baptiste Daroussin 2014-04-28 13:54:47 +00:00
parent 30523fa0e6
commit 505daaf521
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=352503
9 changed files with 27 additions and 32 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= Maaate
PORTVERSION= 0.3.1
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= audio
MASTER_SITES= SF/${PORTNAME:L}/${PORTNAME:L}/${PORTNAME}-${PORTVERSION}.tar.gz
@ -12,8 +12,7 @@ COMMENT= MPEG audio analysis toolkit
LICENSE= GPLv2
USES= gmake
USE_AUTOTOOLS= libtool
USES= gmake libtool
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
@ -21,18 +20,15 @@ PORTDOCS= API.html ChangeLog THANKS applications.html
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|-ldl||g ; \
s|(CCLD|(CXXLD|g' ${WRKSRC}/demos/Makefile.in
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.1.* ${STAGEDIR}${PREFIX}/lib/Maaate/*.so.1.*
.include <bsd.port.mk>

View File

@ -25,20 +25,20 @@ include/MaaateA.h
include/MaaateMPEG.h
include/MaaateP.h
lib/Maaate/libMaaateM.a
lib/Maaate/libMaaateM.la
lib/Maaate/libMaaateM.so
lib/Maaate/libMaaateM.so.1
lib/Maaate/libMaaateM.so.1.0.0
lib/libMaaateA.a
lib/libMaaateA.la
lib/libMaaateA.so
lib/libMaaateA.so.1
lib/libMaaateA.so.1.0.0
lib/libMaaateMPEG.a
lib/libMaaateMPEG.la
lib/libMaaateMPEG.so
lib/libMaaateMPEG.so.1
lib/libMaaateMPEG.so.1.0.0
lib/libMaaateP.a
lib/libMaaateP.la
lib/libMaaateP.so
lib/libMaaateP.so.1
lib/libMaaateP.so.1.0.0
@dirrm lib/Maaate
@dirrm include/Maaate

View File

@ -3,6 +3,7 @@
PORTNAME= ecasound
PORTVERSION= 2.9.1
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://ecasound.seul.org/download/ \
http://nosignal.fi/download/ \
@ -20,8 +21,8 @@ OPTIONS_DEFINE= ALSA AUDIOFILE JACK LIBLO LIBOIL PYTHON SAMPLERATE SNDFILE
OPTIONS_DEFAULT=PYTHON
OPTIONS_SUB= yes
USES= gmake readline
USE_AUTOTOOLS= libtool
USES= gmake libtool readline
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-liblilv \
--disable-rubyecasound \
--enable-sys-readline \

View File

@ -152,11 +152,8 @@ include/libecasound/two-stage-linear-envelope.h
include/libecasoundc/eca-control-interface.h
include/libecasoundc/ecasoundc.h
lib/libecasound.a
lib/libecasound.la
lib/libecasoundc.a
lib/libecasoundc.la
lib/libkvutils.a
lib/libkvutils.la
%%PYTHON%%%%PYTHON_SITELIBDIR%%/ecacontrol.py
%%PYTHON%%%%PYTHON_SITELIBDIR%%/eci.py
%%PYTHON%%%%PYTHON_SITELIBDIR%%/pyeca.py

View File

@ -4,7 +4,7 @@
PORTNAME= esound
PORTVERSION= 0.2.41
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= audio
MASTER_SITES= GNOME
DIST_SUBDIR= gnome
@ -14,11 +14,11 @@ COMMENT= Sound library for enlightenment package
LIB_DEPENDS= libaudiofile.so:${PORTSDIR}/audio/libaudiofile
USE_AUTOTOOLS= libtool
USES= pathfix pkgconfig:both tar:bzip2
USES= libtool:keepla pathfix pkgconfig:both tar:bzip2
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= JW=false
INSTALL_TARGET= install-strip
CONFLICTS= py*-ro-[0-9]*
@ -27,7 +27,6 @@ post-patch:
${WRKSRC}/Makefile.in
post-install:
${INSTALL_DATA} ${WRKSRC}/esd.conf ${STAGEDIR}${PREFIX}/etc/esd.conf.default
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libesd*.so.2
${INSTALL_DATA} ${WRKSRC}/esd.conf ${STAGEDIR}${PREFIX}/etc/esd.conf.sample
.include <bsd.port.mk>

View File

@ -9,18 +9,18 @@ bin/esdmon
bin/esdplay
bin/esdrec
bin/esdsample
@unexec if cmp -s %D/etc/esd.conf %D/etc/esd.conf.default; then rm -f %D/etc/esd.conf; fi
etc/esd.conf.default
@exec [ -f %B/esd.conf ] || cp %B/%f %B/esd.conf
@sample etc/esd.conf.sample
include/esd.h
lib/libesd.a
lib/libesd.la
lib/libesd.so
lib/libesd.so.2
lib/libesd.so.2.0.0
lib/libesddsp.a
lib/libesddsp.la
lib/libesddsp.so
lib/libesddsp.so.2
lib/libesddsp.so.2.0.0
libdata/pkgconfig/esound.pc
man/man1/esd-config.1.gz
man/man1/esd.1.gz

View File

@ -3,7 +3,7 @@
PORTNAME= festalon
PORTVERSION= 0.5.5
PORTREVISION= 7
PORTREVISION= 8
CATEGORIES= audio
MASTER_SITES= http://projects.raphnet.net/festalon/ \
CRITICAL
@ -16,8 +16,8 @@ LICENSE= GPLv2
LIB_DEPENDS+= libsamplerate.so:${PORTSDIR}/audio/libsamplerate
USES= pkgconfig tar:bzip2
USE_AUTOTOOLS= libtool
USES= libtool pkgconfig tar:bzip2
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}

View File

@ -3,19 +3,19 @@
PORTNAME= freealut
PORTVERSION= 1.1.0
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= audio
MASTER_SITES= http://connect.creativelabs.com/openal/Downloads/ALUT/
MAINTAINER= oliver@FreeBSD.org
COMMENT= The OpenAL Utility Toolkit
USE_AUTOTOOLS= libtool
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USES= gmake openal:al pathfix pkgconfig
USES= gmake openal:al libtool:oldver pathfix pkgconfig
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
post-patch:
@${REINPLACE_CMD} -e 's/@CFLAGS@/& -lopenal ${PTHREAD_LIBS}/g' \

View File

@ -12,13 +12,15 @@ RUN_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms
USE_GNOME= glib12
CONFIGURE_ARGS+= --enable-interface=interface
INSTALL_TARGET= install-strip
DESCR= ${.CURDIR}/pkg-descr
PLIST= ${.CURDIR}/pkg-plist
PLIST_FILES= lib/xmms/Input/libfestalon_xmms.a \
lib/xmms/Input/libfestalon_xmms.la \
lib/xmms/Input/libfestalon_xmms.so \
lib/xmms/Input/libfestalon_xmms.so.0
lib/xmms/Input/libfestalon_xmms.so.0 \
lib/xmms/Input/libfestalon_xmms.so.0.0.0
.include "${MASTERDIR}/Makefile"