aboutsummaryrefslogtreecommitdiff
path: root/emulators/yape/Makefile
blob: 108270213176c7f4a42d7cc34caa7173b988afee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# New ports collection makefile for:    yape
# Date created:         31.10.2002
# Whom:                 Janos.Mohacsi@bsd.hu
#
# $FreeBSD$
#

PORTNAME=	yape
PORTVERSION=	0.32.3
CATEGORIES=	emulators
MASTER_SITES=	http://www.keepitretro.com/plus4/download/
DISTNAME=	yapeSDL-${PORTVERSION}

MAINTAINER=	janos.mohacsi@bsd.hu

LIB_DEPENDS=	SDL-1.1.4:${PORTSDIR}/devel/sdl12

NO_WRKSUBDIR=	yes
USE_REINPLACE=	yes
SDL_CONFIG?=	${LOCALBASE}/bin/sdl11-config
USE_GMAKE=	yes
ALL_TARGET=	yape

post-patch:
	@${REINPLACE_CMD} -e "s|sdl-config|${SDL_CONFIG}|" ${WRKSRC}/Makefile

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/yape ${PREFIX}/bin

post-install:
.ifndef(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README.Linux ${DOCSDIR}
.endif

.include <bsd.port.mk>