diff options
author | Jose Alonso Cardenas Marquez <acm@FreeBSD.org> | 2012-12-12 21:17:10 +0000 |
---|---|---|
committer | Jose Alonso Cardenas Marquez <acm@FreeBSD.org> | 2012-12-12 21:17:10 +0000 |
commit | 4a42d19f121d6acd78caa0c0128eb4c77a35e98c (patch) | |
tree | 6f6fda8ab725d3956c4257b463edb6acfd9af635 /net-p2p/transmission-remote-gui | |
parent | 6fca9f9c1e2620283483781050471f11c9a36f5a (diff) | |
download | ports-4a42d19f121d6acd78caa0c0128eb4c77a35e98c.tar.gz ports-4a42d19f121d6acd78caa0c0128eb4c77a35e98c.zip |
Notes
Diffstat (limited to 'net-p2p/transmission-remote-gui')
-rw-r--r-- | net-p2p/transmission-remote-gui/Makefile | 37 | ||||
-rw-r--r-- | net-p2p/transmission-remote-gui/distinfo | 4 |
2 files changed, 20 insertions, 21 deletions
diff --git a/net-p2p/transmission-remote-gui/Makefile b/net-p2p/transmission-remote-gui/Makefile index 16080e22df6d..e1cfd183f6fe 100644 --- a/net-p2p/transmission-remote-gui/Makefile +++ b/net-p2p/transmission-remote-gui/Makefile @@ -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_PLATFORM}/interfaces.ppu:${PORTSDIR}/edit 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 && \ diff --git a/net-p2p/transmission-remote-gui/distinfo b/net-p2p/transmission-remote-gui/distinfo index ed900bced2fe..8db36465ab08 100644 --- a/net-p2p/transmission-remote-gui/distinfo +++ b/net-p2p/transmission-remote-gui/distinfo @@ -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 |