diff options
author | makc <makc@FreeBSD.org> | 2013-12-02 01:53:13 +0800 |
---|---|---|
committer | makc <makc@FreeBSD.org> | 2013-12-02 01:53:13 +0800 |
commit | f3530f7da7b5245daa5b1f59814f67f554acf52b (patch) | |
tree | 9406865e00ff66a194d8888a2fd83fa55899f132 /deskutils/vym | |
parent | 3d07538bd3e2b924d014e27f2ff7e9314fae3bac (diff) | |
download | freebsd-ports-gnome-f3530f7da7b5245daa5b1f59814f67f554acf52b.tar.gz freebsd-ports-gnome-f3530f7da7b5245daa5b1f59814f67f554acf52b.tar.zst freebsd-ports-gnome-f3530f7da7b5245daa5b1f59814f67f554acf52b.zip |
- Run LRELEASE at configure stage, when build dependencies are already
present. This fixes regression introduced with my previous commit.
- While I'm here update USE_QT4 components to reflect actual demands.
Diffstat (limited to 'deskutils/vym')
-rw-r--r-- | deskutils/vym/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/deskutils/vym/Makefile b/deskutils/vym/Makefile index fa945c0e00a1..3a559a34026a 100644 --- a/deskutils/vym/Makefile +++ b/deskutils/vym/Makefile @@ -3,7 +3,7 @@ PORTNAME= vym PORTVERSION= 2.2.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= deskutils MASTER_SITES= SF/vym/${PORTVERSION} @@ -12,8 +12,8 @@ COMMENT= VYM is a tool to generate and manipulate mind maps USES= qmake USE_BZIP2= yes -USE_QT4= uic_build moc_build \ - qt3support network xml dbus svg +USE_QT4= uic_build moc_build qt3support_build \ + network xml dbus svg QMAKE_ARGS= DATADIR=${DATADIR:C,/vym$,,} \ DOCDIR=${DOCSDIR} @@ -36,8 +36,10 @@ post-patch: .if !${PORT_OPTIONS:MDOCS} ${REINPLACE_CMD} -e '/INSTALLS += doc/d' ${WRKSRC}/vym.pro .endif + +pre-configure: .if ${PORT_OPTIONS:MNLS} - cd ${WRKSRC} && ${LRELEASE} vym.pro + ${LRELEASE} ${WRKSRC}/vym.pro .endif post-install: |