pkgsrc/graphics/avifile-devel/Makefile
skrll ec3aee670c Update automake to 1.4-p5 (1.5 is available)
Include a bugfix for lisp_LISP independently discovered by me that has
been pulled up to the automake-1-4 branch of automake cvs.

Changes are:
New in 1.4-p5:
* Allow AM_PROG_LIBTOOL again.
* Diagnose AC_CONFIG_HEADERS the same as AC_CONFIG_HEADER.
* Display distributed file list correctly in usage message.
* Allow numbers in macro names.
* Bugfixes.

New in 1.4-p4:
* Deal with configure.ac as well as configure.in -- this time for real!
* The version numbering system now allows three point version numbers,
  such as 1.4.4, without thinking they are alpha release numbers.

New in 1.4-p3:
* Deal with configure.ac as well as configure.in.
* Don't complain if `version.texi' is included in multiple places.

New in 1.4-p2:
* Deal with AC_CONFIG_FILES from autoconf-2.50.
* Improvements to f77 support.
* DESTDIR now works for script targets.
* distcheck-hook works correctly.

New in 1.4-p1:
* The version numbering system now allows fork identifiers (such as
  the p1 in this version of automake).
* Cope gracefully with various versions of libtool which may or may not
  require ltconfig, ltcf-c.sh, ltcf-cxx.sh or ltcf-gcj.sh.
* Bugfixes.
2001-08-26 10:32:18 +00:00

66 lines
1.7 KiB
Makefile

# $NetBSD: Makefile,v 1.18 2001/08/26 10:32:21 skrll Exp $
#
DISTNAME= avifile-0.6.20010814
PKGNAME= ${DISTNAME}nb1
CATEGORIES= graphics
MASTER_SITES= http://zuntum.netbsd.pl/distfiles/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= zuntum@netbsd.org
HOMEPAGE= http://divx.euro.ru/
COMMENT= MPEG-4 (DivX) video player library
DEPENDS+= win32-codecs>=010122:../../graphics/win32-codecs
BUILD_DEPENDS+= automake>=1.4:../../devel/automake
WRKSRC= ${WRKDIR}/avifile-0.6
ONLY_FOR_PLATFORM= NetBSD-*-i386
BUILD_USES_GETTEXT_M4= YES
USE_BUILDLINK_ONLY= YES
USE_X11= YES
USE_GMAKE= YES
USE_LIBTOOL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
GNU_CONFIGURE= YES
CXXFLAGS+= -L${BUILDLINK_DIR}/lib -I${BUILDLINK_DIR}/include -I${X11PREFIX}/include
CONFIGURE_ARGS+= --with-win32-path=${LOCALBASE}/lib/win32
CONFIGURE_ARGS+= --disable-dpms
# ffmpeg codec *partially* works, but is incredibly slow so we don't want to use it
CONFIGURE_ARGS+= --disable-ffmpeg
.include "../../mk/bsd.prefs.mk"
AVIFILE_USE_QT?= NO
.if defined (AVIFILE_USE_QT) && ${AVIFILE_USE_QT} == "YES"
# it would be more logical to set PLIST_SRC to PLIST first and then add PLIST.qt to it,
# but @dirrm lib/avifile-0.6 will fail while processing pkg/PLIST,
# because the directory still contains files (they are listed in PLIST.qt) and isn't empty,
# thus can't be removed
PLIST_SRC= ${PKGDIR}/PLIST.qt
PLIST_SRC+= ${PKGDIR}/PLIST
CXXFLAGS+= -Wl,-R${QTDIR}/lib
CXXFLAGS+= -Wl,-R${LOCALBASE}/lib
CXXFLAGS+= -Wl,-R${X11BASE}/lib
CONFIGURE_ARGS+= --enable-qt
CONFIGURE_ARGS+= --with-qt-dir="${BUILDLINK_DIR}/qt2"
.include "../../x11/qt2-designer/buildlink.mk"
.endif
pre-configure:
cd ${WRKSRC} && ${SH} autogen.sh
.include "../../devel/SDL/buildlink.mk"
.include "../../mk/bsd.pkg.mk"