mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
Stagify.
Note that this won't fix the port to build on 10 or 11. Reviewed by: flo (mentor) Approved by: flo (mentor)
This commit is contained in:
parent
c1023f2b65
commit
9d8e3d3114
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356157
@ -14,7 +14,7 @@ COMMENT= Intel x86 only Super Nintendo Entertainment System (SNES) Emulator
|
||||
|
||||
# This must be >= 0.98!
|
||||
BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
|
||||
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
|
||||
LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png
|
||||
|
||||
ONLY_FOR_ARCHS= i386
|
||||
ONLY_FOR_ARCHS_REASON= non-portable, for a portable emulator see emulators/snes9x
|
||||
@ -32,14 +32,12 @@ USES= gmake tar:bzip2
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS+= --disable-cpucheck
|
||||
|
||||
MAN1= zsnes.1
|
||||
PLIST_FILES= bin/zsnes
|
||||
PLIST_FILES= bin/zsnes man/man1/zsnes.1.gz
|
||||
|
||||
CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libpng15
|
||||
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libpng15
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MDEBUGGER}
|
||||
@ -83,7 +81,7 @@ post-patch:
|
||||
's|-O3||g' ${WRKSRC}/${CONFIGURE_SCRIPT}
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/zsnes ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/linux/zsnes.1 ${MANPREFIX}/man/man1
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/zsnes ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/linux/zsnes.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user