diff options
author | makc <makc@FreeBSD.org> | 2012-07-27 19:03:38 +0800 |
---|---|---|
committer | makc <makc@FreeBSD.org> | 2012-07-27 19:03:38 +0800 |
commit | 7e9888a561c1f2a53cfeca5bf54f5278294df386 (patch) | |
tree | 167ee4bd8c4cd737246cf4e2c40f36e42042084e /emulators/qtemu | |
parent | 7c887ca2a204b4cd88ce46806edb8ea718e69d9e (diff) | |
download | freebsd-ports-gnome-7e9888a561c1f2a53cfeca5bf54f5278294df386.tar.gz freebsd-ports-gnome-7e9888a561c1f2a53cfeca5bf54f5278294df386.tar.zst freebsd-ports-gnome-7e9888a561c1f2a53cfeca5bf54f5278294df386.zip |
- Convert my ports to new options framework
- use CONFLICTS_INSTALL
- other minor changes
Diffstat (limited to 'emulators/qtemu')
-rw-r--r-- | emulators/qtemu/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/emulators/qtemu/Makefile b/emulators/qtemu/Makefile index 511eedb918bf..790a65f525f5 100644 --- a/emulators/qtemu/Makefile +++ b/emulators/qtemu/Makefile @@ -22,9 +22,9 @@ CONFIGURE_ENV+= LOCALBASE=${LOCALBASE} DESKTOP_ENTRIES="QtEmu" "QEMU frontend" "" \ "qtemu" "" false -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if !defined(WITHOUT_NLS) +.if ${PORT_OPTIONS:MNLS} #USE_QT4+= linguist BUILD_DEPENDS+= ${LOCALBASE}/bin/lupdate-qt4:${PORTSDIR}/devel/qt4-linguist PLIST_SUB+= NLS="" @@ -45,12 +45,12 @@ post-configure: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/qtemu ${PREFIX}/bin/qtemu -.if !defined(WITHOUT_NLS) +.if ${PORT_OPTIONS:MNLS} ${MKDIR} ${DATADIR} (cd ${WRKSRC}/translations/ && ${COPYTREE_SHARE} 'qtemu*.qm' ${DATADIR}/translations) .endif -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} (cd ${WRKSRC}/help/ && ${COPYTREE_SHARE} \* ${DOCSDIR}) .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |