aboutsummaryrefslogtreecommitdiff
path: root/audio/xmms-crossfade/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-04-30 16:57:02 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-04-30 16:57:02 +0000
commiteb59c0e13175f8e780be6cc42271c42a1ab322c2 (patch)
tree708389bf23a6e69b2b1654a1dff0291d90c191cb /audio/xmms-crossfade/Makefile
parentc667e38ff2f17e232c455b08d609770dced5012f (diff)
- Update to 0.3.10
- Take maintainership PR: ports/91181 Submitted by: Andrew Pantyukhin <infofarmer@gmail.com>
Notes
Notes: svn path=/head/; revision=160926
Diffstat (limited to 'audio/xmms-crossfade/Makefile')
-rw-r--r--audio/xmms-crossfade/Makefile52
1 files changed, 31 insertions, 21 deletions
diff --git a/audio/xmms-crossfade/Makefile b/audio/xmms-crossfade/Makefile
index 57dea306deae..0cd47464253f 100644
--- a/audio/xmms-crossfade/Makefile
+++ b/audio/xmms-crossfade/Makefile
@@ -5,33 +5,43 @@
# $FreeBSD$
#
-PORTNAME= xmms-crossfade
-PORTVERSION= 0.3.8
-PORTREVISION= 1
+PORTNAME= crossfade
+PORTVERSION= 0.3.10
CATEGORIES= audio
-MASTER_SITES= http://www.eisenlohr.org/xmms-crossfade/
+MASTER_SITES= http://www.eisenlohr.org/xmms-crossfade/ \
+ http://bsd1.csme.ru/myports/ \
+ http://bsd2.csme.ru/myports/ \
+ http://bsd3.csme.ru/myports/
+PKGNAMEPREFIX= ${APP}-
+DISTNAME= xmms-${PORTNAME}-${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
-COMMENT= XMMS Output plugin for crossfading between songs
+MAINTAINER= infofarmer@gmail.com
+COMMENT= A Crossfading/Gapless Plugin
-LIB_DEPENDS= xmms.4:${PORTSDIR}/multimedia/xmms
+LIB_DEPENDS?= xmms.4:${PORTSDIR}/multimedia/xmms
USE_X_PREFIX= yes
-GNU_CONFIGURE= yes
-USE_GMAKE= yes
-USE_GNOME= gtk12
-INSTALLS_SHLIB= yes
-USE_REINPLACE= yes
+HAS_CONFIGURE= yes
+APP?= xmms
+PLUGDIR?= lib/${APP}/Output
+PORTDOCS= README
+PLIST_FILES= ${PLUGDIR}/libcrossfade.so
+DOCSDIR?= ${PREFIX}/share/doc/${UNIQUENAME}
+CONFIGURE_ARGS+= --enable-player=${APP}
-pre-patch:
- ${REINPLACE_CMD} "s|@libdir@|${PREFIX}/lib/xmms/Output|" \
- ${WRKSRC}/Makefile.in
+.ifndef WITHOUT_SAMPLERATE
+LIB_DEPENDS+= samplerate.1:${PORTSDIR}/audio/libsamplerate
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+CONFIGURE_ARGS+=--enable-samplerate
+.endif
-post-install:
-.ifndef(NOPORTDOCS)
- @${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m ${SHAREMODE} \
- ${PREFIX}/share/doc/${PORTNAME}
- @${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/${PORTNAME}
-.endif # !NOPORTDOCS
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/.libs/libcrossfade.so ${PREFIX}/${PLUGDIR}
+.ifndef NOPORTDOCS
+ ${INSTALL_DATA} -d -m 555 ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
+.endif
.include <bsd.port.mk>