freebsd-ports/graphics/qtutils/Makefile
Ade Lovett 54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00

40 lines
1 KiB
Makefile

# ex:ts=8
# Ports collection makefile for: qtutils
# Date created: Sep 5, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= qtutils
PORTVERSION= 0.0.6
PORTREVISION= 4
CATEGORIES= graphics
MASTER_SITES= http://www.flyn.org/projects/qtutils/
MAINTAINER= ports@FreeBSD.org
COMMENT= QuickTime Utilities
LIB_DEPENDS= vorbis.3:${PORTSDIR}/audio/libvorbis \
quicktime.0:${PORTSDIR}/multimedia/libquicktime
USE_GNOME= glib12
USE_GETOPT_LONG=yes
USE_REINPLACE= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
MAN1= qtconv.1 qtsg.1 qtsplit.1
CPPFLAGS= -I${LOCALBASE}/include `${GLIB_CONFIG} --cflags gthread`
LDFLAGS= -L${LOCALBASE}/lib `${GLIB_CONFIG} --libs gthread`
post-patch:
@${REINPLACE_CMD} -e 's|-g -Wall|@CFLAGS@|g ; \
s|-lglib||g ; \
s|-lpthread||g ; \
s|-ldl||g' ${WRKSRC}/src/Makefile.in
@${REINPLACE_CMD} -e 's|quicktime/quicktime.h|lqt/quicktime.h|' ${WRKSRC}/src/*.c
.include <bsd.port.mk>