freebsd-ports/www/mod_musicindex/Makefile

52 lines
1.3 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: mod_musicindex
# Date created: Nov 1 2003
# Whom: clsung
#
# $FreeBSD$
#
PORTNAME= mod_musicindex
2005-01-17 22:15:10 +01:00
PORTVERSION= 0.99.7
2005-10-28 09:59:53 +02:00
PORTREVISION= 3
CATEGORIES= www audio
# 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}
MAINTAINER= ports@fsck.ch
COMMENT= Apache module in C that implements the perl module Apache::MP3
LIB_DEPENDS= vorbis.3:${PORTSDIR}/audio/libvorbis \
2005-10-28 09:59:53 +02:00
id3tag.0:${PORTSDIR}/audio/libid3tag \
2005-01-17 22:15:10 +01:00
mad.2:${PORTSDIR}/audio/libmad \
2005-03-16 15:50:13 +01:00
FLAC.7:${PORTSDIR}/audio/flac
2005-01-17 22:15:10 +01:00
CPPFLAGS= -DHAS_MP3 -DHAS_OGG -DHAS_FLAC
CFLAGS+= -I${LOCALBASE}/include
#WANT_APACHE= YES
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/libapache-mod-musicindex-${PORTVERSION}
SUB_FILES= pkg-message
2005-01-17 22:15:10 +01:00
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/www/apache20/Makefile.modules.3rd"
2005-01-17 22:15:10 +01:00
MAKE_ENV+= APXS=${APXS} CPPFLAGS="${CPPFLAGS}" LDFLAGS="-L${LOCALBASE}/lib"
2005-01-17 22:15:10 +01:00
.if "${AP_VER}"=="2"
MAKE_ENV+= APACHE_VERSION=2 APRCONFIG=${LOCALBASE}/lib/apache2/apr-config
.endif
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
@${ECHO_MSG} ""
@${CAT} ${PKGMESSAGE}
@${ECHO_MSG} ""
2005-01-17 22:15:10 +01:00
.include <bsd.port.post.mk>