Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Nov 2013 23:06:27 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r334273 - head/games/openxcom
Message-ID:  <201311182306.rAIN6R6V051555@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon Nov 18 23:06:27 2013
New Revision: 334273
URL: http://svnweb.freebsd.org/changeset/ports/334273

Log:
  - Support staging
  - Use new LIB_DEPENDS syntax

Modified:
  head/games/openxcom/Makefile

Modified: head/games/openxcom/Makefile
==============================================================================
--- head/games/openxcom/Makefile	Mon Nov 18 23:04:19 2013	(r334272)
+++ head/games/openxcom/Makefile	Mon Nov 18 23:06:27 2013	(r334273)
@@ -12,7 +12,7 @@ COMMENT=	Open-source reimplementation of
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-LIB_DEPENDS=	yaml-cpp:${PORTSDIR}/devel/yaml-cpp
+LIB_DEPENDS=	libyaml-cpp.so:${PORTSDIR}/devel/yaml-cpp
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	SupSuper
@@ -35,7 +35,8 @@ PLIST_FILES=	bin/openxcom share/applicat
 PORTDOCS=	*
 PORTDATA=	*
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 .include <bsd.port.options.mk>
 
 .if ${OSVERSION} < 1000000
@@ -49,17 +50,11 @@ post-patch:
 		${WRKSRC}/src/Engine/CrossPlatform.cpp
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin/
-	${INSTALL_DATA} ${WRKSRC}/res/linux/openxcom.desktop ${PREFIX}/share/applications
-	${INSTALL_DATA} ${WRKSRC}/res/linux/icons/openxcom.svg ${PREFIX}/share/pixmaps
-.if !defined(NOPORTDATA)
-	${MKDIR} ${DATADIR}
-	cd ${WRKSRC}/bin && ${COPYTREE_SHARE} data ${DATADIR}/
-.endif
-.if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}/
-.endif
-	@${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}
+	${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+	${INSTALL_DATA} ${WRKSRC}/res/linux/openxcom.desktop ${STAGEDIR}${PREFIX}/share/applications/
+	${INSTALL_DATA} ${WRKSRC}/res/linux/icons/openxcom.svg ${STAGEDIR}${PREFIX}/share/pixmaps/
+	cd ${WRKSRC}/bin && ${COPYTREE_SHARE} data ${STAGEDIR}${DATADIR}/
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}/
 
 .include <bsd.port.mk>



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