mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-21 08:42:23 +00:00
a7dac422af
FLAC stands for Free Lossless Audio Codec
40 lines
781 B
Makefile
40 lines
781 B
Makefile
# ex:ts=8
|
|
# New ports collection makefile for: flac
|
|
# Date created: Mar 18, 2001
|
|
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= flac
|
|
PORTVERSION= 0.8
|
|
CATEGORIES= audio
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
|
|
|
MAINTAINER= ijliao@FreeBSD.org
|
|
|
|
.if defined(WITH_XMMS)
|
|
BUILD_DEPENDS+= xmms-config:${PORTSDIR}/audio/xmms
|
|
LIB_DEPENDS+= xmms.1:${PORTSDIR}/audio/xmms
|
|
.endif
|
|
|
|
USE_LIBTOOL= yes
|
|
USE_AUTOMAKE= yes
|
|
USE_AUTOCONF= yes
|
|
GNU_CONFIGURE= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
USE_GMAKE= yes
|
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
post-install:
|
|
.if !defined(NO_PORTDOCS)
|
|
${MKDIR} ${PREFIX}/share/doc/flac
|
|
${CP} -R ${WRKSRC}/doc/ ${PREFIX}/share/doc/flac
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|