1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/emulators/snes9x/Makefile
Satoshi Asami 5114e2637e Adjust port Makefiles to new EXTRACT_* variable defaults. See log of
bsd.port.mk rev. 1.304 for details on the change.

The fix here is one of the following.

(1) Define USE_BZIP2 instead of BUILD_DEPENDS on bzip2 and redefining
    EXTRACT_* commands.

(2) Change ${EXTRACT_CMD} to ${TAR} when the command is obviously
    calling the "tar" command (i.e., arguments like "-xzf" are spelled
    out).

(3) If ${EXTRACT_CMD} is called directly with ${EXTRACT_BEFORE_ARGS},
    add ${EXTRACT_AFTER_ARGS} to the command line as well.

(4) If any of EXTRACT_CMD, EXTRACT_BEFORE_ARGS or EXTRACT_AFTER_ARGS
    is set, define the other two too.
1999-02-03 11:12:01 +00:00

38 lines
858 B
Makefile

# New ports collection makefile for: snes9x
# Version required: 116a
# Date created: 20 July 1997
# Whom: Yukihiro Nakai<Nakai@Mlab.t.u-tokyo.ac.jp>
#
# $Id: Makefile,v 1.6 1999/01/12 16:51:07 vanilla Exp $
#
DISTNAME= snes116a
PKGNAME= snes9x-116a
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
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>