summaryrefslogtreecommitdiffstats
path: root/emulators/sdlmess/Makefile
blob: ec58282cebd9ec4d0cbd578bd73ad0bd7db3c9bf (plain)
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
46
47
48
# New ports collection makefile for:	sdlmess
# Date created:				2007-01-10
# Whom:					alepulver
#
# $FreeBSD$
#

PORTNAME=	sdlmess
PORTVERSION=	0.114
PORTREVISION=	1
CATEGORIES=	emulators
MASTER_SITES=	http://rbelmont.mameworld.info/
DISTNAME=	${PORTNAME}${PORTVERSION:S/.//}

MAINTAINER=	alepulver@FreeBSD.org
COMMENT=	SDL port of MESS (Multiple Emulator Super System)

USE_ZIP=	yes
USE_GL=		yes
USE_GMAKE=	yes
USE_SDL=	sdl
MAKEFILE=	makefile.sdl

SUB_FILES=	${PORTNAME} pkg-message

do-install:
	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
	${MKDIR} ${PREFIX}/libexec/${PORTNAME}
.for f in obj/sdlmess/file2str sdlmess testkeys dat2html messtest messdocs \
	  imgtool romcmp chdman jedutil makemeta regrep
	${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/libexec/${f:T:S/sdl//}
.endfor
	${MKDIR} ${DATADIR}
.for f in artwork hash keymaps sysinfo.dat
	${CP} -R ${WRKSRC}/${f} ${DATADIR}
.endfor
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
	${CP} -R ${WRKSRC}/docs ${DOCSDIR}
.endif

post-install:
	@${ECHO_CMD}
	@${CAT} ${PKGMESSAGE}
	@${ECHO_CMD}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud