blob: 4551bb44e5eb1da0ef5b4fa1bdc6d83cd5851604 (
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
|
# $NetBSD: Makefile,v 1.10 2010/11/15 22:56:57 abs Exp $
#
DISTNAME= sdlmess0136
PKGNAME= sdlmess-0.136
PKGREVISION= 2
COMMENT= Multi Emulator Super System, SDL port
CONFLICTS= xmess-[0-9]*
MAKE_FILE= makefile
DOCDIR= share/doc/mess
SHAREDIR= share/mess
INSTALLATION_DIRS= bin ${DOCDIR}/sysinfo ${SHAREDIR}/artwork \
${SHAREDIR}/hash
pre-patch:
cd ${WRKSRC} && mv makefile.sdl makefile
post-build:
cd ${WRKSRC} && ./dat2html
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/castool ${DESTDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/imgtool ${DESTDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/mess ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/artwork/* \
${DESTDIR}${PREFIX}/${SHAREDIR}/artwork
${INSTALL_DATA} ${WRKSRC}/hash/* \
${DESTDIR}${PREFIX}/${SHAREDIR}/hash
${INSTALL_DATA} ${WRKSRC}/sysinfo.htm ${DESTDIR}${PREFIX}/${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/sysinfo/* \
${DESTDIR}${PREFIX}/${DOCDIR}/sysinfo
.include "../../emulators/sdlmame/Makefile.common"
|