diff options
author | Jose Alonso Cardenas Marquez <acm@FreeBSD.org> | 2018-02-01 07:19:34 +0000 |
---|---|---|
committer | Jose Alonso Cardenas Marquez <acm@FreeBSD.org> | 2018-02-01 07:19:34 +0000 |
commit | 6bdf91750f2873bd59d95cf6acf1fafac872b5de (patch) | |
tree | 1165740da76f1b3c93a4ffd1aaac979d08f114bd /archivers/peazip/Makefile | |
parent | 2e1465a00cce4dd1ee905ef8c23d29de21db5710 (diff) | |
download | ports-6bdf91750f2873bd59d95cf6acf1fafac872b5de.tar.gz ports-6bdf91750f2873bd59d95cf6acf1fafac872b5de.zip |
Notes
Diffstat (limited to 'archivers/peazip/Makefile')
-rw-r--r-- | archivers/peazip/Makefile | 16 |
1 files changed, 13 insertions, 3 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} \ |