diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2003-08-31 14:41:53 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2003-08-31 14:41:53 +0000 |
commit | 47e4cfec85fbe58db85d8874da05c0735faa330c (patch) | |
tree | 1a3c1f9cb576ac220eaa17523279400c4956e128 /emulators/fceux | |
parent | The ei_decode_longlong function fails when decoding long values > (diff) |
- Add new man page
- Use DOCSDIR macro
PR: 56236
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=88202
Diffstat (limited to 'emulators/fceux')
-rw-r--r-- | emulators/fceux/Makefile | 10 | ||||
-rw-r--r-- | emulators/fceux/pkg-plist | 58 |
2 files changed, 38 insertions, 30 deletions
diff --git a/emulators/fceux/Makefile b/emulators/fceux/Makefile index d3904e630623..206eb3cebec6 100644 --- a/emulators/fceux/Makefile +++ b/emulators/fceux/Makefile @@ -7,6 +7,7 @@ PORTNAME= fceu PORTVERSION= 0.96 +PORTREVISION= 1 CATEGORIES= emulators MASTER_SITES= http://fceultra.sourceforge.net/files/ DISTNAME= fceu${PORTVERSION:S/.//}src @@ -16,6 +17,7 @@ COMMENT= A portable NES/Famicom emulator based on Bero's original FCE LIB_DEPENDS= SDL-1.1:${PORTSDIR}/devel/sdl12 +MAN6= fceu.6 WRKSRC= ${WRKDIR}/fceu USE_X_PREFIX= yes USE_GMAKE= yes @@ -32,7 +34,7 @@ TECHPPUDOCS= "2C02\technical\operation.TXT" loopy1.txt loopy2.txt .if defined(WITH_OPTIMIZED_FLAGS) CFLAGS+= -O3 -ffast-math -finline-functions -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -malign-double .if (${MACHINE_ARCH} == "i386") -CFLAGS+= -mfancy-math-387 +CFLAGS+= -mfancy-math-387 .endif # i386 .endif @@ -63,6 +65,9 @@ post-patch: .endif .endif +pre-build: + @${CP} ${WRKSRC}/Documentation/fceu-sdl.6 ${WRKSRC}/Documentation/fceu.6 + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/fceu ${PREFIX}/bin .if !defined(NOPORTDOCS) @@ -72,6 +77,8 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/Documentation/${docs} ${DOCSDIR} .endfor .endif +.if !defined(NOPORTDOCS) + ${INSTALL_MAN} ${WRKSRC}/Documentation/fceu.6 ${PREFIX}/man/man6 .if defined(TECH_DOC_INSTALL) @${MKDIR} ${DOCSDIR}/tech .for docs in ${TECHDOCS} @@ -94,5 +101,6 @@ do-install: .endfor .endif .endif +.endif .include <bsd.port.post.mk> diff --git a/emulators/fceux/pkg-plist b/emulators/fceux/pkg-plist index c7f1553f8f38..127ef2da2150 100644 --- a/emulators/fceux/pkg-plist +++ b/emulators/fceux/pkg-plist @@ -1,30 +1,30 @@ bin/fceu -%%PORTDOCS%%share/doc/fceu/AUTHORS -%%PORTDOCS%%share/doc/fceu/COPYING -%%PORTDOCS%%share/doc/fceu/ChangeLog -%%PORTDOCS%%share/doc/fceu/FAQ -%%PORTDOCS%%share/doc/fceu/README -%%PORTDOCS%%share/doc/fceu/TODO -%%PORTDOCS%%share/doc/fceu/cheat.txt -%%PORTDOCS%%share/doc/fceu/fcs.txt -%%PORTDOCS%%share/doc/fceu/porting.txt -%%PORTDOCS%%share/doc/fceu/readme-linux.txt -%%PORTDOCS%%%%TECHDOCS%%share/doc/fceu/tech/README.now -%%PORTDOCS%%%%TECHDOCS%%share/doc/fceu/tech/README.sound -%%PORTDOCS%%%%TECHDOCS%%share/doc/fceu/tech/UNIF_current.txt -%%PORTDOCS%%%%TECHDOCS%%share/doc/fceu/tech/nsfspec.txt -%%PORTDOCS%%%%TECHDOCS%%share/doc/fceu/tech/cpu/4017.txt -%%PORTDOCS%%%%TECHDOCS%%share/doc/fceu/tech/cpu/6502_cpu.txt -%%PORTDOCS%%%%TECHDOCS%%share/doc/fceu/tech/cpu/NESSOUND-4th.txt -%%PORTDOCS%%%%TECHDOCS%%share/doc/fceu/tech/cpu/NESSOUND.txt -%%PORTDOCS%%%%TECHDOCS%%share/doc/fceu/tech/cpu/dmc.txt -%%PORTDOCS%%%%TECHDOCS%%share/doc/fceu/tech/exp/mmc5-e.txt -%%PORTDOCS%%%%TECHDOCS%%share/doc/fceu/tech/exp/mmc5_bank_switch.txt -%%PORTDOCS%%%%TECHDOCS%%share/doc/fceu/tech/ppu/loopy1.txt -%%PORTDOCS%%%%TECHDOCS%%share/doc/fceu/tech/ppu/loopy2.txt -%%PORTDOCS%%%%TECHDOCS%%share/doc/fceu/tech/ppu/2C02 technical operation.TXT -%%PORTDOCS%%%%TECHDOCS%%@dirrm share/doc/fceu/tech/ppu -%%PORTDOCS%%%%TECHDOCS%%@dirrm share/doc/fceu/tech/exp -%%PORTDOCS%%%%TECHDOCS%%@dirrm share/doc/fceu/tech/cpu -%%PORTDOCS%%%%TECHDOCS%%@dirrm share/doc/fceu/tech -%%PORTDOCS%%@dirrm share/doc/fceu +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS +%%PORTDOCS%%%%DOCSDIR%%/COPYING +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/FAQ +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/TODO +%%PORTDOCS%%%%DOCSDIR%%/cheat.txt +%%PORTDOCS%%%%DOCSDIR%%/fcs.txt +%%PORTDOCS%%%%DOCSDIR%%/porting.txt +%%PORTDOCS%%%%DOCSDIR%%/readme-linux.txt +%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/README.now +%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/README.sound +%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/UNIF_current.txt +%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/nsfspec.txt +%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/cpu/4017.txt +%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/cpu/6502_cpu.txt +%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/cpu/NESSOUND-4th.txt +%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/cpu/NESSOUND.txt +%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/cpu/dmc.txt +%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/exp/mmc5-e.txt +%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/exp/mmc5_bank_switch.txt +%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/ppu/loopy1.txt +%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/ppu/loopy2.txt +%%PORTDOCS%%%%TECHDOCS%%%%DOCSDIR%%/tech/ppu/2C02 technical operation.TXT +%%PORTDOCS%%%%TECHDOCS%%@dirrm %%DOCSDIR%%/tech/ppu +%%PORTDOCS%%%%TECHDOCS%%@dirrm %%DOCSDIR%%/tech/exp +%%PORTDOCS%%%%TECHDOCS%%@dirrm %%DOCSDIR%%/tech/cpu +%%PORTDOCS%%%%TECHDOCS%%@dirrm %%DOCSDIR%%/tech +%%PORTDOCS%%@dirrm %%DOCSDIR%% |