Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2012 21:17:11 +0000 (UTC)
From:      Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r308799 - head/net-p2p/transmission-remote-gui
Message-ID:  <201212122117.qBCLHB80050665@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: acm
Date: Wed Dec 12 21:17:10 2012
New Revision: 308799
URL: http://svnweb.freebsd.org/changeset/ports/308799

Log:
  - Update to 4.1
  - Add support for OptionNG

Modified:
  head/net-p2p/transmission-remote-gui/Makefile
  head/net-p2p/transmission-remote-gui/distinfo

Modified: head/net-p2p/transmission-remote-gui/Makefile
==============================================================================
--- head/net-p2p/transmission-remote-gui/Makefile	Wed Dec 12 21:16:20 2012	(r308798)
+++ head/net-p2p/transmission-remote-gui/Makefile	Wed Dec 12 21:17:10 2012	(r308799)
@@ -1,12 +1,8 @@
-# New ports collection makefile for:	transmission-remote-gui
-# Date created:		2009-05-20
-# Whom:			Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
-#
+# Created by:	Alonso Cardenas Marquez <acm@FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	transmission-remote-gui
-PORTVERSION=	4.0.3
+PORTVERSION=	4.1
 PORTREVISION=	0
 CATEGORIES=	net-p2p
 MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
@@ -31,33 +27,36 @@ PLIST_FILES=	bin/transgui
 SUB_FILES=	pkg-message
 
 LAZARUS_PROJECT_FILE=	transgui.lpi
-LAZBUILD_CMD=		${LOCALBASE}/bin/lazbuild
+LAZBUILD_CMD=		${LOCALBASE}/bin/lazbuild -d
 LCL_UNITS_DIR=		${LOCALBASE}/share/lazarus/lcl/units/${BUILDNAME}
+LAZARUS_DIR=		${LOCALBASE}/share/lazarus
 
-OPTIONS=	GTK2    "Use gtk20 interface instead of gtk12"  on \
-		QT4     "Use qt4 interface" off
+OPTIONS_SINGLE=		LCL
+OPTIONS_SINGLE_LCL=	GTK1 GTK2 QT4
 
-.include <bsd.port.pre.mk>
+GTK1_DESC=		Use gtk12 interface
+GTK2_DESC=		Use gtk20 interface
+QT4_DESC=		Use qt4 interface
 
-.if defined(WITH_GTK2) && defined(WITH_QT4)
-IGNORE=	Please select only one option QT4 or GTK2, don't select both options
-.endif
+OPTIONS_DEFAULT=	GTK2
+
+.include <bsd.port.pre.mk>
 
-.if defined(WITH_GTK2)
+.if ${PORT_OPTIONS:MGTK2}
 USE_FPC+=	gtk2
 USE_GNOME=	gtk20 gdkpixbuf
 LCL_PLATFORM=	gtk2
 BUILD_DEPENDS+=	${LCL_UNITS_DIR}/${LCL_PLATFORM}/interfaces.ppu:${PORTSDIR}/editors/lazarus-lcl-gtk2
-.else
-.if !defined(WITH_QT4)
+.endif
+
+.if ${PORT_OPTIONS:MGTK1}
 USE_FPC+=	gtk1
 USE_GNOME=	gtk12 gdkpixbuf
 LCL_PLATFORM=	gtk
 BUILD_DEPENDS+=	${LCL_UNITS_DIR}/${LCL_PLATFORM}/interfaces.ppu:${PORTSDIR}/editors/lazarus-lcl-gtk
 .endif
-.endif
 
-.if defined(WITH_QT4)
+.if ${PORT_OPTIONS:MQT4}
 LIB_DEPENDS+=	Qt4Pas.5:${PORTSDIR}/x11-toolkits/qt4pas
 LCL_PLATFORM=	qt
 BUILD_DEPENDS+=	${LCL_UNITS_DIR}/${LCL_PLATFORM}/interfaces.ppu:${PORTSDIR}/editors/lazarus-lcl-qt
@@ -65,7 +64,7 @@ BUILD_DEPENDS+=	${LCL_UNITS_DIR}/${LCL_P
 
 do-build:
 	@cd ${WRKSRC} && \
-		${LAZBUILD_CMD} --ws=${LCL_PLATFORM} ${LAZARUS_PROJECT_FILE}
+		${LAZBUILD_CMD} --ws=${LCL_PLATFORM} --lazarusdir=${LAZARUS_DIR} ${LAZARUS_PROJECT_FILE}
 
 do-install:
 	@cd ${WRKSRC}/units && \

Modified: head/net-p2p/transmission-remote-gui/distinfo
==============================================================================
--- head/net-p2p/transmission-remote-gui/distinfo	Wed Dec 12 21:16:20 2012	(r308798)
+++ head/net-p2p/transmission-remote-gui/distinfo	Wed Dec 12 21:17:10 2012	(r308799)
@@ -1,2 +1,2 @@
-SHA256 (transgui-4.0.3-src.zip) = c201d069ac48dc032a43b6ac815db9d73cb18a29dd66323578270c549b299e5e
-SIZE (transgui-4.0.3-src.zip) = 885083
+SHA256 (transgui-4.1-src.zip) = 289fa43d22555e171be3b30d945e81c81b68cb957a501926bf518289078972a9
+SIZE (transgui-4.1-src.zip) = 893016



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