blob: ea80ccaa416a687007cc853d994319952dd06235 (
plain)
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
|
# $NetBSD: Makefile,v 1.5 2003/03/29 12:40:06 jmmv Exp $
#
DISTNAME= faad2-1.1
WRKSRC= ${WRKDIR}/faad2
CATEGORIES= audio
MASTER_SITES= http://faac.sourceforge.net/files/
MAINTAINER= dillo@giga.or.at
HOMEPAGE= http://faac.sourceforge.net/
COMMENT= AAC decoding library
RESTRICTED= Dolby doesn't allow binary distributions
NO_BIN_ON_FTP= ${RESTRICTED}
NO_BIN_ON_CD= ${RESTRICTED}
USE_BUILDLINK2= YES
AUTOMAKE_REQD= 1.4
USE_GMAKE= YES
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool ${WRKSRC}/common/mp4v2/libtool
pre-configure:
for dir in . common/mp4v2 ; do \
cd ${WRKSRC}/$$dir; \
${ACLOCAL} -I .; \
${AUTOHEADER}; \
${LOCALBASE}/bin/libtoolize --automake; \
${AUTOMAKE} --add-missing; \
${AUTOCONF}; \
done
.include "../../mk/bsd.prefs.mk"
.if (${OPSYS} == "SunOS")
post-configure:
${CP} ${WRKSRC}/common/faad/getopt.* ${WRKSRC}/frontend
${CP} ${WRKSRC}/frontend/Makefile ${WRKSRC}/frontend/Makefile.orig
${SED} -e "s|^faad_SOURCES.*|& getopt.c|" \
-e "s|^faad_OBJECTS.*|& getopt.$$(OBJEXT)|" \
${WRKSRC}/frontend/Makefile.orig > ${WRKSRC}/frontend/Makefile
.endif
.include "../../audio/libsndfile/buildlink2.mk"
.include "../../mk/automake.mk"
.include "../../mk/bsd.pkg.mk"
|