diff options
author | makc <makc@FreeBSD.org> | 2008-09-03 23:17:43 +0800 |
---|---|---|
committer | makc <makc@FreeBSD.org> | 2008-09-03 23:17:43 +0800 |
commit | ae6c07af5dd9a0c553c0e102b063670d41ae1563 (patch) | |
tree | 78cb788b3a262626e63f2579ac38983ae3f9efda /emulators/aqemu | |
parent | 63281b91b7db781476540fbab9ace8ddf6ea6112 (diff) | |
download | freebsd-ports-gnome-ae6c07af5dd9a0c553c0e102b063670d41ae1563.tar.gz freebsd-ports-gnome-ae6c07af5dd9a0c553c0e102b063670d41ae1563.tar.zst freebsd-ports-gnome-ae6c07af5dd9a0c553c0e102b063670d41ae1563.zip |
Add new port emulators/aqemu:
AQEMU is a QEMU GUI written in Qt4. The program have user-friendly
interface and allows to set up the majority of QEMU options.
WWW: http://sourceforge.net/projects/aqemu/
Approved by: miwi (mentor)
Diffstat (limited to 'emulators/aqemu')
-rw-r--r-- | emulators/aqemu/Makefile | 59 | ||||
-rw-r--r-- | emulators/aqemu/distinfo | 3 | ||||
-rw-r--r-- | emulators/aqemu/files/patch-AQEMU.pro | 10 | ||||
-rw-r--r-- | emulators/aqemu/pkg-descr | 4 | ||||
-rw-r--r-- | emulators/aqemu/pkg-plist | 38 |
5 files changed, 114 insertions, 0 deletions
diff --git a/emulators/aqemu/Makefile b/emulators/aqemu/Makefile new file mode 100644 index 000000000000..60fb9c6d7258 --- /dev/null +++ b/emulators/aqemu/Makefile @@ -0,0 +1,59 @@ +# New ports collection makefile for: aqemu +# Date created: 2008-09-03 +# Whom: Max Brazhnikov <makc@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= aqemu +PORTVERSION= 0.5 +CATEGORIES= emulators +MASTER_SITES= SF +DISTNAME= ${PORTNAME}_${PORTVERSION}_src + +MAINTAINER= makc@FreeBSD.org +COMMENT= Qt4 based Qemu frontend + +USE_BZIP2= yes +USE_QT_VER= 4 +QT_COMPONENTS= gui qtestlib xml qmake_build uic_build moc_build rcc_build +HAS_CONFIGURE= yes + +QMAKE_ARGS= -unix -recursive ${QMAKE_PRO} +QMAKE_PRO= AQEMU.pro + +QT_LRELEASE= ${LOCALBASE}/bin/lrelease-qt4 + +.if !defined(WITHOUT_NLS) +QT_COMPONENTS+= linguist_build +PLIST_SUB+= NLS="" +.else +PLIST_SUB+= NLS="@comment " +.endif + +post-patch: + ${REINPLACE_CMD} -e 's,/usr/.*/aqemu,${DATADIR},' ${WRKSRC}/main.cpp + +do-configure: +.if !defined(WITHOUT_NLS) + cd ${WRKSRC} && ${QT_LRELEASE} ${QMAKE_PRO} +.endif + cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKE_ARGS} + +post-configure: + @${FIND} ${WRKSRC} -name Makefile | ${XARGS} ${REINPLACE_CMD} -e \ + 's|^CC .*|CC=${CC}|; s|^CXX .*|CXX=${CXX}|; s|^LINK .*|LINK=${CXX}|' + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/AQEMU ${PREFIX}/bin/aqemu + ${MKDIR} ${DESKTOPDIR} + ${INSTALL_DATA} ${WRKSRC}/menu_data/aqemu.desktop ${DESKTOPDIR} + ${INSTALL_DATA} ${WRKSRC}/menu_data/aqemu_*.png ${PREFIX}/share/pixmaps + ${MKDIR} ${DATADIR} + cd ${WRKSRC} && ${COPYTREE_SHARE} os_icons ${DATADIR} + cd ${WRKSRC} && ${COPYTREE_SHARE} os_templates ${DATADIR} +.if !defined(WITHOUT_NLS) + ${INSTALL_DATA} ${WRKSRC}/aqemu_*.qm ${DATADIR} +.endif + +.include <bsd.port.mk> diff --git a/emulators/aqemu/distinfo b/emulators/aqemu/distinfo new file mode 100644 index 000000000000..605523c12ac7 --- /dev/null +++ b/emulators/aqemu/distinfo @@ -0,0 +1,3 @@ +MD5 (aqemu_0.5_src.tar.bz2) = 90b0d397e0a9a0548f958123aeb9e302 +SHA256 (aqemu_0.5_src.tar.bz2) = 22e854c0fa381d54116338e80f6934bcc62e620d0fe9f60bcf4c344582c99262 +SIZE (aqemu_0.5_src.tar.bz2) = 324339 diff --git a/emulators/aqemu/files/patch-AQEMU.pro b/emulators/aqemu/files/patch-AQEMU.pro new file mode 100644 index 000000000000..074cbea96d15 --- /dev/null +++ b/emulators/aqemu/files/patch-AQEMU.pro @@ -0,0 +1,10 @@ +--- ./AQEMU.pro.orig 2008-08-01 16:31:18.000000000 +0400 ++++ ./AQEMU.pro 2008-09-03 11:44:21.000000000 +0400 +@@ -66,6 +66,6 @@ + RESOURCES += aqemu_images.qrc + TRANSLATIONS += aqemu_ru.ts + +-CONFIG += qtestlib ++CONFIG += qtestlib release + QT += xml + diff --git a/emulators/aqemu/pkg-descr b/emulators/aqemu/pkg-descr new file mode 100644 index 000000000000..6a11ebdde1ab --- /dev/null +++ b/emulators/aqemu/pkg-descr @@ -0,0 +1,4 @@ +AQEMU is a QEMU GUI written in Qt4. The program have user-friendly +interface and allows to set up the majority of QEMU options. + +WWW: http://sourceforge.net/projects/aqemu/ diff --git a/emulators/aqemu/pkg-plist b/emulators/aqemu/pkg-plist new file mode 100644 index 000000000000..4e7604e4b352 --- /dev/null +++ b/emulators/aqemu/pkg-plist @@ -0,0 +1,38 @@ +bin/aqemu +share/applications/aqemu.desktop +%%NLS%%%%DATADIR%%/aqemu_ru.qm +%%DATADIR%%/os_icons/alt.png +%%DATADIR%%/os_icons/arch.png +%%DATADIR%%/os_icons/asp.png +%%DATADIR%%/os_icons/centos.png +%%DATADIR%%/os_icons/debian.png +%%DATADIR%%/os_icons/fedora.png +%%DATADIR%%/os_icons/freebsd.png +%%DATADIR%%/os_icons/gentoo.png +%%DATADIR%%/os_icons/knoppix.png +%%DATADIR%%/os_icons/kubuntu.png +%%DATADIR%%/os_icons/mandriva.png +%%DATADIR%%/os_icons/netbsd.png +%%DATADIR%%/os_icons/openbsd.png +%%DATADIR%%/os_icons/opensolaris.png +%%DATADIR%%/os_icons/redhat.png +%%DATADIR%%/os_icons/slackware.png +%%DATADIR%%/os_icons/solaris.png +%%DATADIR%%/os_icons/suse.png +%%DATADIR%%/os_icons/ubuntu.png +%%DATADIR%%/os_templates/Linux_2_0.aqvmt +%%DATADIR%%/os_templates/Linux_2_4.aqvmt +%%DATADIR%%/os_templates/Linux_2_6.aqvmt +%%DATADIR%%/os_templates/Linux_x86_64.aqvmt +%%DATADIR%%/os_templates/Windows_2000.aqvmt +%%DATADIR%%/os_templates/Windows_95.aqvmt +%%DATADIR%%/os_templates/Windows_98.aqvmt +%%DATADIR%%/os_templates/Windows_Vista.aqvmt +%%DATADIR%%/os_templates/Windows_XP.aqvmt +%%DATADIR%%/os_templates/Windows_x64.aqvmt +share/pixmaps/aqemu_48x48.png +share/pixmaps/aqemu_64x64.png +@dirrm %%DATADIR%%/os_templates +@dirrm %%DATADIR%%/os_icons +@dirrm %%DATADIR%% +@dirrmtry share/applications |