ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/graphics/qt4-imageformats/Makefile
Revision: 14537
Committed: Sat Jun 22 01:50:52 2013 UTC (10 years, 10 months ago) by laffer1
File size: 1806 byte(s)
Log Message:
qt4

File Contents

# Content
1 # $MidnightBSD: mports/graphics/qt4-imageformats/Makefile,v 1.5 2012/09/09 04:57:31 laffer1 Exp $
2 # $FreeBSD: ports/graphics/qt4-imageformats/Makefile,v 1.22 2010/12/02 19:47:11 makc Exp $
3
4 PORTNAME= imageformats
5 DISTVERSION= ${QT4_VERSION}
6 CATEGORIES?= graphics
7 PKGNAMEPREFIX= qt4-
8
9 MAINTAINER= ports@MidnightBSD.org
10 COMMENT= Qt imageformat plugins for GIF, JPEG, MNG and SVG
11 LICENSE= gpl3
12
13 LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \
14 mng:${PORTSDIR}/graphics/libmng \
15 png15:${PORTSDIR}/graphics/png \
16 tiff:${PORTSDIR}/graphics/tiff
17
18 USE_QT4= qmake_build moc_build rcc_build corelib gui svg xml
19 QT_NONSTANDARD= yes
20 QT_DIST= yes
21 MAKE_JOBS_SAFE= true
22
23 HAS_CONFIGURE= yes
24
25 ALL_TARGET= first
26 CONFIGURE_ENV?= QTDIR=${WRKSRC} PATH=${WRKSRC}/bin:$$PATH
27 MAKE_ENV?= QTDIR=${WRKSRC} LD_LIBRARY_PATH=${WRKSRC}/lib:$$LD_LIBRARY_PATH \
28 PATH=${WRKSRC}/bin:$$PATH
29
30 DO_NOT_EXTRACT= demos doc examples mkspecs qmake tools translations \
31 src/activeqt src/dbus src/multimedia src/network src/opengl \
32 src/openvg src/phonon src/qt3support src/s60installs \
33 src/s60main src/script src/scripttools src/sql src/testlib \
34 src/tools src/winmain src/xml src/xmlpatterns \
35 src/3rdparty/clucene src/3rdparty/freetype \
36 src/3rdparty/libjpeg src/3rdparty/libmng src/3rdparty/libpng \
37 src/3rdparty/libtiff src/3rdparty/phonon src/3rdparty/webkit
38 .for dne in ${DO_NOT_EXTRACT}
39 EXTRACT_AFTER_ARGS+= --exclude '${DISTNAME}/${dne}'
40 .endfor
41
42 BUILD_WRKSRC= ${WRKSRC}/src/plugins/${PORTNAME}
43 INSTALL_WRKSRC= ${BUILD_WRKSRC}
44
45 EXTRA_PATCHES= ${.CURDIR}/../../devel/qt4/files/patch-configure
46
47 pre-configure:
48 ${MKDIR} ${WRKSRC}/mkspecs
49 ${LN} -sf ${LOCALBASE}/bin/qmake-qt4 ${WRKSRC}/bin/qmake
50 ${LN} -sf ${LOCALBASE}/bin/moc-qt4 ${WRKSRC}/bin/moc
51 ${LN} -sf ${LOCALBASE}/bin/rcc ${WRKSRC}/bin/rcc
52
53 .include <bsd.port.mk>

Properties

Name Value
cvs2svn:cvs-rev 1.6