Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Apr 2014 20:05:31 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r350739 - head/emulators/ines
Message-ID:  <201404092005.s39K5VOK013345@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Wed Apr  9 20:05:31 2014
New Revision: 350739
URL: http://svnweb.freebsd.org/changeset/ports/350739
QAT: https://qat.redports.org/buildarchive/r350739/

Log:
  - Add staging support
  - Convert to new LIB_DEPENDS format

Modified:
  head/emulators/ines/Makefile

Modified: head/emulators/ines/Makefile
==============================================================================
--- head/emulators/ines/Makefile	Wed Apr  9 20:03:30 2014	(r350738)
+++ head/emulators/ines/Makefile	Wed Apr  9 20:05:31 2014	(r350739)
@@ -12,7 +12,7 @@ EXTRACT_SUFX=	.tar.Z
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Nintendo Entertainment System emlator for X
 
-LIB_DEPENDS=	c.5:${PORTSDIR}/misc/compat5x
+LIB_DEPENDS=	libc.so.5:${PORTSDIR}/misc/compat5x
 
 ONLY_FOR_ARCHS=	i386
 ONLY_FOR_ARCHS_REASON=	is an i386 binary
@@ -22,12 +22,10 @@ USE_XORG=	x11 xext
 NO_BUILD=	yes
 STRIP=
 
-NO_STAGE=	yes
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/ines ${PREFIX}/bin
-	${MKDIR} ${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/iNES.html ${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/CART.NES ${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/*.pal ${DATADIR}
+	${INSTALL_PROGRAM} ${WRKSRC}/ines ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	(cd ${WRKSRC} && ${INSTALL_DATA} iNES.html CART.NES *.pal \
+		${STAGEDIR}${DATADIR})
 
 .include <bsd.port.mk>



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