aboutsummaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2018-02-01 07:19:34 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2018-02-01 07:19:34 +0000
commit6bdf91750f2873bd59d95cf6acf1fafac872b5de (patch)
tree1165740da76f1b3c93a4ffd1aaac979d08f114bd /archivers
parent2e1465a00cce4dd1ee905ef8c23d29de21db5710 (diff)
downloadports-6bdf91750f2873bd59d95cf6acf1fafac872b5de.tar.gz
ports-6bdf91750f2873bd59d95cf6acf1fafac872b5de.zip
Notes
Diffstat (limited to 'archivers')
-rw-r--r--archivers/peazip/Makefile16
-rw-r--r--archivers/peazip/distinfo6
2 files changed, 16 insertions, 6 deletions
diff --git a/archivers/peazip/Makefile b/archivers/peazip/Makefile
index fe0f193e8827..9ce4bf3cfffc 100644
--- a/archivers/peazip/Makefile
+++ b/archivers/peazip/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= peazip
-PORTVERSION= 6.4.1
+PORTVERSION= 6.5.0
CATEGORIES= archivers
MASTER_SITES= https://github.com/giorgiotani/PeaZip/releases/download/${PORTVERSION}/
DISTNAME= ${PORTNAME}-${PORTVERSION}.src
@@ -25,13 +25,13 @@ DOS2UNIX_REGEX= .*\.([txt]|pas|lpi|txt)
LAZARUS_PROJECT_FILES= project_pea.lpi project_peach.lpi project_gwrap.lpi
LAZBUILD_CMD= ${LOCALBASE}/bin/lazbuild -d
LCL_UNITS_DIR= ${LOCALBASE}/share/lazarus-${LAZARUS_VER}/lcl/units/${BUILDNAME}
-LAZARUS_VER= 1.6.4
+LAZARUS_VER= 1.8.0
LAZARUS_DIR= ${LOCALBASE}/share/lazarus-${LAZARUS_VER}
ARCHIVER_FILES= #
OPTIONS_DEFINE= 7Z ARC ZPAQ UNACE
OPTIONS_SINGLE= LCL
-OPTIONS_SINGLE_LCL= GTK2 QT4
+OPTIONS_SINGLE_LCL= GTK2 QT4 QT5
7Z_DESC= 7z file archiver support
ARC_DESC= Arc file archiver support
@@ -39,6 +39,7 @@ ZPAQ_DESC= Zpaq file archiver support
UNACE_DESC= Unace file archiver support
GTK2_DESC= Use gtk20 interface
QT4_DESC= Use qt4 interface
+QT5_DESC= Use qt5 interface
OPTIONS_DEFAULT= GTK2 7Z
@@ -57,6 +58,12 @@ LCL_PLATFORM= qt
BUILD_DEPENDS+= ${LCL_UNITS_DIR}/${LCL_PLATFORM}/interfaces.ppu:editors/lazarus-lcl-qt
.endif
+.if ${PORT_OPTIONS:MQT5}
+LIB_DEPENDS+= libQt5Pas.so:x11-toolkits/qt5pas
+LCL_PLATFORM= qt5
+BUILD_DEPENDS+= ${LCL_UNITS_DIR}/${LCL_PLATFORM}/interfaces.ppu:editors/lazarus-lcl-qt5
+.endif
+
.if ${PORT_OPTIONS:M7Z}
RUN_DEPENDS+= 7z:archivers/p7zip
ARCHIVER_FILES+=7z
@@ -89,6 +96,9 @@ PLIST_SUB+= UNACE=""
PLIST_SUB+= UNACE="@comment "
.endif
+post-patch:
+ ${REINPLACE_CMD} 's|GetSelectedNodePath|Path|g' ${WRKSRC}/peach.pas
+
do-build:
.for PROJECT_FILE in ${LAZARUS_PROJECT_FILES}
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
diff --git a/archivers/peazip/distinfo b/archivers/peazip/distinfo
index 3d6e25108462..93955b914936 100644
--- a/archivers/peazip/distinfo
+++ b/archivers/peazip/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1499397491
-SHA256 (peazip-6.4.1.src.zip) = 6be126675c83df95b020da6221cf5063aed83510783d55254f4923c29a5245d0
-SIZE (peazip-6.4.1.src.zip) = 4098287
+TIMESTAMP = 1513107866
+SHA256 (peazip-6.5.0.src.zip) = 1c19c7d6c346b511c635c95d6ff0277ee0811873133757d3c06c26fec558e7bf
+SIZE (peazip-6.5.0.src.zip) = 4181167