aboutsummaryrefslogtreecommitdiff
path: root/graphics/qtutils/Makefile
blob: 61e0d884314c77e7040d3b6e857c0aa30c3b57ae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# ex:ts=8
# Ports collection makefile for:	qtutils
# Date created:			Sep 5, 2002
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	qtutils
PORTVERSION=	0.0.6
CATEGORIES=	graphics
MASTER_SITES=	http://www.flyn.org/projects/qtutils/
DISTNAME=	${PORTNAME}

MAINTAINER=	ports@FreeBSD.org

LIB_DEPENDS=	vorbis:${PORTSDIR}/audio/libvorbis \
		quicktime:${PORTSDIR}/graphics/libquicktime \
		gnugetopt:${PORTSDIR}/devel/libgnugetopt

USE_REINPLACE=	yes
USE_GNOMENG=	yes
USE_GNOME=	glib12
USE_LIBTOOL=	yes
CONFIGURE_ENV=	CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}

MAN1=	qtconv.1 qtsg.1 qtsplit.1

post-patch:
	@${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS},g" \
		-e "s,-lglib,-lglib12,g" -e "s,-ldl,,g" ${WRKSRC}/src/Makefile.in

.include <bsd.port.mk>