mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
36 lines
790 B
Makefile
36 lines
790 B
Makefile
# New ports collection makefile for: snes9x
|
|
# Version required: 1.26
|
|
# Date created: 20 July 1997
|
|
# Whom: Yukihiro Nakai<Nakai@Mlab.t.u-tokyo.ac.jp>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
DISTNAME= s9xs126
|
|
PKGNAME= snes9x-1.26
|
|
CATEGORIES= emulators
|
|
MASTER_SITES= http://www.snes9x.com/zips/
|
|
|
|
MAINTAINER= nakai@FreeBSD.org
|
|
|
|
.if ${MACHINE_ARCH} == i386
|
|
BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
|
|
.elif ${MACHINE_ARCH} == alpha
|
|
MAKEFILE= Makefile.alpha
|
|
.endif
|
|
|
|
USE_GMAKE= YES
|
|
USE_X_PREFIX= YES
|
|
MAKE_ENV= CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}" \
|
|
CXXFLAGS="${CXXFLAGS}"
|
|
USE_ZIP= YES
|
|
WRKSRC= ${WRKDIR}/release
|
|
|
|
ONLY_FOR_ARCHS= i386 alpha
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/snes9x ${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/s9xserver ${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|