aboutsummaryrefslogtreecommitdiff
path: root/devel/qt4-linguist
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2007-04-19 17:08:04 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2007-04-19 17:08:04 +0000
commit7aeef3e5194acb6b59e88472be78b4d7f2a7014f (patch)
tree616dfe53e60011f08ba0fd9e44d23086ed7704a2 /devel/qt4-linguist
parent70b438b4348e8e5786613051e3c8e890dd2d18f9 (diff)
downloadports-7aeef3e5194acb6b59e88472be78b4d7f2a7014f.tar.gz
ports-7aeef3e5194acb6b59e88472be78b4d7f2a7014f.zip
Notes
Diffstat (limited to 'devel/qt4-linguist')
-rw-r--r--devel/qt4-linguist/Makefile11
-rw-r--r--devel/qt4-linguist/pkg-plist12
2 files changed, 12 insertions, 11 deletions
diff --git a/devel/qt4-linguist/Makefile b/devel/qt4-linguist/Makefile
index 997031e68a79..2fddbbf88975 100644
--- a/devel/qt4-linguist/Makefile
+++ b/devel/qt4-linguist/Makefile
@@ -8,7 +8,7 @@
PORTNAME= linguist
PORTVERSION= 4.2.3
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES?= devel
MASTER_SITES= ${MASTER_SITE_QT}
PKGNAMEPREFIX= qt4-
@@ -19,10 +19,10 @@ MAINTAINER= kde@FreeBSD.org
COMMENT= Qt localisation tool
BUILD_DEPENDS= ${LOCALBASE}/lib/libQtUiTools.a:${PORTSDIR}/devel/qt4-designer \
- moc4:${PORTSDIR}/devel/qt4-moc \
+ moc-qt4:${PORTSDIR}/devel/qt4-moc \
qmake-qt4:${PORTSDIR}/devel/qmake4 \
rcc:${PORTSDIR}/devel/qt4-rcc \
- uic4:${PORTSDIR}/devel/qt4-uic
+ uic-qt4:${PORTSDIR}/devel/qt4-uic
LIB_DEPENDS= QtAssistantClient:${PORTSDIR}/devel/qt4-libqtassistantclient \
QtGui:${PORTSDIR}/x11-toolkits/qt4-gui \
QtNetwork:${PORTSDIR}/net/qt4-network \
@@ -62,12 +62,13 @@ pre-configure:
${REINPLACE_CMD} -e 's|target.path.*|target.path=${PREFIX}/bin|g' \
-e 's|phrasebooks.path.*|phrasebooks.path=${PREFIX}/share/qt4/phrasebooks|g' \
-e 's|linguisttranslations.path.*|linguisttranslations.path=${PREFIX}/share/qt4/translations|g' \
+ -E -e 's|^TARGET[[:blank:]]*=[[:blank:]]*([a-z]+)|TARGET=\1-qt4|g' \
${WRKSRC}/${PORTNAME}.pro ${WRKSRC}/${PORTNAME}/${PORTNAME}.pro \
${WRKSRC}/lrelease/lrelease.pro ${WRKSRC}/lupdate/lupdate.pro
${MKDIR} ${WRKSRC}/../../mkspecs
${LN} -sf ${LOCALBASE}/bin/qmake-qt4 ${WRKSRC}/../../bin/qmake
- ${LN} -sf ${LOCALBASE}/bin/moc4 ${WRKSRC}/../../bin/moc
- ${LN} -sf ${LOCALBASE}/bin/uic4 ${WRKSRC}/../../bin/uic
+ ${LN} -sf ${LOCALBASE}/bin/moc-qt4 ${WRKSRC}/../../bin/moc
+ ${LN} -sf ${LOCALBASE}/bin/uic-qt4 ${WRKSRC}/../../bin/uic
${LN} -sf ${LOCALBASE}/bin/rcc ${WRKSRC}/../../bin/rcc
.include <bsd.port.mk>
diff --git a/devel/qt4-linguist/pkg-plist b/devel/qt4-linguist/pkg-plist
index 36ddd1e30d76..872f2837b35a 100644
--- a/devel/qt4-linguist/pkg-plist
+++ b/devel/qt4-linguist/pkg-plist
@@ -1,9 +1,9 @@
-bin/linguist
-bin/linguist.debug
-bin/lrelease
-bin/lrelease.debug
-bin/lupdate
-bin/lupdate.debug
+bin/linguist-qt4
+bin/linguist-qt4.debug
+bin/lrelease-qt4
+bin/lrelease-qt4.debug
+bin/lupdate-qt4
+bin/lupdate-qt4.debug
share/qt4/phrasebooks/danish.qph
share/qt4/phrasebooks/dutch.qph
share/qt4/phrasebooks/finnish.qph