1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

- Update to 4.1

- Add support for OptionNG
This commit is contained in:
Jose Alonso Cardenas Marquez 2012-12-12 21:17:10 +00:00
parent 6fca9f9c1e
commit 4a42d19f12
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=308799
2 changed files with 20 additions and 21 deletions

View File

@ -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
GTK1_DESC= Use gtk12 interface
GTK2_DESC= Use gtk20 interface
QT4_DESC= Use qt4 interface
OPTIONS_DEFAULT= GTK2
.include <bsd.port.pre.mk>
.if defined(WITH_GTK2) && defined(WITH_QT4)
IGNORE= Please select only one option QT4 or GTK2, don't select both options
.endif
.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 && \

View File

@ -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