aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/qemu-launcher/Makefile
blob: c1b8a4497adc834d4033efecfa47da8465007244 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# New ports collection makefile for:    qemu-launcher
# Date created:             22 December 2005
# Whom:                 Wesley Shields <wxs@csh.rit.edu>
#
# $FreeBSD$
#

PORTNAME=   qemu-launcher
PORTVERSION=    1.5.1
PORTREVISION=   1
CATEGORIES= emulators
MASTER_SITES=   http://emeitner.f2o.org/debian/
DISTNAME=   ${PORTNAME}_${PORTVERSION}-1

MAINTAINER= wxs@csh.rit.edu
COMMENT=    A GTK front-end to Qemu

RUN_DEPENDS=    ${SITE_PERL}/${PERL_ARCH}/Gtk2:${PORTSDIR}/x11-toolkits/p5-Gtk2 \
        ${SITE_PERL}/${PERL_ARCH}/Gtk2/GladeXML/:${PORTSDIR}/x11-toolkits/p5-Glade2 \
        ${SITE_PERL}/${PERL_ARCH}/Gnome2.pm:${PORTSDIR}/x11-toolkits/p5-Gnome2 \
        ${SITE_PERL}/${PERL_ARCH}/Locale/gettext.pm:${PORTSDIR}/devel/p5-Locale-gettext

WRKSRC=     ${WRKDIR}/trunk

USE_REINPLACE=  yes
USE_PERL5=  yes
NO_BUILD=   yes

MAN1=   qemu-launcher.1

post-patch:
    @${REINPLACE_CMD} -e 's,usr,usr/local,g' ${WRKSRC}/qemu-launcher

# XXX: Currently not installing qemu-launcher.desktop or qemu-launcher.xpm
do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/qemu-launcher ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/qemu-launcher.1 ${PREFIX}/man/man1
    ${MKDIR} ${PREFIX}/share/qemu-launcher/glade
.for file in diskimages.glade qemulauncher.glade qemulauncher.png
    ${INSTALL_DATA} ${WRKSRC}/glade/${file} ${PREFIX}/share/qemu-launcher/glade
.endfor

.include <bsd.port.mk>