aboutsummaryrefslogtreecommitdiffstats
path: root/audio/flac/Makefile
blob: 616163fcad474edc1f3349a2ea8f1312cdf825b4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# 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.9
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
    ${MKDIR} ${PREFIX}/share/doc/flac/images
    ${CP} ${WRKSRC}/doc/*.html ${PREFIX}/share/doc/flac
.for file in logo.jpg 1x1.gif
    ${CP} ${WRKSRC}/doc/images/${file} ${PREFIX}/share/doc/flac/images
.endfor
.endif

.include <bsd.port.mk>