aboutsummaryrefslogtreecommitdiff
path: root/audio/lame/Makefile
blob: f2468eb5bba7dd1a370af7b36b1e5672cc078535 (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
# ports collection makefile for:   lame
# Version required:    3.13
# Date created:        11 January 1998
# Whom:                yoshiaki Uchikawa
#
# $Id: Makefile,v 1.4 1999/07/04 20:44:48 sada Exp $
#

DISTNAME=	dist10
PKGNAME=	lame-3.13
CATEGORIES=	audio
MASTER_SITES=	ftp://ftp.sunet.se/pub/multimedia/Berkeley/mpeg2/conformance-bitstreams/audio/mpeg2/software/technical_report/

PATCH_SITES=	http://www.sulaco.org/mp3/download/patches/
PATCHFILES=	lame3.13.patch.gz

MAINTAINER=	yoshiaki@kt.rim.or.jp

LIB_DEPENDS=	gtk12:${PORTSDIR}/x11-toolkits/gtk12

PATCH_DIST_STRIP = -p1

WRKSRC= 	${WRKDIR}/dist10/lsf/encoder/
USE_GMAKE=	YES
ALL_TARGET=	lame
RESTRICTED=	Condition is not clear

do-install:
	@( cd ${WRKSRC}; ${INSTALL_PROGRAM} lame ${PREFIX}/bin )
	@( cd ${WRKSRC}; ${INSTALL_MAN} doc/man/lame.1 \
	 ${PREFIX}/man/man1 )

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${PREFIX}/share/doc/lame
	@${INSTALL_MAN} ${WRKSRC}/doc/html/*.html \
	 ${WRKSRC}/doc/html/*.css ${PREFIX}/share/doc/lame
.endif

.include <bsd.port.mk>