pkgsrc/multimedia/libtheora/Makefile
tron 30470213f2 Enable assembler support under Mac OS X Intel again. It can still break
the build, not sure why it doesn't on all of the systems I tested.
2009-04-16 04:03:49 +00:00

38 lines
967 B
Makefile

# $NetBSD: Makefile,v 1.26 2009/04/16 04:03:49 tron Exp $
#
.include "Makefile.common"
PKGREVISION= 1
PKGCONFIG_OVERRIDE= theora.pc.in theoradec.pc.in theoraenc.pc.in
USE_LIBTOOL= YES
TEST_TARGET= check
PKG_DESTDIR_SUPPORT= user-destdir
# disable doxygen, see libtheora-docs package
# also, disable transfig, and *tex.
CONFIGURE_ENV+= HAVE_DOXYGEN=no
CONFIGURE_ENV+= HAVE_TRANSFIG=no
CONFIGURE_ENV+= HAVE_BIBTEX=no
CONFIGURE_ENV+= HAVE_PDFLATEX=no
.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Msunpro) || \
!empty(MACHINE_PLATFORM:MDarwin-[9].*-i386)
CONFIGURE_ARGS+= --disable-asm
.endif
# avoid installing docs
INSTALL_DIRS= include lib
post-install:
cd ${WRKSRC} && ${SETENV} ${INSTALL_ENV} ${MAKE_ENV} \
${MAKE_PROGRAM} ${MAKE_FLAGS} ${INSTALL_MAKE_FLAGS} \
-f ${MAKE_FILE} install-pkgconfigDATA
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../multimedia/libogg/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"