blob: 965059535f2bab20682fa309bc5474ceef9e9217 (
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
|
# New ports collection makefile for: GOGO-no-coda-petit
# Date created: 06 November, 2003
# Whom: Evgueni V. Gavrilov <aquatique@rusunix.org>
#
# $FreeBSD$
#
PORTNAME= gogo
PORTVERSION= 3.13
CATEGORIES= audio
MASTER_SITES= http://homepage2.nifty.com/kei-i/petit/ \
ftp://rusunix.org/pub/FreeBSD/distfiles/
PKGNAMESUFFIX= petit
DISTNAME= petit313
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= New variant of well-known GOGO-no-coda mp3 encoder
BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
WRKSRC= ${WRKDIR}/${DISTNAME}/FreeBSD
AS = nasm
AFLAGS = -f elf -Ox
ALL_TARGET= test
MAKE_ENV+= AS="${AS}" \
AFLAGS="${AFLAGS}" \
LDFLAGS="${LDFLAGS}"
ONLY_FOR_ARCHS= i386
PLIST_FILES= bin/gogo-petit
OPTIONS= THREADS "build a multithreaded encoder for SMP" Off
.include <bsd.port.pre.mk>
.ifdef(WITH_THREADS)
LDFLAGS+= ${PTHREAD_LIBS}
CFLAGS+= ${PTHREAD_CFLAGS}
MAKEFILE= ${FILESDIR}/Makefile.rfork
.else
MAKEFILE= ${FILESDIR}/Makefile.unthreaded
.endif
.include <bsd.port.post.mk>
|