1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/emulators/fceux/Makefile
Stanislav Sedov 0d2725682b - Update devel/sdl12 to version 1.2.11. Now we employ stock SDL directory
structure (i.e. include/SDL for includes and sdl-config for configuration
   binary)
 - Update graphics/sdl_ttf to version 2.0.8
 - Update graphics/sdl_image to version 1.2.5
 - Update audio/sdl_mixer to version 1.2.7
 - Update net/sdl_net to version 1.2.6
 - Update Mk/bsd.sdl.mk accordingly
 - Fix dependent ports to fit the new directory structure and avoid several
   API breakages
 - Bump up portrevisions for all dependent ports to allow them to be upgraded
   by portupgrade/portmaster etc tools

Approved by:    kris (portmgr), sem (mentor)
2006-09-20 11:21:59 +00:00

56 lines
1.5 KiB
Makefile

# New ports collection makefile for: fceu
# Date Created: 10 Mov 2002
# Whom: HIYAMA Takeshi <gibbon@cocoa.freemail.ne.jp>
#
# $FreeBSD$
#
PORTNAME= fceu
PORTVERSION= 0.98.13
PORTREVISION= 1
CATEGORIES= emulators
MASTER_SITES= http://bsd-unix.org/downloads/
DISTNAME= ${PORTNAME}-${PORTVERSION}-pre.src
MAINTAINER= xcas@cox.net
COMMENT= A portable NES/Famicom emulator based on Bero's original FCE
USE_BZIP2= yes
USE_GCC= 3.4
USE_GMAKE= yes
USE_SDL= sdl
USE_X_PREFIX= yes
WRKSRC= ${WRKDIR}/fceu
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
MAN6= fceu.6
PLIST_FILES= bin/fceu %%DOCSDIR%%/cheat.html %%DOCSDIR%%/faq.html \
%%DOCSDIR%%/fceultra.html %%DOCSDIR%%/fcm.txt \
%%DOCSDIR%%/fcs.txt %%DOCSDIR%%/protocol.txt
PLIST_DIRS= %%DOCSDIR%%
.include <bsd.port.pre.mk>
post-extract:
${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' ${WRKSRC}/src/drivers/common/vidblit.c
pre-build:
@${CP} ${WRKSRC}/Documentation/fceu-sdl.6 ${WRKSRC}/Documentation/fceu.6
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/fceu ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/Documentation/fceu.6 ${PREFIX}/man/man6
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Documentation/cheat.html ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Documentation/faq.html ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Documentation/fceultra.html ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Documentation/fcm.txt ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Documentation/fcs.txt ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Documentation/protocol.txt ${DOCSDIR}
.include <bsd.port.post.mk>