aboutsummaryrefslogtreecommitdiff
path: root/emulators/zsnes
diff options
context:
space:
mode:
authorMichael Gmelin <grembo@FreeBSD.org>2014-06-01 17:06:55 +0000
committerMichael Gmelin <grembo@FreeBSD.org>2014-06-01 17:06:55 +0000
commit9d8e3d31148beda8d46fb78637db9e4fc1dc88ea (patch)
tree23e1888e8afd714be4491ac205bf268db6597db0 /emulators/zsnes
parentc1023f2b65d499994cbbdf730998edb79f61f28e (diff)
downloadports-9d8e3d31148beda8d46fb78637db9e4fc1dc88ea.tar.gz
ports-9d8e3d31148beda8d46fb78637db9e4fc1dc88ea.zip
Notes
Diffstat (limited to 'emulators/zsnes')
-rw-r--r--emulators/zsnes/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/emulators/zsnes/Makefile b/emulators/zsnes/Makefile
index 74cffede4dca..3a42ac4d8a74 100644
--- a/emulators/zsnes/Makefile
+++ b/emulators/zsnes/Makefile
@@ -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>