summaryrefslogtreecommitdiff
path: root/emulators/snes9x/Makefile
blob: 1aad7d0ef3fa3046e38f9b27bd9ae8a938507c3e (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
37
38
# New ports collection makefile for:    snes9x
# Version required:     118e
# Date created:         20 July 1997
# Whom:                 Yukihiro Nakai<Nakai@Mlab.t.u-tokyo.ac.jp>
#
# $Id: Makefile,v 1.7 1999/02/03 11:11:42 asami Exp $
#

DISTNAME=	snes118e
PKGNAME=	snes9x-118e
CATEGORIES=	emulators
MASTER_SITES=	http://www.snes9x.com/zips/
EXTRACT_SUFX=	.zip

MAINTAINER=	nacai@iname.com

BUILD_DEPENDS=	unzip:${PORTSDIR}/archivers/unzip
BUILD_DEPENDS+=	egcc:${PORTSDIR}/lang/pgcc
BUILD_DEPENDS+=	nasm:${PORTSDIR}/devel/nasm

ONLY_FOR_ARCHS=	i386

USE_GMAKE=	YES
USE_X_PREFIX=	YES
MAKEFILE=	Makefile.linux
ALL_TARGET=	snes9x s9xserver

EXTRACT_CMD=	unzip
EXTRACT_BEFORE_ARGS=	# empty
EXTRACT_AFTER_ARGS=	# empty

WRKSRC=		${WRKDIR}/release

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

.include <bsd.port.mk>