Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jan 2014 19:41:56 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r339022 - head/finance/xtrader
Message-ID:  <201401071941.s07JfuXM063027@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Tue Jan  7 19:41:56 2014
New Revision: 339022
URL: http://svnweb.freebsd.org/changeset/ports/339022

Log:
  - Stage support
  - USES gmake
  - New LIB_DEPENDS syntax

Modified:
  head/finance/xtrader/Makefile

Modified: head/finance/xtrader/Makefile
==============================================================================
--- head/finance/xtrader/Makefile	Tue Jan  7 19:34:42 2014	(r339021)
+++ head/finance/xtrader/Makefile	Tue Jan  7 19:41:56 2014	(r339022)
@@ -10,21 +10,20 @@ MASTER_SITES=	SF/${PORTNAME}/OldFiles
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Technical analysis program for financial instruments
 
-LIB_DEPENDS=	ptypes.21:${PORTSDIR}/devel/ptypes \
-		fltk.1:${PORTSDIR}/x11-toolkits/fltk
+LIB_DEPENDS=	libptypes.so:${PORTSDIR}/devel/ptypes \
+		libfltk.so.1:${PORTSDIR}/x11-toolkits/fltk
 
 MAKE_ENV=	PTHREAD_LIBS="${PTHREAD_LIBS}"
 MAKEFILE=	Makefile.linux
 USE_XORG=	x11 xpm
 BUILD_WRKSRC=	${WRKSRC}/${PORTNAME}
 NO_WRKSUBDIR=	yes
-USE_GMAKE=	yes
+USES=		gmake
 
 PLIST_FILES=	bin/xtrader \
 		%%DATADIR%%/sample.xt
 PLIST_DIRS=	%%DATADIR%%
 
-NO_STAGE=	yes
 post-patch:
 	${REINPLACE_CMD} -e 's|char|const char|' \
 	    ${WRKSRC}/xtrader/src/Resource.cpp
@@ -36,8 +35,8 @@ post-patch:
 	   ${REINPLACE_CMD} -e '/^#include <FL/s|.h>$$|.H>|; s|fl_file_chooser|Fl_File_Chooser|g'
 
 do-install:
-	@${MKDIR} ${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}/sample.xt ${DATADIR}
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}/xtrader ${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}/sample.xt ${STAGEDIR}${DATADIR}
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}/xtrader ${STAGEDIR}${PREFIX}/bin
 
 .include <bsd.port.mk>



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