Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jun 2014 16:39:41 +0000 (UTC)
From:      Michael Gmelin <grembo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r356155 - head/emulators/snes9x
Message-ID:  <201406011639.s51GdfqO057625@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: grembo
Date: Sun Jun  1 16:39:41 2014
New Revision: 356155
URL: http://svnweb.freebsd.org/changeset/ports/356155
QAT: https://qat.redports.org/buildarchive/r356155/

Log:
  Stagify. Small fixes while being there.
  The port doesn't build with std=c++11. Even though it's
  an upstream problem, the maintainer might want to
  look into fixing this.
  
  Reviewed by:	flo (mentor)
  Approved by:	flo (mentor)

Modified:
  head/emulators/snes9x/Makefile

Modified: head/emulators/snes9x/Makefile
==============================================================================
--- head/emulators/snes9x/Makefile	Sun Jun  1 16:37:23 2014	(r356154)
+++ head/emulators/snes9x/Makefile	Sun Jun  1 16:39:41 2014	(r356155)
@@ -12,7 +12,7 @@ DISTNAME=	${PORTNAME}-${PORTVERSION}-src
 MAINTAINER=	acm@FreeBSD.org
 COMMENT=	Super Nintendo Entertainment System(SNES) Emulator
 
-LIB_DEPENDS=	png15:${PORTSDIR}/graphics/png
+LIB_DEPENDS=	libpng.so:${PORTSDIR}/graphics/png
 
 USE_XORG=	x11 sm ice xext
 USES=		gmake tar:bzip2
@@ -38,7 +38,6 @@ MMX_DESC=	Enable MMX
 JMA_DESC=	Enable JMA archive decompression support
 NETPLAY_DESC=	Enable network support
 
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 .if ${PORT_OPTIONS:MDOCS}
@@ -77,7 +76,6 @@ SNES9X_BIN=	snes9x
 .endif
 
 .if ${PORT_OPTIONS:MSCREENSHOT}
-LIB_DEPENDS+=	png15:${PORTSDIR}/graphics/png
 CONFIGURE_ARGS+=	--with-screenshot
 .else
 CONFIGURE_ARGS+=	--without-screenshot
@@ -106,16 +104,13 @@ post-patch:
 
 do-install:
 .if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for FILE in control* changes.txt hardware.txt porting.html faqs.txt \
 		snapshots.txt snes9x.conf.default
-	${INSTALL_DATA} ${WRKSRC}/doc/${FILE} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/${FILE} ${STAGEDIR}${DOCSDIR}
 .endfor
-	${INSTALL_DATA} ${WRKSRC}/unix/docs/readme_unix.txt ${DOCSDIR}/README
+	${INSTALL_DATA} ${WRKSRC}/unix/docs/readme_unix.txt ${STAGEDIR}${DOCSDIR}/README
 .endif
-	${INSTALL_PROGRAM} ${WRKSRC}/${SNES9X_BIN} ${PREFIX}/bin/${PORTNAME}
-
-post-install:
-	@${CAT} ${PKGMESSAGE}
+	${INSTALL_PROGRAM} ${WRKSRC}/${SNES9X_BIN} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
 
 .include <bsd.port.post.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406011639.s51GdfqO057625>