2007-02-25 16:17:51 +01:00
|
|
|
# New ports collection makefile for: sdlmame
|
|
|
|
# Date created: 2007-01-10
|
|
|
|
# Whom: alepulver
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= sdlmame
|
2008-04-23 02:45:32 +02:00
|
|
|
PORTVERSION= 0.124
|
2007-02-25 16:17:51 +01:00
|
|
|
CATEGORIES= emulators
|
2007-11-30 17:39:27 +01:00
|
|
|
MASTER_SITES= ftp://ftp.alepulver.com.ar/distfiles/
|
2007-02-25 16:17:51 +01:00
|
|
|
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//}
|
|
|
|
|
|
|
|
MAINTAINER= alepulver@FreeBSD.org
|
|
|
|
COMMENT= SDL port of the popular MAME (Multi Arcade Machine Emulator)
|
|
|
|
|
|
|
|
USE_ZIP= yes
|
2008-03-27 14:15:53 +01:00
|
|
|
USE_XORG= xext xrender xinerama xi
|
|
|
|
USE_GL= gl
|
2007-02-25 16:17:51 +01:00
|
|
|
USE_GMAKE= yes
|
2008-02-05 18:09:42 +01:00
|
|
|
MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}"
|
2007-02-25 16:17:51 +01:00
|
|
|
USE_SDL= sdl
|
|
|
|
MAKEFILE= makefile
|
|
|
|
|
|
|
|
SUB_FILES= ${PORTNAME} pkg-message
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
|
2007-09-06 00:38:15 +02:00
|
|
|
${MKDIR} ${PREFIX}/libexec/sdlmame
|
2008-02-05 18:09:42 +01:00
|
|
|
.for f in obj/sdl/mame/build/file2str obj/sdl/mame/build/png2bdc mame \
|
|
|
|
testkeys romcmp chdman jedutil makemeta regrep srcclean
|
2007-09-06 00:38:15 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/libexec/sdlmame
|
2007-02-25 16:17:51 +01:00
|
|
|
.endfor
|
|
|
|
${MKDIR} ${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/ui.bdf ${DATADIR}
|
2007-04-23 00:44:01 +02:00
|
|
|
${CP} -R ${WRKSRC}/keymaps ${DATADIR}
|
2007-02-25 16:17:51 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
|
|
|
|
${CP} -R ${WRKSRC}/docs ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${ECHO_CMD}
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
@${ECHO_CMD}
|
|
|
|
|
2007-12-16 02:34:39 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2008-12-10 08:35:19 +01:00
|
|
|
.if ${ARCH} == "sparc64"
|
|
|
|
BROKEN= Does not compile on sparc64
|
|
|
|
.endif
|
|
|
|
|
2007-12-16 02:34:39 +01:00
|
|
|
.include <bsd.port.post.mk>
|