1 |
# $MidnightBSD$ |
2 |
# $FreeBSD: ports/x11/qt4-inputmethods/Makefile,v 1.19 2010/12/02 19:47:16 makc Exp $ |
3 |
|
4 |
PORTNAME= inputmethods |
5 |
DISTVERSION= ${QT4_VERSION} |
6 |
CATEGORIES= x11 |
7 |
PKGNAMEPREFIX= qt4- |
8 |
|
9 |
MAINTAINER= ports@MidnightBSD.org |
10 |
COMMENT= Qt input method plugins |
11 |
LICENSE= gpl3 |
12 |
|
13 |
USE_QT4= qmake_build moc_build corelib gui |
14 |
QT_DIST= yes |
15 |
|
16 |
HAS_CONFIGURE= yes |
17 |
|
18 |
ALL_TARGET= first |
19 |
CONFIGURE_ENV?= QTDIR=${WRKSRC} PATH=${WRKSRC}/bin:$$PATH |
20 |
MAKE_ENV?= QTDIR=${WRKSRC} LD_LIBRARY_PATH=${WRKSRC}/lib:$$LD_LIBRARY_PATH \ |
21 |
PATH=${WRKSRC}/bin:$$PATH |
22 |
|
23 |
DO_NOT_EXTRACT= demos doc examples mkspecs qmake tools translations \ |
24 |
src/activeqt src/dbus src/multimedia src/network src/opengl \ |
25 |
src/openvg src/phonon src/qt3support src/s60installs \ |
26 |
src/s60main src/script src/scripttools src/sql src/svg \ |
27 |
src/testlib src/tools src/winmain src/xml src/xmlpatterns \ |
28 |
src/3rdparty/clucene src/3rdparty/freetype \ |
29 |
src/3rdparty/libjpeg src/3rdparty/libmng src/3rdparty/libpng \ |
30 |
src/3rdparty/libtiff src/3rdparty/phonon src/3rdparty/webkit |
31 |
.for dne in ${DO_NOT_EXTRACT} |
32 |
EXTRACT_AFTER_ARGS+= --exclude '${DISTNAME}/${dne}' |
33 |
.endfor |
34 |
|
35 |
BUILD_WRKSRC= ${WRKSRC}/src/plugins/${PORTNAME} |
36 |
INSTALL_WRKSRC= ${BUILD_WRKSRC} |
37 |
|
38 |
pre-configure: |
39 |
${MKDIR} ${WRKSRC}/mkspecs |
40 |
${LN} -sf ${QMAKE} ${WRKSRC}/bin/qmake |
41 |
${LN} -sf ${MOC} ${WRKSRC}/bin/moc |
42 |
|
43 |
.include <bsd.port.mk> |