aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/qt4-codecs-jp
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2007-08-03 06:37:40 +0800
committerlofi <lofi@FreeBSD.org>2007-08-03 06:37:40 +0800
commit92df36cb4f060e53f821e67dff720610621261e0 (patch)
treec51388c2c26e8fc4241309ebb4a13b91e275da69 /japanese/qt4-codecs-jp
parentf7bec0a60889d39376e4a9a13050951960059bb2 (diff)
downloadfreebsd-ports-gnome-92df36cb4f060e53f821e67dff720610621261e0.tar.gz
freebsd-ports-gnome-92df36cb4f060e53f821e67dff720610621261e0.tar.zst
freebsd-ports-gnome-92df36cb4f060e53f821e67dff720610621261e0.zip
- bsd.qt.mk:
QT_COMPONENTS can now be depended on at runtime or buildtime only by specifiying them as <component>_build or <component>_run, respectively. Specifying <component> without any suffix will depend on the component at both build- and runtime just like before. - Convert Qt core ports to use the new dependency switches. - Add a patch to corelib to fix Qt4 on ARM, submitted by: Björn König <bkoenig@alpha-tierchen.de>
Diffstat (limited to 'japanese/qt4-codecs-jp')
-rw-r--r--japanese/qt4-codecs-jp/Makefile9
-rw-r--r--japanese/qt4-codecs-jp/pkg-plist2
2 files changed, 3 insertions, 8 deletions
diff --git a/japanese/qt4-codecs-jp/Makefile b/japanese/qt4-codecs-jp/Makefile
index 462b32e05169..9411066e74db 100644
--- a/japanese/qt4-codecs-jp/Makefile
+++ b/japanese/qt4-codecs-jp/Makefile
@@ -19,7 +19,7 @@ MAINTAINER= kde@FreeBSD.org
COMMENT= Qt EUC-JP/JIS codec plugins
USE_QT_VER= 4
-QT_COMPONENTS= qmake corelib
+QT_COMPONENTS= qmake_build corelib
QT_NONSTANDARD= yes
QT_DIST= yes
@@ -46,8 +46,6 @@ EXTRACT_AFTER_ARGS=| ${TAR} -xf - \
WRKSRC= ${WRKDIR}/${DISTNAME}/src/plugins/${PORTNAME}/jp
CONFIGURE_WRKSRC=${WRKSRC}/../../../..
-.include <bsd.port.pre.mk>
-
pre-configure:
${CP} ${.CURDIR}/../../devel/qt4/files/configure ${CONFIGURE_WRKSRC}
${REINPLACE_CMD} -e 's|target.path.*|target.path=${PREFIX}/lib/plugins/codecs|g' \
@@ -56,7 +54,4 @@ pre-configure:
${LN} -sf ${LOCALBASE}/bin/qmake-qt4 ${WRKSRC}/../../../../bin/qmake
${LN} -sf ${LOCALBASE}/bin/moc-qt4 ${WRKSRC}/../../../../bin/moc
-post-configure:
- ${REINPLACE_CMD} -e 's|(test -z.*||g' ${WRKSRC}/Makefile
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/japanese/qt4-codecs-jp/pkg-plist b/japanese/qt4-codecs-jp/pkg-plist
index 60fc639f5f99..6546cc22b688 100644
--- a/japanese/qt4-codecs-jp/pkg-plist
+++ b/japanese/qt4-codecs-jp/pkg-plist
@@ -1,3 +1,3 @@
lib/plugins/codecs/libqjpcodecs.so
-lib/plugins/codecs/libqjpcodecs.so.debug
+%%DEBUG%%lib/plugins/codecs/libqjpcodecs.so.debug
@dirrm lib/plugins/codecs