diff options
author | acm <acm@FreeBSD.org> | 2018-05-26 00:31:21 +0800 |
---|---|---|
committer | acm <acm@FreeBSD.org> | 2018-05-26 00:31:21 +0800 |
commit | c29f84d481e5f571e5a3b599024d9f5cb814fde7 (patch) | |
tree | 7c23ab9b803bf454a97a095273ff2657ce4bd550 /archivers | |
parent | ed2ae32bf888538ac98e8c5bfbff04d149d28f9e (diff) | |
download | freebsd-ports-graphics-c29f84d481e5f571e5a3b599024d9f5cb814fde7.tar.gz freebsd-ports-graphics-c29f84d481e5f571e5a3b599024d9f5cb814fde7.tar.zst freebsd-ports-graphics-c29f84d481e5f571e5a3b599024d9f5cb814fde7.zip |
- Moved ports to Uses/lazarus.mk
- Add FLAVORS
Approved by: portmgr
Differential Revision: https://reviews.freebsd.org/D14661
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/peazip/Makefile | 56 | ||||
-rw-r--r-- | archivers/peazip/distinfo | 6 |
2 files changed, 18 insertions, 44 deletions
diff --git a/archivers/peazip/Makefile b/archivers/peazip/Makefile index 01de48a9292..e0bd550dbd1 100644 --- a/archivers/peazip/Makefile +++ b/archivers/peazip/Makefile @@ -1,9 +1,9 @@ -# Created by: Alonso Cardenas Marquez <acm@FreeBSD.org> # $FreeBSD$ PORTNAME= peazip -PORTVERSION= 6.5.0 +PORTVERSION= 6.5.1 CATEGORIES= archivers +PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX} MASTER_SITES= https://github.com/giorgiotani/PeaZip/releases/download/${PORTVERSION}/ DISTNAME= ${PORTNAME}-${PORTVERSION}.src @@ -12,57 +12,37 @@ COMMENT= Free archiver and file compressor LICENSE= LGPL3 -BUILD_DEPENDS= lazbuild:editors/lazarus \ - fpcres:lang/fpc-utils - -USES= dos2unix fpc zip +USES= dos2unix fpc lazarus:flavors zip USE_FPC= cairo chm fcl-base fcl-image pasjpeg rtl-objpas x11 -USE_GNOME= # +USE_XORG= x11 SUB_FILES= pea pealauncher peazip 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.8.0 -LAZARUS_DIR= ${LOCALBASE}/share/lazarus-${LAZARUS_VER} +LAZBUILD_ARGS= -d + +gtk2_CONFLICTS_INSTALL= ${PORTNAME}-qt4 ${PORTNAME}-qt5 +qt4_CONFLICTS_INSTALL= ${PORTNAME}-gtk2 ${PORTNAME}-qt5 +qt5_CONFLICTS_INSTALL= ${PORTNAME}-gtk2 ${PORTNAME}-qt4 + ARCHIVER_FILES= # OPTIONS_DEFINE= 7Z ARC ZPAQ UNACE -OPTIONS_SINGLE= LCL -OPTIONS_SINGLE_LCL= GTK2 QT4 QT5 7Z_DESC= 7z file archiver support ARC_DESC= Arc file archiver support 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 - -.include <bsd.port.options.mk> -.if ${PORT_OPTIONS:MGTK2} -USE_FPC+= gtk2 -USE_GNOME= gtk20 -LCL_PLATFORM= gtk2 -BUILD_DEPENDS+= ${LCL_UNITS_DIR}/${LCL_PLATFORM}/interfaces.ppu:editors/lazarus-lcl-gtk2 -.endif +OPTIONS_DEFAULT= 7Z -.if ${PORT_OPTIONS:MQT4} -LIB_DEPENDS+= libQt4Pas.so:x11-toolkits/qt4pas -LCL_PLATFORM= qt -BUILD_DEPENDS+= ${LCL_UNITS_DIR}/${LCL_PLATFORM}/interfaces.ppu:editors/lazarus-lcl-qt +.if ${FLAVOR:Ugtk2:Mgtk2} +USE_GNOME+= cairo .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 +.include <bsd.port.options.mk> .if ${PORT_OPTIONS:M7Z} RUN_DEPENDS+= 7z:archivers/p7zip @@ -99,12 +79,6 @@ PLIST_SUB+= UNACE="@comment " 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} \ - ${LAZBUILD_CMD} --ws=${LCL_PLATFORM} --lazarusdir=${LAZARUS_DIR} ${PROJECT_FILE} -.endfor - pre-install: @${ECHO_CMD} "#" > ${WRKSRC}/altconf.txt @${ECHO_CMD} "appdata" >> ${WRKSRC}/altconf.txt diff --git a/archivers/peazip/distinfo b/archivers/peazip/distinfo index 93955b91493..4acf44dfaf8 100644 --- a/archivers/peazip/distinfo +++ b/archivers/peazip/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1513107866 -SHA256 (peazip-6.5.0.src.zip) = 1c19c7d6c346b511c635c95d6ff0277ee0811873133757d3c06c26fec558e7bf -SIZE (peazip-6.5.0.src.zip) = 4181167 +TIMESTAMP = 1520457314 +SHA256 (peazip-6.5.1.src.zip) = b106811311fbaf42ad5374520df2be8b20a545b80e6f8713a1f10e2e5a79d01e +SIZE (peazip-6.5.1.src.zip) = 4289282 |