2013-01-09 20:50:06 +01:00
|
|
|
# Created by: Janos.Mohacsi@bsd.hu
|
2002-11-19 15:39:00 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= yape
|
2009-05-11 21:24:41 +02:00
|
|
|
PORTVERSION= 0.32.5
|
2012-02-18 11:18:33 +01:00
|
|
|
PORTREVISION= 1
|
2002-11-19 15:39:00 +01:00
|
|
|
CATEGORIES= emulators
|
2003-03-31 11:35:13 +02:00
|
|
|
MASTER_SITES= http://yape.homeserver.hu/download/
|
2005-10-13 16:44:05 +02:00
|
|
|
DISTNAME= ${PORTNAME}SDL-${PORTVERSION}
|
2002-11-19 15:39:00 +01:00
|
|
|
|
2013-01-09 20:50:06 +01:00
|
|
|
MAINTAINER= jmohacsi@bsd.hu
|
2003-02-21 13:06:51 +01:00
|
|
|
COMMENT= Yet Another Commodore +4 Emulator
|
2002-11-19 15:39:00 +01:00
|
|
|
|
2005-10-13 16:44:05 +02:00
|
|
|
USE_SDL= sdl
|
2002-11-19 15:39:00 +01:00
|
|
|
USE_GMAKE= yes
|
2005-10-13 16:44:05 +02:00
|
|
|
NO_WRKSUBDIR= yes
|
2002-11-19 15:39:00 +01:00
|
|
|
ALL_TARGET= yape
|
|
|
|
|
2005-10-13 16:44:05 +02:00
|
|
|
PLIST_FILES= bin/yape
|
|
|
|
PORTDOCS= *
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@${FIND} -E ${WRKDIR} -type f -iregex ".*\.(c|cpp|h|txt)" -print0 | \
|
|
|
|
${XARGS} -0 ${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//'
|
|
|
|
@${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' ${WRKSRC}/Makefile
|
|
|
|
|
2002-11-19 15:39:00 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e "s|sdl-config|${SDL_CONFIG}|" ${WRKSRC}/Makefile
|
2007-08-23 12:57:36 +02:00
|
|
|
@${REINPLACE_CMD} -e "s|TAP::TAP|TAP|" ${WRKSRC}/tape.h
|
2002-11-19 15:39:00 +01:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/yape ${PREFIX}/bin
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.ifndef(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
2005-10-13 16:44:05 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.SDL ${DOCSDIR}
|
2002-11-19 15:39:00 +01:00
|
|
|
.endif
|
|
|
|
|
2009-05-11 21:24:41 +02:00
|
|
|
.include <bsd.port.mk>
|