blob: 3291babf0548270ee63e688b23d47aa3ac756503 (
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
44
45
46
47
48
49
|
# ports collection makefile for: lame
# Date created: 11 January 1998
# Whom: yoshiaki Uchikawa
#
# $FreeBSD$
#
PORTNAME= lame
PORTVERSION= 3.91
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
ftp://lame.sourceforge.net/pub/
MASTER_SITE_SUBDIR= lame
MAINTAINER= yoshiaki@kt.rim.or.jp
.if ${MACHINE_ARCH} == "i386"
BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
.endif
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
USE_GNOMENG= yes
WANT_GNOME= yes
CONFIGURE_ARGS= --enable-nasm
.include <bsd.port.pre.mk>
.if (${HAVE_GNOME:Mgtk12}!="" || defined(WITH_GTK)) && !defined(WITHOUT_GTK)
USE_GNOME+= gtk12
PLIST_SUB+= WITH_GTK=''
PKGNAMESUFFIX= -gtk
.else
PLIST_SUB+= WITH_GTK='@comment '
.endif
MAN1= lame.1
post-build:
.if ${HAVE_GNOME:Mgtk12}!="" && !defined(WITHOUT_GTK)
cd ${WRKSRC}/frontend && make mp3x
.endif
post-install:
.if ${HAVE_GNOME:Mgtk12}!="" && !defined(WITHOUT_GTK)
${INSTALL_PROGRAM} ${WRKSRC}/frontend/mp3x ${PREFIX}/bin/
.endif
.include <bsd.port.post.mk>
|