Ampache is a Web-based Audio file manager. It is implemented with MySQL,
and PHP. It allows you to view, edit, and play your audio files via the
web. It has support for playlists, artist and album views, album art,
random play, playback via Http/On the Fly Transcoding and Downsampling,
Vote based playback, Mpd and Icecast, Integrated Flash Player, as well
as per user themes and song play tracking.
WWW: http://ampache.org/
PR: ports/119093
Submitted by: Philippe Audeoud <jadawin at tuxaco.net>
2007-12-31 00:22:57 +00:00
|
|
|
# New ports collection makefile for: ampache
|
|
|
|
# Date created: 28 December 2007
|
|
|
|
# Whom: Philippe Audeoud <jadawin@tuxaco.net>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= ampache
|
2010-02-03 08:58:11 +00:00
|
|
|
PORTVERSION= 3.5.4
|
2011-01-20 13:43:57 +00:00
|
|
|
PORTREVISION= 2
|
Ampache is a Web-based Audio file manager. It is implemented with MySQL,
and PHP. It allows you to view, edit, and play your audio files via the
web. It has support for playlists, artist and album views, album art,
random play, playback via Http/On the Fly Transcoding and Downsampling,
Vote based playback, Mpd and Icecast, Integrated Flash Player, as well
as per user themes and song play tracking.
WWW: http://ampache.org/
PR: ports/119093
Submitted by: Philippe Audeoud <jadawin at tuxaco.net>
2007-12-31 00:22:57 +00:00
|
|
|
CATEGORIES= audio www
|
|
|
|
MASTER_SITES= http://ampache.org/downloads/
|
|
|
|
|
2008-03-12 13:27:28 +00:00
|
|
|
MAINTAINER= jadawin@FreeBSD.org
|
Ampache is a Web-based Audio file manager. It is implemented with MySQL,
and PHP. It allows you to view, edit, and play your audio files via the
web. It has support for playlists, artist and album views, album art,
random play, playback via Http/On the Fly Transcoding and Downsampling,
Vote based playback, Mpd and Icecast, Integrated Flash Player, as well
as per user themes and song play tracking.
WWW: http://ampache.org/
PR: ports/119093
Submitted by: Philippe Audeoud <jadawin at tuxaco.net>
2007-12-31 00:22:57 +00:00
|
|
|
COMMENT= A Web-based Audio file manager
|
|
|
|
|
2011-01-20 13:43:57 +00:00
|
|
|
USE_PHP= mysql pcre session iconv hash gettext mbstring
|
Ampache is a Web-based Audio file manager. It is implemented with MySQL,
and PHP. It allows you to view, edit, and play your audio files via the
web. It has support for playlists, artist and album views, album art,
random play, playback via Http/On the Fly Transcoding and Downsampling,
Vote based playback, Mpd and Icecast, Integrated Flash Player, as well
as per user themes and song play tracking.
WWW: http://ampache.org/
PR: ports/119093
Submitted by: Philippe Audeoud <jadawin at tuxaco.net>
2007-12-31 00:22:57 +00:00
|
|
|
WANT_PHP_WEB= yes
|
|
|
|
|
|
|
|
NO_BUILD= yes
|
2013-04-24 18:10:30 +00:00
|
|
|
USES= gettext
|
Ampache is a Web-based Audio file manager. It is implemented with MySQL,
and PHP. It allows you to view, edit, and play your audio files via the
web. It has support for playlists, artist and album views, album art,
random play, playback via Http/On the Fly Transcoding and Downsampling,
Vote based playback, Mpd and Icecast, Integrated Flash Player, as well
as per user themes and song play tracking.
WWW: http://ampache.org/
PR: ports/119093
Submitted by: Philippe Audeoud <jadawin at tuxaco.net>
2007-12-31 00:22:57 +00:00
|
|
|
|
|
|
|
PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
|
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
|
|
SUB_FILES= pkg-message pkg-deinstall
|
|
|
|
SUB_LIST= PORTNAME=${PORTNAME} \
|
2011-04-14 07:19:07 +00:00
|
|
|
WWWDIR=${WWWDIR} \
|
|
|
|
WWWOWN=${WWWOWN} \
|
|
|
|
WWWGROUP=${WWWGROUP}
|
Ampache is a Web-based Audio file manager. It is implemented with MySQL,
and PHP. It allows you to view, edit, and play your audio files via the
web. It has support for playlists, artist and album views, album art,
random play, playback via Http/On the Fly Transcoding and Downsampling,
Vote based playback, Mpd and Icecast, Integrated Flash Player, as well
as per user themes and song play tracking.
WWW: http://ampache.org/
PR: ports/119093
Submitted by: Philippe Audeoud <jadawin at tuxaco.net>
2007-12-31 00:22:57 +00:00
|
|
|
|
2009-05-07 07:34:48 +00:00
|
|
|
MAN1= ampache.1
|
|
|
|
MANCOMPRESSED= no
|
|
|
|
|
|
|
|
PORTDOCS= CHANGELOG README MIGRATION INSTALL
|
|
|
|
|
Ampache is a Web-based Audio file manager. It is implemented with MySQL,
and PHP. It allows you to view, edit, and play your audio files via the
web. It has support for playlists, artist and album views, album art,
random play, playback via Http/On the Fly Transcoding and Downsampling,
Vote based playback, Mpd and Icecast, Integrated Flash Player, as well
as per user themes and song play tracking.
WWW: http://ampache.org/
PR: ports/119093
Submitted by: Philippe Audeoud <jadawin at tuxaco.net>
2007-12-31 00:22:57 +00:00
|
|
|
do-install:
|
2009-05-07 07:34:48 +00:00
|
|
|
@${MKDIR} ${WWWDIR}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/docs/man/man1/ampache.1 ${MAN1PREFIX}/man/man1
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
.for doc in ${PORTDOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/${doc} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
${RM} -rf ${WRKSRC}/docs/man
|
|
|
|
(cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${WWWDIR})
|
Ampache is a Web-based Audio file manager. It is implemented with MySQL,
and PHP. It allows you to view, edit, and play your audio files via the
web. It has support for playlists, artist and album views, album art,
random play, playback via Http/On the Fly Transcoding and Downsampling,
Vote based playback, Mpd and Icecast, Integrated Flash Player, as well
as per user themes and song play tracking.
WWW: http://ampache.org/
PR: ports/119093
Submitted by: Philippe Audeoud <jadawin at tuxaco.net>
2007-12-31 00:22:57 +00:00
|
|
|
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|