head	1.42;
access;
symbols
	RELEASE_8_3_0:1.36
	RELEASE_9_0_0:1.36
	RELEASE_7_4_0:1.34
	RELEASE_8_2_0:1.34
	RELEASE_6_EOL:1.34
	RELEASE_8_1_0:1.28
	RELEASE_7_3_0:1.24
	RELEASE_8_0_0:1.23
	RELEASE_7_2_0:1.20
	RELEASE_7_1_0:1.20
	RELEASE_6_4_0:1.20
	RELEASE_5_EOL:1.19
	RELEASE_7_0_0:1.17
	RELEASE_6_3_0:1.17
	PRE_XORG_7:1.14
	RELEASE_4_EOL:1.14
	RELEASE_6_2_0:1.14
	RELEASE_6_1_0:1.13
	RELEASE_5_5_0:1.13
	RELEASE_6_0_0:1.11
	RELEASE_5_4_0:1.11
	RELEASE_4_11_0:1.7
	RELEASE_5_3_0:1.7
	RELEASE_4_10_0:1.6
	RELEASE_5_2_1:1.2
	RELEASE_5_2_0:1.2;
locks; strict;
comment	@# @;


1.42
date	2012.11.17.06.02.41;	author svnexp;	state Exp;
branches;
next	1.41;

1.41
date	2012.09.22.21.15.50;	author ohauer;	state Exp;
branches;
next	1.40;

1.40
date	2012.08.18.14.29.08;	author ohauer;	state Exp;
branches;
next	1.39;

1.39
date	2012.07.26.22.20.34;	author ohauer;	state Exp;
branches;
next	1.38;

1.38
date	2012.07.08.19.53.24;	author ohauer;	state Exp;
branches;
next	1.37;

1.37
date	2012.04.20.02.58.53;	author sunpoet;	state Exp;
branches;
next	1.36;

1.36
date	2011.09.23.22.26.03;	author amdmi3;	state Exp;
branches;
next	1.35;

1.35
date	2011.08.20.17.27.45;	author ohauer;	state Exp;
branches;
next	1.34;

1.34
date	2010.11.11.05.22.05;	author pgollucci;	state Exp;
branches;
next	1.33;

1.33
date	2010.11.11.05.20.35;	author pgollucci;	state Exp;
branches;
next	1.32;

1.32
date	2010.10.20.03.26.33;	author pgollucci;	state Exp;
branches;
next	1.31;

1.31
date	2010.09.22.21.50.02;	author pgollucci;	state Exp;
branches;
next	1.30;

1.30
date	2010.09.16.03.38.01;	author pgollucci;	state Exp;
branches;
next	1.29;

1.29
date	2010.08.11.20.58.04;	author makc;	state Exp;
branches;
next	1.28;

1.28
date	2010.06.06.20.44.03;	author naddy;	state Exp;
branches;
next	1.27;

1.27
date	2010.05.31.02.01.28;	author ade;	state Exp;
branches;
next	1.26;

1.26
date	2010.05.26.22.00.47;	author pgollucci;	state Exp;
branches;
next	1.25;

1.25
date	2010.05.25.20.17.34;	author pgollucci;	state Exp;
branches;
next	1.24;

1.24
date	2009.12.21.08.49.59;	author linimon;	state Exp;
branches;
next	1.23;

1.23
date	2009.08.05.02.21.50;	author pgollucci;	state Exp;
branches;
next	1.22;

1.22
date	2009.07.06.21.25.59;	author naddy;	state Exp;
branches;
next	1.21;

1.21
date	2009.05.27.22.14.34;	author erwin;	state Exp;
branches;
next	1.20;

1.20
date	2008.06.06.14.07.01;	author edwin;	state Exp;
branches;
next	1.19;

1.19
date	2008.04.11.15.23.17;	author pav;	state Exp;
branches;
next	1.18;

1.18
date	2008.04.07.20.37.23;	author naddy;	state Exp;
branches;
next	1.17;

1.17
date	2007.09.02.16.55.06;	author arved;	state Exp;
branches;
next	1.16;

1.16
date	2007.08.12.12.50.26;	author rafan;	state Exp;
branches;
next	1.15;

1.15
date	2007.07.28.12.27.31;	author miwi;	state Exp;
branches;
next	1.14;

1.14
date	2006.07.06.19.11.21;	author itetcu;	state Exp;
branches;
next	1.13;

1.13
date	2005.12.04.00.18.13;	author clement;	state Exp;
branches;
next	1.12;

1.12
date	2005.10.28.07.59.53;	author jylefort;	state Exp;
branches;
next	1.11;

1.11
date	2005.03.16.14.50.13;	author naddy;	state Exp;
branches;
next	1.10;

1.10
date	2005.02.06.12.07.10;	author edwin;	state Exp;
branches;
next	1.9;

1.9
date	2005.01.22.20.56.55;	author clement;	state Exp;
branches;
next	1.8;

1.8
date	2005.01.17.21.15.09;	author clement;	state Exp;
branches;
next	1.7;

1.7
date	2004.08.18.16.21.52;	author clement;	state Exp;
branches;
next	1.6;

1.6
date	2004.02.04.05.09.31;	author marcus;	state Exp;
branches;
next	1.5;

1.5
date	2003.12.27.13.19.34;	author pav;	state Exp;
branches;
next	1.4;

1.4
date	2003.12.20.16.37.57;	author naddy;	state Exp;
branches;
next	1.3;

1.3
date	2003.12.07.01.27.05;	author marcus;	state Exp;
branches;
next	1.2;

1.2
date	2003.11.20.14.50.03;	author marcus;	state Exp;
branches;
next	1.1;

1.1
date	2003.11.03.16.17.10;	author ijliao;	state Exp;
branches;
next	;


desc
@@


1.42
log
@Switch exporter over
@
text
@# Created by: clsung
# $FreeBSD: head/www/mod_musicindex/Makefile 304723 2012-09-22 21:15:50Z ohauer $

PORTNAME=	mod_musicindex
PORTVERSION=	1.3.7
CATEGORIES=	www audio
MASTER_SITES=	http://www.parisc-linux.org/~varenet/musicindex/
PKGNAMEPREFIX=	${APACHE_PKGNAMEPREFIX}

MAINTAINER=	apache@@FreeBSD.org
COMMENT=	Apache module that allows downloading and streaming of audio

LICENSE=	LGPL21

USE_APACHE=	22

.include <bsd.port.pre.mk>

OPTIONS_DEFINE=	NLS FLAC MP3 MP4 VORBIS LIBARCHIVE FILECACHE MYSQLCACHE
OPTIONS_DEFAULT=NLS MP3 LIBARCHIVE FILECACHE

LIBARCHIVE_DESC=	Archive downloading support
FILECACHE_DESC=		Flat file caching support
MYSQLCACHE_DESC=	MySQL caching support

.include <bsd.port.options.mk>

MAKE_JOBS_SAFE=	yes

GNU_CONFIGURE=	yes
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
CONFIGURE_ARGS=	--with-apxs=${APXS} \
		--disable-libFLACtest --disable-vorbistest

SUB_FILES=	pkg-message
SUB_LIST=	PORTNAME=${PORTNAME}

PORTDOCS=	README

.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT=	yes
CFLAGS+=	-lintl
PLIST_SUB+=	NLS=""
CONFIGURE_ARGS+=--enable-nls
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+=	NLS="@@comment "
.endif

.if ${PORT_OPTIONS:MFLAC}
LIB_DEPENDS+=	FLAC:${PORTSDIR}/audio/flac
CONFIGURE_ARGS+=	--enable-flac
.else
CONFIGURE_ARGS+=	--disable-flac
.endif

.if ${PORT_OPTIONS:MMP3}
LIB_DEPENDS+=	id3tag:${PORTSDIR}/audio/libid3tag \
		mad:${PORTSDIR}/audio/libmad
CONFIGURE_ARGS+=	--enable-mp3
.else
CONFIGURE_ARGS+=	--disable-mp3
.endif

.if ${PORT_OPTIONS:MMP4}
LIB_DEPENDS+=	mp4v2:${PORTSDIR}/multimedia/mp4v2
CONFIGURE_ARGS+=	--enable-mp4
.else
CONFIGURE_ARGS+=	--disable-mp4
.endif

.if ${PORT_OPTIONS:MVORBIS}
LIB_DEPENDS+=	vorbis:${PORTSDIR}/audio/libvorbis
CONFIGURE_ARGS+=	--enable-vorbis
.else
CONFIGURE_ARGS+=	--disable-vorbis
.endif

.if ${PORT_OPTIONS:MLIBARCHIVE}
CONFIGURE_ARGS+=	--enable-archive
.else
CONFIGURE_ARGS+=	--disable-archive
.endif

.if ${PORT_OPTIONS:MFILECACHE}
CONFIGURE_ARGS+=	--enable-filecache
.else
CONFIGURE_ARGS+=	--disable-filecache
.endif

.if ${PORT_OPTIONS:MMYSQLCACHE}
USE_MYSQL=	yes
CONFIGURE_ARGS+=	--enable-mysqlcache
.else
CONFIGURE_ARGS+=	--disable-mysqlcache
.endif

post-patch:
	@@${REINPLACE_CMD} -e '/@@BUILD_FOR_APACHE2/ s| -i -n musicindex| -a &|' \
		${WRKSRC}/src/Makefile.in
.if ${PORT_OPTIONS:MNLS}
	${RM} ${WRKSRC}/po/*.gmo
.endif

post-build:
.if ${PORT_OPTIONS:MNLS}
	cd ${WRKSRC}/po && ${SETENV} ${MAKE_ENV} ${MAKE} update-gmo
.endif

post-install:
.if ${PORT_OPTIONS:MDOCS}
	@@${MKDIR} ${DOCSDIR}/
	@@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
.endif
	@@${ECHO_MSG} ""
	@@${CAT} ${PKGMESSAGE}
	@@${ECHO_MSG} ""

.include <bsd.port.post.mk>
@


1.41
log
@SVN rev 304723 on 2012-09-22 21:15:50Z by ohauer

- USE_APACHE= s/22+/22/
- adopt new Makefile header

Port build fails on local exp-run with apache24 with
 error: 'conn_rec' has no member named 'remote_ip'

or various other apache22 specific functions/parameters

with hat apache@@
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.40
log
@SVN rev 302724 on 2012-08-18 14:29:08Z by ohauer

- remove www/apache20 and devel/apr0
- s/USE_APACHE= 20+/USE_APACHE= 22+/
- unify s/YES/yes/
- cleanup APACHE_VERSION <= 22 usage
- add entry to MOVED

with hat apache@@
@
text
@d1 1
a1 4
# New ports collection makefile for:	mod_musicindex
# Date created:				Nov 1 2003
# Whom:					clsung
#
a2 1
#
d15 1
a15 1
USE_APACHE=	22+
@


1.39
log
@SVN rev 301585 on 2012-07-26 22:20:34Z by ohauer

- fix support for non default options

with options NG and usage of APACHE_PKGNAMEPREFIX
bsd.port.pre.mk has to be included before OPTIONS
else OPTIONFILE points a non existing location and
additional options are ignored

no version bump, it affects only non default options
@
text
@d19 1
a19 1
USE_APACHE=	20+
@


1.38
log
@- convert to options NG
- add desc. for MP3
@
text
@d19 4
a33 2
USE_APACHE=	20+

d124 1
a124 1
.include <bsd.port.mk>
@


1.37
log
@- Update to 1.3.7

Changes:	http://www.parisc-linux.org/~varenet/musicindex/ChangeLog
PR:		ports/167114
Submitted by:	sunpoet (myself)
Approved by:	pgollucci (with apache hat)
@
text
@d19 8
a26 8
OPTIONS=	NLS "Native language support" on \
		FLAC "FLAC support" off \
		MP3 "MP3 support" on \
		MP4 "MP4 support" off \
		VORBIS "Ogg/Vorbis support" off \
		LIBARCHIVE "Archive downloading support" on \
		FILECACHE "Flat file caching support" on \
		MYSQLCACHE "MySQL caching support" off
d43 1
a43 6
.include <bsd.port.options.mk>

.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+=	NLS="@@comment "
.else
d47 4
d53 4
a56 1
.if defined(WITHOUT_FLAC)
a57 2
.else
LIB_DEPENDS+=	FLAC:${PORTSDIR}/audio/flac
d60 1
a60 3
.if defined(WITHOUT_MP3)
CONFIGURE_ARGS+=	--disable-mp3
.else
d63 3
d68 4
a71 1
.if defined(WITHOUT_MP4)
a72 2
.else
LIB_DEPENDS+=	mp4v2:${PORTSDIR}/multimedia/mp4v2
d75 4
a78 1
.if defined(WITHOUT_VORBIS)
a79 2
.else
LIB_DEPENDS+=	vorbis:${PORTSDIR}/audio/libvorbis
d82 3
a84 1
.if defined(WITHOUT_LIBARCHIVE)
d88 3
a90 1
.if defined(WITHOUT_FILECACHE)
d94 4
a97 1
.if defined(WITHOUT_MYSQLCACHE)
a98 2
.else
USE_MYSQL=	yes
d104 1
a104 1
.if !defined(WITHOUT_NLS)
d109 1
a109 1
.if !defined(WITHOUT_NLS)
d114 1
a114 1
.if !defined(NOPORTDOCS)
@


1.36
log
@- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
@
text
@d9 1
a9 2
PORTVERSION=	1.3.5
PORTREVISION=	1
a97 2
	${MV} ${WRKSRC}/po/pt-br.po ${WRKSRC}/po/pt_BR.po
	cd ${WRKSRC} && ${REINPLACE_CMD} -e 's|pt-br|pt_BR|g' ${WRKSRC}/po/LINGUAS ${WRKSRC}/po/pt_BR.po
@


1.35
log
@ - bump PORTREVISION from ports if USE_APACHE=13+ or 20+ is defined
@
text
@d34 2
a35 1
CONFIGURE_ENV=	CPPFLAGS=-I${LOCALBASE}/include LDFLAGS=-L${LOCALBASE}/lib
@


1.34
log
@Forced commit to note:
- Add new option: MYSQLCACHE for MySQL caching support
- Add LICENSE
- Install Brazilian Portugese language files to pt_BR instead of pt-br
- Sort PLIST
- Space/tab twiddle
- Update to 1.3.5

which should have been in the previous log
@
text
@d10 1
d31 1
a31 1
USE_APACHE=	2.0+
@


1.33
log
@- Update to 1.3.5

PR:             ports/152057
Submitted by:   sunpoet
With Hat:       apache@@
@
text
@@


1.32
log
@- Fix some MASTER_SITES

With Hat:       apache@@
Reported by:    distilator
@
text
@d9 1
a9 2
PORTVERSION=	1.3.3
PORTREVISION=	4
d11 1
a11 1
MASTER_SITES=	http://www.parisc-linux.org/~varenet/musicindex/oldsrc/
d17 2
d25 2
a26 1
		FILECACHE "Caching support" on
d34 2
a35 1
CONFIGURE_ARGS+=	--with-apxs=${APXS}
d45 1
a45 1
CONFIGURE_ARGS+=	--disable-nls
d60 1
a60 1
CONFIGURE_ARGS+=--disable-mp3
d86 20
@


1.31
log
@- Mark mod_* modules MAKE_JOBS_SAFE=yes

With Hat:   apache@@
Tested by:  Several P6 TB runs
@
text
@d12 1
a12 2
MASTER_SITES=	http://www.parisc-linux.org/~varenet/musicindex/ \
		http://depot.fsck.ch/mirror/distfiles/
@


1.30
log
@- Fix pkg-plist
  The default install-exec-hook calls apxs but without -a/-A
  which confuses our std pkg-plist @@exec/@@unexec stanzas

Reported by:    erwin via pointyhat
@
text
@d27 2
@


1.29
log
@Chase multimedia/mp4v2 update.

PR:		ports/148643
Submitted by:	Christopher Key <cjk32 at cam.ac.uk>
@
text
@d10 1
a10 1
PORTREVISION=	3
@


1.28
log
@Bump PORTREVISION for ports that depend on libogg, directly or indirectly
(via libvorbis, libtheora).
@
text
@d10 1
a10 1
PORTREVISION=	2
d65 1
a65 1
LIB_DEPENDS+=	mp4v2:${PORTSDIR}/multimedia/mpeg4ip-libmp4v2
@


1.27
log
@Bounce PORTREVISION for gettext-related ports.  Have fun, ya'll.
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.26
log
@- Update to 1.3.3
- require apache20+ [unbreaks build on 8.0+]
- a few minor clean ups

With Hat:   apache@@
@
text
@d10 1
@


1.25
log
@Mk/bsd.apache.mk can not sufficiently alter things before Mk/bsd.options.mk
in Mk/bsd.ports.mk due to ordering in Mk/bsd.port.mk.  This causes OPTIONSFILE
to be incorrectly set during some make phases as a result of the recent
PKGNAMEPREFIX for apache ports.

'Revert' some of the PKGNAMEPREFIX changes for apXX-.
   - Must be manually requested in tbe port Makefile either by
     a) AP_FAST_BUILD=yes
     b) PKGNAMEPREFIX=${APACHE_PKGNAMEPREFIX}
   - Going forward, we will only do this for ports where WITH_APACHE
       is NOT optional, but required.  mod_* ports are a good fit.

141 ports are mod_ ports
  80 of those use AP_FAST_BUILD and thus are auto hooked by this patch [a].
  61 remaining are then patched to mirror the other $lang frameworks [b].

PR:             ports/146956
Reported by:    Hans F. Nordhaug <Hans.F.Nordhaug@@hiMolde.no>, several
Discussed with: pav, itectu on #bsdports
Tested by:      P6 TB run
Approved by:    portmgr (pav)
@
text
@d9 1
a9 2
PORTVERSION=	1.2.2
PORTREVISION=	2
d26 2
a27 1
USE_APACHE=	1.3+
d31 1
a31 1
PORTDOCS=	README
d35 1
a35 1
.include <bsd.port.pre.mk>
d37 1
a37 3
.if ${OSVERSION} >= 800000
BROKEN=		does not build
.endif
d83 2
a84 2
	@@${MKDIR} ${DOCSDIR}
	@@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
d90 1
a90 1
.include <bsd.port.post.mk>
@


1.24
log
@Apparently the earlier change to maintainer was an error; apache@@fsck.ch
bounces.  Assign to apache@@FreeBSD.org instead.

Hat:		portmgr
@
text
@d14 1
@


1.23
log
@over to apache@@
@
text
@d15 1
a15 1
MAINTAINER=	apache@@fsck.ch
@


1.22
log
@Bump PORTREVISION after libogg and libvorbisfile major version increment.
@
text
@d15 1
a15 1
MAINTAINER=	ports@@fsck.ch
@


1.21
log
@Mark BROKEN on 8.x: does not build.
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.20
log
@Bump portrevision due to upgrade of devel/gettext.

The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@@
Approved by:    portmgr (pav)
@
text
@d36 4
@


1.19
log
@- Update to 1.2.2

PR:		ports/122568
Submitted by:	Tobias Roth <ports@@fsck.ch> (maintainer)
@
text
@d10 1
@


1.18
log
@Update to FLAC 1.2.1.  This version includes two and a half years
worth of changes and an altered API.

Bump the revision of all ports that depend on libFLAC and adapt to
the new API where necessary.  Some patches from Debian, Gentoo,
OpenBSD, and upstream repositories.

PR:	119476
@
text
@d9 1
a9 2
PORTVERSION=	1.2.1
PORTREVISION=	1
@


1.17
log
@Update to 1.2.1

PR:		115983
Submitted by:	Tobias Roth <ports@@fsck.ch>
@
text
@d10 1
@


1.16
log
@- Update to 1.2.0

PR:		ports/115280
Submitted by:	Tobias Roth <ports at fsck.ch> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.2.0
@


1.15
log
@- Chase increase of audio/libvorbis shlib version.
- Bump PORTREVISION
@
text
@d9 1
a9 2
PORTVERSION=	0.99.7
PORTREVISION=	4
d11 2
a12 4
# Master site doesn't have a current version'd tarball...
#MASTER_SITES=	http://www.parisc-linux.org/~varenet/musicindex/
MASTER_SITES=	http://depot.fsck.ch/mirror/distfiles/
DISTNAME=	libapache-mod-musicindex_${PORTVERSION}
d15 1
a15 1
COMMENT=	Apache module in C that implements the perl module Apache::MP3
d17 13
a29 11
LIB_DEPENDS=	vorbis.4:${PORTSDIR}/audio/libvorbis \
		id3tag.0:${PORTSDIR}/audio/libid3tag \
		mad.2:${PORTSDIR}/audio/libmad \
		FLAC.7:${PORTSDIR}/audio/flac

CPPFLAGS=	-DHAS_MP3 -DHAS_OGG -DHAS_FLAC
CFLAGS+=	-I${LOCALBASE}/include

#WANT_APACHE=	YES
USE_GMAKE=	yes
WRKSRC=		${WRKDIR}/libapache-mod-musicindex-${PORTVERSION}
d31 1
a33 1
.include "${PORTSDIR}/www/apache20/Makefile.modules.3rd"
d35 21
a55 1
MAKE_ENV+=	APXS=${APXS} CPPFLAGS="${CPPFLAGS}" LDFLAGS="-L${LOCALBASE}/lib"
d57 4
a60 4
.if "${AP_VER}"=="2"
MAKE_ENV+=	APACHE_VERSION=2 APRCONFIG=${LOCALBASE}/lib/apache2/apr-config
.if "ARCH" = "amd64"
CFLAGS+=	-fPIC
d62 13
@


1.14
log
@Add -fPIC to CFLAGS on amd64 if using apache2 to fix build in this case.

PR:		ports/98229
Submitted by:	Yuri Pankov <yuri.pankov@@gmail.com>
Approved by:	maintainer
@
text
@d10 1
a10 1
PORTREVISION=	3
d20 1
a20 1
LIB_DEPENDS=	vorbis.3:${PORTSDIR}/audio/libvorbis \
@


1.13
log
@- prepare removal of www/apache2 in favor of www/apache20 for naming
  consistency
- add entries in UPDATING (for apache22 too)

PR:		ports/78119
Repocopied by:	marcus
@
text
@d40 3
@


1.12
log
@Chase libid3tag update.
@
text
@d34 1
a34 1
.include "${PORTSDIR}/www/apache2/Makefile.modules.3rd"
@


1.11
log
@new version of libFLAC
@
text
@d10 1
a10 1
PORTREVISION=	2
d21 1
a21 1
		id3tag.2:${PORTSDIR}/audio/libid3tag \
@


1.10
log
@Remove PORTDOCS, not used here.

Noticed by: krion
@
text
@d10 1
a10 1
PORTREVISION=	1
d23 1
a23 1
		FLAC.5:${PORTSDIR}/audio/flac
@


1.9
log
@- Cleanup the ports and update pkg-message
- Pass maintainership to submitter

PR:		ports/76575
Submitted by:	Tobias Roth <ports@@fsck.ch>
@
text
@a32 3
PORTDOCS=	directory.png musicindex.css fetch.png \
		right_arrow.gif general.png sound.png

@


1.8
log
@- Update to 0.99.7
@
text
@d10 1
d12 3
a14 3
# Master site don't have a current version'd tarball...
#MASTER_SITES=	http://www.esiee.fr/~puffin/musicindex/
MASTER_SITES=	http://sheepkiller.nerim.net/
d17 2
a18 2
MAINTAINER=	apache@@FreeBSD.org
COMMENT=	Apache module in C implements Perl module Apache::MP3
d31 1
d45 9
@


1.7
log
@- Assign maintainership to freshly created apache@@ mailing list
@
text
@d9 1
a9 2
PORTVERSION=	0.9.0
PORTREVISION=	3
d11 3
a13 1
MASTER_SITES=	http://www.esiee.fr/~puffin/musicindex/
a18 2
BUILD_DEPENDS=	${APXS}:${PORTSDIR}/${APACHE_PORT}
RUN_DEPENDS=	${APXS}:${PORTSDIR}/${APACHE_PORT}
d21 2
a22 1
		mad.2:${PORTSDIR}/audio/libmad
d24 4
a27 1
APXS?=		${LOCALBASE}/sbin/apxs
a29 1
MAKE_ENV+=	APXS=${APXS} BUILDDIR=${WRKSRC}
d32 4
a35 1
			right_arrow.gif general.png sound.png
d37 1
a37 11
.if defined (WITH_APACHE2)
MODULE_EXT=	la
MAKEFILE=	Makefile.apache2
PLIST_SUB+=	MOD_DIR=libexec/apache2
APACHE_PORT?=	www/apache2
MAKE_TARGET=	all
.else
MODULE_EXT=	so
PLIST_SUB+=	MOD_DIR=libexec/apache
APACHE_PORT?=	www/apache13
.endif
d39 2
a40 11
post-patch:
	@@${CP} ${WRKSRC}/modules.mk.apache2 ${WRKSRC}/modules.mk
	@@${TOUCH} ${WRKSRC}/.deps

do-install:
	${APXS} -i -n musicindex -A ${WRKSRC}/mod_musicindex.${MODULE_EXT}
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/musicindex/${f} ${DOCSDIR}
.endfor
a41 1
	${CAT} ${PKGMESSAGE}
d43 1
a43 1
.include <bsd.port.mk>
@


1.6
log
@Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.

(Part 1)
@
text
@d15 1
a15 1
MAINTAINER=	ports@@FreeBSD.org
@


1.5
log
@- Use APACHE_PORT in the usual way

PR:		ports/60611
Submitted by:	Matthew Seaman <m.seaman@@infracaninophile.co.uk>
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.4
log
@Catch up with libogg/libvorbis version bump.
@
text
@d18 2
a19 2
BUILD_DEPENDS=	${APXS}:${APACHE_PORT}
RUN_DEPENDS=	${APXS}:${APACHE_PORT}
d36 1
a36 1
APACHE_PORT?=	${PORTSDIR}/www/apache2
d41 1
a41 1
APACHE_PORT?=	${PORTSDIR}/www/apache13
@


1.3
log
@Chase the libmad/libid3tag shared lib version.
@
text
@d10 1
a10 1
PORTREVISION=	1
d20 1
a20 2
LIB_DEPENDS=	ogg.4:${PORTSDIR}/audio/libogg \
		vorbis.2:${PORTSDIR}/audio/libvorbis \
@


1.2
log
@* Fix build on bento
* Update to 0.8.9
* Use PORTDOCS

PR:		59507
Submitted by:	Clement Laforet <sheepkiller@@cultdeadsheep.org>
@
text
@d10 1
d22 2
a23 2
		id3tag.1:${PORTSDIR}/audio/mad \
		mad.1:${PORTSDIR}/audio/mad
@


1.1
log
@add mod_musicindex 0.8.9
Apache module in C implements Perl module Apache::MP3

PR:		58807
Submitted by:	Cheng-Lung Sung <clsung@@dragon2.net>
@
text
@d9 1
a9 1
PORTVERSION=	0.8.9
a24 1
APACHE_PORT?=	${PORTSDIR}/www/apache13
d27 1
d29 1
a29 1
DOCS_HTMLIMAGES=	directory.png musicindex.css fetch.png \
d32 16
d49 1
a49 1
	${APXS} -i -A -n musicindex ${WRKSRC}/mod_musicindex.so
d52 1
a52 1
.for f in ${DOCS_HTMLIMAGES}
@

