pkgsrc - initial commit
[pkgsrc.git] / audio / bmp / Makefile
1 # $NetBSD: Makefile,v 1.27 2009/08/26 20:20:32 sno Exp $
2 #
3
4 BMP_ENABLE_ENCODERS=    yes
5 PKG_DESTDIR_SUPPORT=    user-destdir
6
7 .include "Makefile.common"
8
9 PKGREVISION=            6
10
11 DEPENDS+=               unzip-[0-9]*:../../archivers/unzip
12
13 PLIST_VARS+=            cdaudio
14 .if ${OPSYS} != "Darwin"
15 PLIST.cdaudio=          yes
16 .endif
17 PRINT_PLIST_AWK+=       /cdaudio/ { print "$${PLIST.cdaudio}" $$0; next }
18
19 # XXX Workaround a crash during shutdown that happens when dlclose(3)ing
20 # any open plugin.  libstdc++ gets dynamically linked in when the id3lib
21 # library is loaded, and is the one causing problems.  See PR pkg/26846
22 # for more information.
23 USE_LANGUAGES=          c c++
24 LDFLAGS.NetBSD+=        -lstdc++ -lm
25
26 .include "../../audio/id3lib/buildlink3.mk"
27 .include "../../audio/libvorbis/buildlink3.mk"
28 .include "../../multimedia/libogg/buildlink3.mk"
29 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
30
31 .include "../../mk/bsd.pkg.mk"