5cddfa9836
NO_BIN_ON_CDROM instead.
49 lines
1.3 KiB
Makefile
49 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.9 2003/11/06 20:00:12 reed Exp $
|
|
#
|
|
|
|
DISTNAME= faad2-1.1
|
|
WRKSRC= ${WRKDIR}/faad2
|
|
CATEGORIES= audio
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=faac/}
|
|
|
|
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_CDROM=${RESTRICTED}
|
|
|
|
USE_BUILDLINK2= YES
|
|
USE_GCC_SHLIB= YES
|
|
USE_GMAKE= YES
|
|
USE_LIBTOOL= YES
|
|
|
|
AUTOMAKE_REQD= 1.4
|
|
GNU_CONFIGURE= 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"
|