2001-03-18 00:08:05 -05:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: flac
|
|
|
|
# Date created: Mar 18, 2001
|
|
|
|
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= flac
|
2001-06-07 22:06:30 -04:00
|
|
|
PORTVERSION= 0.10
|
2001-06-10 10:03:01 -04:00
|
|
|
PORTREVISION= 1
|
2001-03-18 00:08:05 -05:00
|
|
|
CATEGORIES= audio
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
|
|
|
|
2001-06-07 22:06:30 -04:00
|
|
|
MAINTAINER= naddy@mips.inka.de
|
2001-03-18 00:08:05 -05:00
|
|
|
|
|
|
|
.if defined(WITH_XMMS)
|
|
|
|
BUILD_DEPENDS+= xmms-config:${PORTSDIR}/audio/xmms
|
|
|
|
LIB_DEPENDS+= xmms.1:${PORTSDIR}/audio/xmms
|
2001-06-10 10:03:01 -04:00
|
|
|
PLIST_SUB= XMMS=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB= XMMS="@comment "
|
2001-03-18 00:08:05 -05:00
|
|
|
.endif
|
|
|
|
|
2001-06-07 22:06:30 -04:00
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
2001-06-09 00:57:03 -04:00
|
|
|
BUILD_DEPENDS+= nasm:${PORTSDIR}/devel/nasm
|
2001-06-07 22:06:30 -04:00
|
|
|
.endif
|
|
|
|
|
2001-03-18 00:08:05 -05:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
USE_AUTOCONF= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
USE_GMAKE= yes
|
|
|
|
|
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
|
|
|
post-install:
|
2001-06-10 10:03:01 -04:00
|
|
|
.if !defined(NOPORTDOCS)
|
2001-03-18 00:08:05 -05:00
|
|
|
${MKDIR} ${PREFIX}/share/doc/flac
|
2001-04-03 02:18:48 -04:00
|
|
|
${MKDIR} ${PREFIX}/share/doc/flac/images
|
2001-05-27 15:05:43 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${PREFIX}/share/doc/flac
|
2001-06-07 22:06:30 -04:00
|
|
|
.for file in 1x1.gif cafebug.gif logo.jpg
|
2001-05-27 15:05:43 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/images/${file} ${PREFIX}/share/doc/flac/images
|
2001-04-03 02:18:48 -04:00
|
|
|
.endfor
|
2001-03-18 00:08:05 -05:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|