forked from opnsense/ports
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Taken from: FreeBSD
- Loading branch information
Showing
391 changed files
with
1,490 additions
and
2,394 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
# Created by: Alonso Cardenas Marquez <[email protected]> | ||
# $FreeBSD$ | ||
|
||
PORTNAME= peazip | ||
PORTVERSION= 5.7.1 | ||
CATEGORIES= archivers | ||
MASTER_SITES= https://github.com/giorgiotani/PeaZip/releases/download/${PORTVERSION}/ | ||
DISTNAME= ${PORTNAME}-${PORTVERSION}.src | ||
|
||
MAINTAINER= [email protected] | ||
COMMENT= Free archiver and file compressor | ||
|
||
BUILD_DEPENDS= lazbuild:${PORTSDIR}/editors/lazarus \ | ||
fpcres:${PORTSDIR}/lang/fpc-utils | ||
|
||
USES= dos2unix zip | ||
USE_FPC= cairo fcl-base fcl-image fcl-process hash pasjpeg paszlib x11 | ||
USE_GNOME= # | ||
|
||
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.4.2 | ||
LAZARUS_DIR= ${LOCALBASE}/share/lazarus-${LAZARUS_VER} | ||
ARCHIVER_FILES= # | ||
|
||
OPTIONS_DEFINE= 7Z ARC ZPAQ UNACE | ||
OPTIONS_SINGLE= LCL | ||
OPTIONS_SINGLE_LCL= GTK2 QT4 | ||
|
||
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 | ||
|
||
OPTIONS_DEFAULT= GTK2 7Z | ||
|
||
.include <bsd.port.pre.mk> | ||
|
||
.if ${PORT_OPTIONS:MGTK2} | ||
USE_FPC+= gtk2 | ||
USE_GNOME= gtk20 | ||
LCL_PLATFORM= gtk2 | ||
BUILD_DEPENDS+= ${LCL_UNITS_DIR}/${LCL_PLATFORM}/interfaces.ppu:${PORTSDIR}/editors/lazarus-lcl-gtk2 | ||
.endif | ||
|
||
.if ${PORT_OPTIONS:MQT4} | ||
LIB_DEPENDS+= libQt4Pas.so:${PORTSDIR}/x11-toolkits/qt4pas | ||
LCL_PLATFORM= qt | ||
BUILD_DEPENDS+= ${LCL_UNITS_DIR}/${LCL_PLATFORM}/interfaces.ppu:${PORTSDIR}/editors/lazarus-lcl-qt | ||
.endif | ||
|
||
.if ${PORT_OPTIONS:M7Z} | ||
RUN_DEPENDS+= 7z:${PORTSDIR}/archivers/p7zip | ||
ARCHIVER_FILES+=7z | ||
PLIST_SUB+= 7Z="" | ||
.else | ||
PLIST_SUB+= 7Z="@comment " | ||
.endif | ||
|
||
.if ${PORT_OPTIONS:MARC} | ||
RUN_DEPENDS+= arc:${PORTSDIR}/archivers/arc | ||
ARCHIVER_FILES+=arc | ||
PLIST_SUB+= ARC="" | ||
.else | ||
PLIST_SUB+= ARC="@comment " | ||
.endif | ||
|
||
.if ${PORT_OPTIONS:MZPAQ} | ||
RUN_DEPENDS+= zpaq:${PORTSDIR}/archivers/paq | ||
ARCHIVER_FILES+=zpaq | ||
PLIST_SUB+= ZPAQ="" | ||
.else | ||
PLIST_SUB+= ZPAQ="@comment " | ||
.endif | ||
|
||
.if ${PORT_OPTIONS:MUNACE} | ||
RUN_DEPENDS+= unace:${PORTSDIR}/archivers/unace | ||
ARCHIVER_FILES+=unace | ||
PLIST_SUB+= UNACE="" | ||
.else | ||
PLIST_SUB+= UNACE="@comment " | ||
.endif | ||
|
||
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 | ||
|
||
do-install: | ||
@${MKDIR} ${STAGEDIR}${DATADIR}/res | ||
.for ARCHIVER in ${ARCHIVER_FILES} | ||
@${MKDIR} ${STAGEDIR}${DATADIR}/res/${ARCHIVER} | ||
@${LN} -s ${LOCALBASE}/bin/${ARCHIVER} ${STAGEDIR}${DATADIR}/res/${ARCHIVER}/${ARCHIVER} | ||
.endfor | ||
@cd ${WRKSRC}/res && ${COPYTREE_SHARE} "icons lang themes" ${STAGEDIR}${DATADIR}/res | ||
@cd ${WRKSRC} && ${INSTALL_DATA} altconf.txt ${STAGEDIR}${DATADIR}/res && \ | ||
${INSTALL_PROGRAM} pea pealauncher ${STAGEDIR}${DATADIR}/res && \ | ||
${INSTALL_PROGRAM} peazip ${STAGEDIR}${DATADIR} | ||
@cd ${WRKSRC}/FreeDesktop_integration && \ | ||
${INSTALL_DATA} peazip.desktop ${STAGEDIR}${DESKTOPDIR} && \ | ||
${INSTALL_DATA} peazip.png ${STAGEDIR}${PREFIX}/share/pixmaps/ | ||
${INSTALL_SCRIPT} ${WRKDIR}/pea ${WRKDIR}/pealauncher ${WRKDIR}/peazip ${STAGEDIR}${PREFIX}/bin/ | ||
|
||
.include <bsd.port.post.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
SHA256 (peazip-5.7.1.src.zip) = d32c1427f911a03974ee619096267eaf289afe4652f9abebbf18d55971b5e5f3 | ||
SIZE (peazip-5.7.1.src.zip) = 4045028 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- peach.pas.orig 2015-08-10 00:54:42.122935000 -0500 | ||
+++ peach.pas 2015-08-10 00:56:11.788970000 -0500 | ||
@@ -4320,6 +4320,7 @@ | ||
APPLICATION5 = ''; | ||
APPLICATION6 = ''; | ||
APPLICATION7 = ''; | ||
+ APPLICATION8 = ''; | ||
{$ENDIF} | ||
{$IFDEF NETBSD} | ||
EXEEXT = ''; | ||
@@ -4330,6 +4331,7 @@ | ||
APPLICATION5 = ''; | ||
APPLICATION6 = ''; | ||
APPLICATION7 = ''; | ||
+ APPLICATION8 = ''; | ||
{$ENDIF} | ||
{$IFDEF DARWIN} | ||
EXEEXT = ''; | ||
@@ -4340,6 +4342,7 @@ | ||
APPLICATION5 = ''; | ||
APPLICATION6 = ''; | ||
APPLICATION7 = ''; | ||
+ APPLICATION8 = ''; | ||
{$ENDIF} | ||
|
||
var |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/sh | ||
|
||
cd %%DATADIR%%/res && exec %%DATADIR%%/res/pea "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/sh | ||
|
||
cd %%DATADIR%%/res && exec %%DATADIR%%/res/pealauncher "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/sh | ||
|
||
cd %%DATADIR%% && exec %%DATADIR%%/peazip "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
PeaZip, free archiver utility, Open Source WinRar / WinZip alternative for | ||
Windows, Linux and FreeBSD. Compress to 7Z, ARC, BZ2, GZip, PAQ, PEA, | ||
self-extracting archives, TAR, WIM, XZ, ZIP files. Open 150+ file types, | ||
including ACE, CAB, DMG, ISO, RAR, UDF, ZIPX format. Extract, create and | ||
convert archives, split / join files, strong encryption, encrypted password | ||
manager, secure delete, find duplicate files, compute hash, export job | ||
definition as script to automate backup / restore. | ||
|
||
WWW: http://www.peazip.org |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
bin/pea | ||
bin/pealauncher | ||
bin/peazip | ||
share/applications/peazip.desktop | ||
share/pixmaps/peazip.png | ||
%%DATADIR%%/peazip | ||
%%DATADIR%%/res/altconf.txt | ||
%%DATADIR%%/res/icons/PeaZip.ico | ||
%%DATADIR%%/res/icons/PeaZip_7z.ico | ||
%%DATADIR%%/res/icons/PeaZip_block.ico | ||
%%DATADIR%%/res/icons/PeaZip_cd.ico | ||
%%DATADIR%%/res/icons/PeaZip_package.ico | ||
%%DATADIR%%/res/icons/PeaZip_rar.ico | ||
%%DATADIR%%/res/icons/PeaZip_zip.ico | ||
%%DATADIR%%/res/icons/new installer/peazip-256.bmp | ||
%%DATADIR%%/res/icons/new installer/peazip-icon-green.ico | ||
%%DATADIR%%/res/icons/new installer/peazip-icon-yellow.ico | ||
%%DATADIR%%/res/icons/new installer/peazip-installer-green-16.bmp | ||
%%DATADIR%%/res/icons/new installer/peazip-installer-green-24.bmp | ||
%%DATADIR%%/res/icons/new installer/peazip-installer-green-256.bmp | ||
%%DATADIR%%/res/icons/new installer/peazip-installer-green-32.bmp | ||
%%DATADIR%%/res/icons/new installer/peazip-installer-green-48.bmp | ||
%%DATADIR%%/res/icons/new installer/peazip-installer-yellow-16.bmp | ||
%%DATADIR%%/res/icons/new installer/peazip-installer-yellow-24.bmp | ||
%%DATADIR%%/res/icons/new installer/peazip-installer-yellow-256.bmp | ||
%%DATADIR%%/res/icons/new installer/peazip-installer-yellow-32.bmp | ||
%%DATADIR%%/res/icons/new installer/peazip-installer-yellow-48.bmp | ||
%%DATADIR%%/res/icons/new installer/peazip-installer.png | ||
%%DATADIR%%/res/icons/peazip_seven.icl | ||
%%DATADIR%%/res/lang/ar.txt | ||
%%DATADIR%%/res/lang/bg.txt | ||
%%DATADIR%%/res/lang/by-cr.txt | ||
%%DATADIR%%/res/lang/by-lt.txt | ||
%%DATADIR%%/res/lang/chs.txt | ||
%%DATADIR%%/res/lang/cht.txt | ||
%%DATADIR%%/res/lang/cz.txt | ||
%%DATADIR%%/res/lang/de-uml.txt | ||
%%DATADIR%%/res/lang/default.txt | ||
%%DATADIR%%/res/lang/en-gb.txt | ||
%%DATADIR%%/res/lang/en.txt | ||
%%DATADIR%%/res/lang/es-es.txt | ||
%%DATADIR%%/res/lang/es-la.txt | ||
%%DATADIR%%/res/lang/eu.txt | ||
%%DATADIR%%/res/lang/fi.txt | ||
%%DATADIR%%/res/lang/fr.txt | ||
%%DATADIR%%/res/lang/gl.txt | ||
%%DATADIR%%/res/lang/gr.txt | ||
%%DATADIR%%/res/lang/hu.txt | ||
%%DATADIR%%/res/lang/it.txt | ||
%%DATADIR%%/res/lang/ja.txt | ||
%%DATADIR%%/res/lang/ko.txt | ||
%%DATADIR%%/res/lang/nl.txt | ||
%%DATADIR%%/res/lang/no.txt | ||
%%DATADIR%%/res/lang/pl.txt | ||
%%DATADIR%%/res/lang/pt-br.txt | ||
%%DATADIR%%/res/lang/pt-pt.txt | ||
%%DATADIR%%/res/lang/ro.txt | ||
%%DATADIR%%/res/lang/ru.txt | ||
%%DATADIR%%/res/lang/si.txt | ||
%%DATADIR%%/res/lang/sk.txt | ||
%%DATADIR%%/res/lang/sv.txt | ||
%%DATADIR%%/res/lang/tj.txt | ||
%%DATADIR%%/res/lang/tr.txt | ||
%%DATADIR%%/res/lang/uk.txt | ||
%%DATADIR%%/res/lang/uz.txt | ||
%%DATADIR%%/res/lang/vn.txt | ||
%%DATADIR%%/res/pea | ||
%%DATADIR%%/res/pealauncher | ||
%%DATADIR%%/res/themes/firecrystal.theme.7z | ||
%%DATADIR%%/res/themes/nographic-embedded/fm-theme.bmp | ||
%%DATADIR%%/res/themes/nographic-embedded/note.readme | ||
%%DATADIR%%/res/themes/seven-embedded/fm-theme.bmp | ||
%%DATADIR%%/res/themes/seven-embedded/note.readme | ||
%%DATADIR%%/res/themes/seven.theme.7z | ||
%%7Z%%%%DATADIR%%/res/7z/7z | ||
%%ARC%%%%DATADIR%%/res/arc/arc | ||
%%UNACE%%%%DATADIR%%/res/unace/unace | ||
%%ZPAQ%%%%DATADIR%%/res/zpaq/zpaq |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.