freebsd-ports/multimedia/mpeg4ip-libmp4v2/Makefile
Jeremy Messenger 789d75c728 -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
2009-08-02 19:36:34 +00:00

54 lines
1.6 KiB
Makefile

# New ports collection makefile for: mpeg4ip-libmp4v2
# Date created: 28 Sep 2004
# Whom: Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= mpeg4ip
PORTVERSION= 1.6.1
CATEGORIES= multimedia
MASTER_SITES= LOCAL/ahze
# http://sourceforge.net/forum/forum.php?thread_id=1839453&forum_id=59136
#MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
#MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMESUFFIX= -libmp4v2
MAINTAINER= multimedia@FreeBSD.org
COMMENT= Mpeg-4 library and tools from mpeg4ip
USE_AUTOTOOLS= libtool:22
USE_GMAKE= yes
MAKE_JOBS_SAFE= yes
USE_GNOME= gnometarget
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}"
USE_LDCONFIG= yes
post-patch:
${TOUCH} -f ${WRKSRC}/bootstrapped
# Speed up configure by not using 2 unneeded configure scripts.
@${ECHO_CMD} "" > ${WRKSRC}/lib/rtp/configure
@${ECHO_CMD} "" > ${WRKSRC}/lib/SDLAudio/configure
@${REINPLACE_CMD} \
-e 's|>&/|>/|; s|-Wmissing-declarations||; \
s|-Wmissing-prototypes||; \
s|nasm -r|nasm -v|' \
${WRKSRC}/configure
do-build:
.for dir in lib/gnu lib/mp4av lib/mp4v2
@(cd ${WRKSRC}/${dir}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
.endfor
do-install:
.for dir in lib/gnu lib/mp4av lib/mp4v2
@(cd ${WRKSRC}/${dir} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
.endfor
post-install:
.for i in include/mpeg4ip.h include/mpeg4ip_version.h mpeg4ip_config.h
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/include
.endfor
.include <bsd.port.mk>