2007-02-25 16:22:58 +01:00
|
|
|
# New ports collection makefile for: sdlmess
|
|
|
|
# Date created: 2007-01-10
|
|
|
|
# Whom: alepulver
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= sdlmess
|
2008-04-23 02:46:26 +02:00
|
|
|
PORTVERSION= 0.124
|
2007-02-25 16:22:58 +01:00
|
|
|
CATEGORIES= emulators
|
2007-11-30 17:47:19 +01:00
|
|
|
MASTER_SITES= ftp://ftp.alepulver.com.ar/distfiles/
|
2007-02-25 16:22:58 +01:00
|
|
|
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//}
|
|
|
|
|
|
|
|
MAINTAINER= alepulver@FreeBSD.org
|
|
|
|
COMMENT= SDL port of MESS (Multiple Emulator Super System)
|
|
|
|
|
|
|
|
USE_ZIP= yes
|
2008-03-27 14:15:53 +01:00
|
|
|
USE_GL= gl
|
|
|
|
USE_XORG= xext xrender xinerama xi
|
2007-02-25 16:22:58 +01:00
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_SDL= sdl
|
|
|
|
MAKEFILE= makefile.sdl
|
|
|
|
|
|
|
|
SUB_FILES= ${PORTNAME} pkg-message
|
|
|
|
|
2008-04-02 00:49:27 +02: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-02-25 16:22:58 +01:00
|
|
|
do-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
|
2007-09-06 00:35:55 +02:00
|
|
|
${MKDIR} ${PREFIX}/libexec/sdlmess
|
|
|
|
.for f in obj/sdl/mess/build/file2str obj/sdl/mess/build/png2bdc mess \
|
2008-02-05 18:10:37 +01:00
|
|
|
testkeys dat2html messtest imgtool romcmp chdman jedutil makemeta \
|
|
|
|
regrep srcclean src2html
|
2007-09-06 00:35:55 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/libexec/sdlmess
|
2007-02-25 16:22:58 +01:00
|
|
|
.endfor
|
|
|
|
${MKDIR} ${DATADIR}
|
2007-04-23 00:43:27 +02:00
|
|
|
.for f in artwork hash keymaps sysinfo.dat
|
2007-02-25 16:22:58 +01:00
|
|
|
${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}
|
|
|
|
|
2008-04-02 00:49:27 +02:00
|
|
|
.include <bsd.port.post.mk>
|