svn commit: r356157 - head/emulators/zsnes

Michael Gmelin grembo at FreeBSD.org
Sun Jun 1 17:06:56 UTC 2014


Author: grembo
Date: Sun Jun  1 17:06:55 2014
New Revision: 356157
URL: http://svnweb.freebsd.org/changeset/ports/356157
QAT: https://qat.redports.org/buildarchive/r356157/

Log:
  Stagify.
  Note that this won't fix the port to build on 10 or 11.
  
  Reviewed by:	flo (mentor)
  Approved by:	flo (mentor)

Modified:
  head/emulators/zsnes/Makefile

Modified: head/emulators/zsnes/Makefile
==============================================================================
--- head/emulators/zsnes/Makefile	Sun Jun  1 16:43:03 2014	(r356156)
+++ head/emulators/zsnes/Makefile	Sun Jun  1 17:06:55 2014	(r356157)
@@ -14,7 +14,7 @@ COMMENT=	Intel x86 only Super Nintendo E
 
 # 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>


More information about the svn-ports-head mailing list