summaryrefslogtreecommitdiffstats
path: root/emulators/gens/Makefile
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2005-07-05 22:15:53 +0000
committerlofi <lofi@FreeBSD.org>2005-07-05 22:15:53 +0000
commit1d20692bab62ca8c6b38bc77b665c664664c6df9 (patch)
tree5b4f4ebf35b6e1df1d751d12e57617ebf8650872 /emulators/gens/Makefile
parent007352b9e1c91b9192d716687d00d3c847f37b36 (diff)
downloadFreeBSD-ports-1d20692bab62ca8c6b38bc77b665c664664c6df9.zip
FreeBSD-ports-1d20692bab62ca8c6b38bc77b665c664664c6df9.tar.gz
Add gens, a Sega Genesis/CD/32X emulator
PR: ports/82576 Submitted by: Travis Poppe <tlp@LiquidX.org>
Diffstat (limited to 'emulators/gens/Makefile')
-rw-r--r--emulators/gens/Makefile47
1 files changed, 47 insertions, 0 deletions
diff --git a/emulators/gens/Makefile b/emulators/gens/Makefile
new file mode 100644
index 0000000..45c454f
--- /dev/null
+++ b/emulators/gens/Makefile
@@ -0,0 +1,47 @@
+# New ports collection makefile for: gens
+# Date created: 22 Jun 2005
+# Whom: Travis Poppe <tlp@liquidx.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gens
+PORTVERSION= 2.12a
+CATEGORIES= emulators
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= Gens212a1SrcL
+
+MAINTAINER= tlp@liquidx.org
+COMMENT= Sega Genesis/CD/32X emulator
+
+BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
+
+WRKSRC= ${WRKDIR}/${PORTNAME}_linux/${PORTNAME}
+USE_ZIP= yes
+USE_SDL= sdl
+USE_GNOME= gtk20
+USE_GMAKE= yes
+USE_REINPLACE= yes
+
+ONLY_FOR_ARCHS= i386
+
+post-patch:
+ ${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|' ${WRKSRC}/Makefile
+ ${REINPLACE_CMD} -e 's|gcc|${CC}|' ${WRKSRC}/Makefile
+ ${REINPLACE_CMD} -e 's|g++|${CXX}|' ${WRKSRC}/Makefile
+ ${REINPLACE_CMD} -e 's|%%LDFLAGS%%|${LDFLAGS}|' ${WRKSRC}/Makefile
+ @${CAT} ${FILESDIR}/gens.in | ${SED} -e 's,%%PREFIX%%,${PREFIX},g' > ${WRKDIR}/gens
+
+do-install:
+ ${MKDIR} ${PREFIX}/share/gens
+ ${MKDIR} ${PREFIX}/share/gens/resource
+ ${INSTALL_SCRIPT} ${WRKDIR}/gens ${PREFIX}/bin/gens
+ ${INSTALL_PROGRAM} ${WRKSRC}/gens ${PREFIX}/share/gens/gens
+ ${INSTALL_DATA} ${WRKSRC}/resource/* ${PREFIX}/share/gens/resource
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}_linux/README ${DOCSDIR}/README
+.endif
+
+.include <bsd.port.mk>
OpenPOWER on IntegriCloud