2013-09-20 18:43:52 +02:00
|
|
|
# Created by: Gunter Wambaugh <techgunter@yahoo.com>
|
2005-07-01 17:00:55 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= o2em
|
|
|
|
PORTVERSION= 1.17
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 2
|
2005-07-01 17:00:55 +02:00
|
|
|
CATEGORIES= emulators games
|
2009-08-22 02:20:34 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/OldFiles:1 \
|
2005-07-01 17:00:55 +02:00
|
|
|
http://o2em.sourceforge.net/files/:2
|
|
|
|
DISTFILES= o2em117src.zip:1 \
|
|
|
|
o2mainsamp.zip:2
|
|
|
|
|
|
|
|
MAINTAINER= techgunter@yahoo.com
|
|
|
|
COMMENT= An Odyssey2 / Videopac console emulator
|
|
|
|
|
2013-07-26 18:04:47 +02:00
|
|
|
LIB_DEPENDS= alleg:${PORTSDIR}/devel/allegro
|
2005-07-01 17:00:55 +02:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/o2em117src
|
|
|
|
MAKEFILE= Makefile.freebsd
|
|
|
|
USE_ZIP= yes
|
|
|
|
USE_GMAKE= yes
|
2011-09-24 00:26:39 +02:00
|
|
|
LDFLAGS+= ${PTHREAD_LIBS}
|
2005-07-01 17:00:55 +02:00
|
|
|
|
2013-09-20 18:43:52 +02:00
|
|
|
NO_STAGE= yes
|
2005-07-01 17:00:55 +02:00
|
|
|
post-extract:
|
|
|
|
@${FIND} -E ${WRKDIR} -type f -iregex ".*\.(c|h|txt)" -print0 | \
|
|
|
|
${XARGS} -0 ${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//'
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/o2em ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/dis48 ${PREFIX}/bin
|
|
|
|
@${MKDIR} ${PREFIX}/${PORTNAME}
|
|
|
|
@${MKDIR} ${PREFIX}/${PORTNAME}/bios
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/O2ROM.BIN ${PREFIX}/${PORTNAME}/bios/o2rom.bin
|
|
|
|
@${MKDIR} ${PREFIX}/${PORTNAME}/voice
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/*.WAV ${PREFIX}/${PORTNAME}/voice/
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/O2EM.txt ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/changelog.txt ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/license.txt ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${MKDIR} ${PREFIX}/o2em/roms
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|