Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Mar 2014 17:30:27 +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: r349779 - head/devel/kyra
Message-ID:  <201403311730.s2VHURoh095599@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Mon Mar 31 17:30:27 2014
New Revision: 349779
URL: http://svnweb.freebsd.org/changeset/ports/349779
QAT: https://qat.redports.org/buildarchive/r349779/

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

Modified:
  head/devel/kyra/Makefile

Modified: head/devel/kyra/Makefile
==============================================================================
--- head/devel/kyra/Makefile	Mon Mar 31 17:28:15 2014	(r349778)
+++ head/devel/kyra/Makefile	Mon Mar 31 17:30:27 2014	(r349779)
@@ -12,9 +12,9 @@ COMMENT=	Simple Sprite engine written in
 
 LICENSE=	GPLv2
 
-LIB_DEPENDS=	jpeg:${PORTSDIR}/graphics/jpeg \
-		png15:${PORTSDIR}/graphics/png \
-		tiff:${PORTSDIR}/graphics/tiff
+LIB_DEPENDS=	libjpeg.so:${PORTSDIR}/graphics/jpeg \
+		libpng15.so:${PORTSDIR}/graphics/png \
+		libtiff.so:${PORTSDIR}/graphics/tiff
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
@@ -26,20 +26,20 @@ MAKE_ENV=	MAKE_KYRA=RELEASE KYRA_OPENGL=
 MAKE_ARGS=	CC="${CC}" CXX="${CXX}" LD="${CXX}" \
 		RELEASE_CFLAGS="${CFLAGS}" RELEASE_CXXFLAGS="${CXXFLAGS}"
 
-NO_STAGE=	yes
 do-install:
 .for i in encoder spriteed
-	(cd ${WRKSRC}/${i} && ${INSTALL_PROGRAM} kr${i} ${PREFIX}/bin)
+	(cd ${WRKSRC}/${i} && ${INSTALL_PROGRAM} kr${i} ${STAGEDIR}${PREFIX}/bin)
 .endfor
-	(cd ${WRKSRC}/engine && ${INSTALL_DATA} libkyra.a ${PREFIX}/lib)
-	@${MKDIR} ${PREFIX}/include/Kyra
-	(cd ${WRKSRC} && ${INSTALL_DATA} kyra.h ${PREFIX}/include/Kyra)
+	(cd ${WRKSRC}/engine && ${INSTALL_DATA} libkyra.a ${STAGEDIR}${PREFIX}/lib)
+	@${MKDIR} ${STAGEDIR}${PREFIX}/include/Kyra
+	(cd ${WRKSRC} && ${INSTALL_DATA} kyra.h ${STAGEDIR}${PREFIX}/include/Kyra)
 .for i in engine gui guiExtended util
-	@${MKDIR} ${PREFIX}/include/Kyra/${i}
-	(cd ${WRKSRC}/${i} && ${INSTALL_DATA} *.h ${PREFIX}/include/Kyra/${i})
+	@${MKDIR} ${STAGEDIR}${PREFIX}/include/Kyra/${i}
+	(cd ${WRKSRC}/${i} && ${INSTALL_DATA} *.h \
+		${STAGEDIR}${PREFIX}/include/Kyra/${i})
 .endfor
-	@${MKDIR} ${PREFIX}/include/Kyra/tinyxml
+	@${MKDIR} ${STAGEDIR}${PREFIX}/include/Kyra/tinyxml
 	(cd ${WRKSRC}/../tinyxml && ${INSTALL_DATA} *.h \
-		${PREFIX}/include/Kyra/tinyxml)
+		${STAGEDIR}${PREFIX}/include/Kyra/tinyxml)
 
 .include <bsd.port.mk>



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