1997-11-02 14:56:43 +00:00
|
|
|
# New ports collection makefile for: snes9x
|
1999-12-28 04:27:57 +00:00
|
|
|
# Version required: 1.26
|
1998-07-27 01:01:00 +00:00
|
|
|
# Date created: 20 July 1997
|
1997-11-02 14:56:43 +00:00
|
|
|
# Whom: Yukihiro Nakai<Nakai@Mlab.t.u-tokyo.ac.jp>
|
|
|
|
#
|
1999-08-25 05:57:29 +00:00
|
|
|
# $FreeBSD$
|
1997-11-02 14:56:43 +00:00
|
|
|
#
|
|
|
|
|
1999-12-28 04:27:57 +00:00
|
|
|
DISTNAME= s9xs126
|
|
|
|
PKGNAME= snes9x-1.26
|
1997-11-02 14:56:43 +00:00
|
|
|
CATEGORIES= emulators
|
1998-07-27 01:01:00 +00:00
|
|
|
MASTER_SITES= http://www.snes9x.com/zips/
|
1997-11-02 14:56:43 +00:00
|
|
|
|
1999-12-28 04:27:57 +00:00
|
|
|
MAINTAINER= nakai@FreeBSD.org
|
1997-11-02 14:56:43 +00:00
|
|
|
|
1999-09-20 00:04:34 +00:00
|
|
|
.if ${MACHINE_ARCH} == i386
|
|
|
|
BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
|
|
|
|
.elif ${MACHINE_ARCH} == alpha
|
|
|
|
MAKEFILE= Makefile.alpha
|
|
|
|
.endif
|
1999-01-07 02:31:51 +00:00
|
|
|
|
1999-01-12 07:07:21 +00:00
|
|
|
USE_GMAKE= YES
|
|
|
|
USE_X_PREFIX= YES
|
1999-09-20 01:56:08 +00:00
|
|
|
MAKE_ENV= CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}" \
|
|
|
|
CXXFLAGS="${CXXFLAGS}"
|
1999-09-20 00:04:34 +00:00
|
|
|
USE_ZIP= YES
|
1999-01-12 07:07:21 +00:00
|
|
|
WRKSRC= ${WRKDIR}/release
|
1997-11-02 14:56:43 +00:00
|
|
|
|
1999-09-20 00:04:34 +00:00
|
|
|
ONLY_FOR_ARCHS= i386 alpha
|
|
|
|
|
1997-11-02 14:56:43 +00:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/snes9x ${PREFIX}/bin
|
1999-01-12 07:07:21 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/s9xserver ${PREFIX}/bin
|
1997-11-02 14:56:43 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|