aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/osmose/Makefile
blob: 9fb8469920fee0ee0f8f01ebe217d1d3856e5147 (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
44
45
# New ports collection makefile for:    osmose
# Date created:             27 Jul 2005
# Whom:                 Alejandro Pulver <alejandro@varnet.biz>
#
# $FreeBSD$
#

PORTNAME=   osmose
PORTVERSION=    0.9.96
PORTREVISION=   1
CATEGORIES= emulators
MASTER_SITES=   http://bcz.asterope.fr/osmose/
DISTNAME=   Osmose-${PORTVERSION:S/./-/g}-QT

MAINTAINER= ports@FreeBSD.org
COMMENT=    Sega Master System emulator

LICENSE=    GPLv3

BUILD_DEPENDS=  ${LOCALBASE}/include/linux/joystick.h:${PORTSDIR}/devel/linux-js
LIB_DEPENDS=    asound.2:${PORTSDIR}/audio/alsa-lib
RUN_DEPENDS=    ${LOCALBASE}/include/linux/joystick.h:${PORTSDIR}/devel/linux-js

USE_ZIP=    yes
USE_QT4=    corelib gui opengl moc_build qmake_build uic_build
QMAKEFLAGS+=    TARGET=release

PORTDOCS=   Readme.txt TODO.txt
PLIST_FILES=    bin/${PORTNAME}

.include <bsd.port.pre.mk>

do-configure:
    @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} ${QMAKEFLAGS})

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/${PORTNAME}
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for doc in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.post.mk>