Skip to content

Commit

Permalink
*/*: sync with upstream
Browse files Browse the repository at this point in the history
Taken from: HardenedBSD
  • Loading branch information
fichtner committed Sep 6, 2019
1 parent c08b9a3 commit e886163
Show file tree
Hide file tree
Showing 771 changed files with 2,017 additions and 8,843 deletions.
6 changes: 3 additions & 3 deletions accessibility/kmag/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1565555588
SHA256 (KDE/applications/19.08.0/kmag-19.08.0.tar.xz) = 7d42c254e62750899e429482c2b6ed3b4b1e8c5a66fbc371eec656421817d0a4
SIZE (KDE/applications/19.08.0/kmag-19.08.0.tar.xz) = 673656
TIMESTAMP = 1567537090
SHA256 (KDE/applications/19.08.1/kmag-19.08.1.tar.xz) = 28504935665df18246cc6db4288dc2b33f24ed7114007df008f4310ce8792ceb
SIZE (KDE/applications/19.08.1/kmag-19.08.1.tar.xz) = 673888
6 changes: 3 additions & 3 deletions accessibility/kmousetool/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1565555588
SHA256 (KDE/applications/19.08.0/kmousetool-19.08.0.tar.xz) = 3b2f5a4fcc3231c249923431059285e3f8371f7c8d53fcaea76dec3945a13b09
SIZE (KDE/applications/19.08.0/kmousetool-19.08.0.tar.xz) = 113248
TIMESTAMP = 1567537101
SHA256 (KDE/applications/19.08.1/kmousetool-19.08.1.tar.xz) = d9a3164a0709fa0d2fc3e30ade2bd42c86fb73c7cf4adc341dd7e11e686f7956
SIZE (KDE/applications/19.08.1/kmousetool-19.08.1.tar.xz) = 113592
6 changes: 3 additions & 3 deletions accessibility/kmouth/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1565555589
SHA256 (KDE/applications/19.08.0/kmouth-19.08.0.tar.xz) = 608479db4b2a98ecd17bdc1b1ef20203f492647b43311e903fb10338a59e0098
SIZE (KDE/applications/19.08.0/kmouth-19.08.0.tar.xz) = 1966328
TIMESTAMP = 1567537101
SHA256 (KDE/applications/19.08.1/kmouth-19.08.1.tar.xz) = 531b7b3716fea8c679c5c39c7c04214cb561430182747ce08a9854a76105821e
SIZE (KDE/applications/19.08.1/kmouth-19.08.1.tar.xz) = 1964544
10 changes: 5 additions & 5 deletions arabic/libreoffice/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
TIMESTAMP = 1565263562
SHA256 (libreoffice/i18n/LibreOffice_6.3.0_Linux_x86-64_deb_langpack_ar.tar.gz) = 2d4f1364cfd56956bb40e285f2d2a06d53eed71c4f809e7fa37eb3b90d58827c
SIZE (libreoffice/i18n/LibreOffice_6.3.0_Linux_x86-64_deb_langpack_ar.tar.gz) = 1650351
SHA256 (libreoffice/i18n/LibreOffice_6.3.0_Linux_x86-64_deb_helppack_ar.tar.gz) = c99b2cdefad72f83785695fb3f6ccc09ba6f0fea4a2aa01da97df29d272fc7d1
SIZE (libreoffice/i18n/LibreOffice_6.3.0_Linux_x86-64_deb_helppack_ar.tar.gz) = 1455442
TIMESTAMP = 1567686035
SHA256 (libreoffice/i18n/LibreOffice_6.3.1_Linux_x86-64_deb_langpack_ar.tar.gz) = 6e360596b8e1f5eef99abe289524ee1355480276583ee2ebfba9c29b1dccea1a
SIZE (libreoffice/i18n/LibreOffice_6.3.1_Linux_x86-64_deb_langpack_ar.tar.gz) = 1651439
SHA256 (libreoffice/i18n/LibreOffice_6.3.1_Linux_x86-64_deb_helppack_ar.tar.gz) = 3ea911f7d6f1b96571b83423eb8d3b5fe4e37ad8b74ffe60253c77eec8d22253
SIZE (libreoffice/i18n/LibreOffice_6.3.1_Linux_x86-64_deb_helppack_ar.tar.gz) = 1455236
6 changes: 3 additions & 3 deletions archivers/ark/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1565555589
SHA256 (KDE/applications/19.08.0/ark-19.08.0.tar.xz) = 0685285486ca933e3467f35c3d5d4e8633ae80f1e5529f8a4d8257d0b53d9512
SIZE (KDE/applications/19.08.0/ark-19.08.0.tar.xz) = 2584376
TIMESTAMP = 1567537101
SHA256 (KDE/applications/19.08.1/ark-19.08.1.tar.xz) = b5638bc4559d775d0a0c2aee022cadc021543bf92e8be6b9b803c50e7e7f1835
SIZE (KDE/applications/19.08.1/ark-19.08.1.tar.xz) = 2585216
2 changes: 1 addition & 1 deletion archivers/ark/pkg-plist
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
bin/ark
share/qlogging-categories5/ark.categories
lib/libkerfuffle.so.%%KDE_APPLICATIONS_VERSION_SHORT%%
lib/libkerfuffle.so.19.8.0
lib/libkerfuffle.so.19.8.1
%%QT_PLUGINDIR%%/arkpart.so
%%QT_PLUGINDIR%%/kerfuffle/kerfuffle_cli7z.so
%%QT_PLUGINDIR%%/kerfuffle/kerfuffle_clirar.so
Expand Down
3 changes: 2 additions & 1 deletion archivers/rubygem-minitar-cli/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

PORTNAME= minitar-cli
PORTVERSION= 0.8
PORTREVISION= 1
CATEGORIES= archivers rubygems
MASTER_SITES= RG

Expand All @@ -14,7 +15,7 @@ LICENSE_COMB= dual
LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/docs/bsdl.txt
LICENSE_FILE_RUBY= ${WRKSRC}/docs/ruby.txt

RUN_DEPENDS= rubygem-minitar>=0.8.0<0.9:archivers/rubygem-minitar \
RUN_DEPENDS= rubygem-minitar>=0.8.0<1:archivers/rubygem-minitar \
rubygem-powerbar>=1.0<2:devel/rubygem-powerbar

USES= gem
Expand Down
11 changes: 11 additions & 0 deletions archivers/rubygem-minitar-cli/files/patch-gemspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- minitar-cli.gemspec.orig 2019-09-05 12:53:52 UTC
+++ minitar-cli.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |s|
s.specification_version = 4

if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
- s.add_runtime_dependency(%q<minitar>.freeze, ["~> 0.8.0"])
+ s.add_runtime_dependency(%q<minitar>.freeze, ["~> 0.8"])
s.add_runtime_dependency(%q<powerbar>.freeze, ["~> 1.0"])
s.add_development_dependency(%q<minitest>.freeze, ["~> 5.11"])
s.add_development_dependency(%q<hoe-doofus>.freeze, ["~> 1.0"])
2 changes: 1 addition & 1 deletion archivers/rubygem-minitar/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# $FreeBSD$

PORTNAME= minitar
PORTVERSION= 0.8
PORTVERSION= 0.9
CATEGORIES= archivers rubygems
MASTER_SITES= RG

Expand Down
6 changes: 3 additions & 3 deletions archivers/rubygem-minitar/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1548427577
SHA256 (rubygem/minitar-0.8.gem) = 8dc3681aac3bb869546012688b87d9b0cda51b78da8db663cd5d1a38100edcb5
SIZE (rubygem/minitar-0.8.gem) = 33280
TIMESTAMP = 1567688371
SHA256 (rubygem/minitar-0.9.gem) = 23c0bebead35dbfe9e24088dc436c8a233d03f51d365a686b9a11dd30dc2d588
SIZE (rubygem/minitar-0.9.gem) = 32768
6 changes: 3 additions & 3 deletions astro/libkgeomap/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1565555589
SHA256 (KDE/applications/19.08.0/libkgeomap-19.08.0.tar.xz) = 267c3bb6d033dcbcfabb6822eebc69410de2d13b792ce62af47034bbcf3a5e54
SIZE (KDE/applications/19.08.0/libkgeomap-19.08.0.tar.xz) = 150704
TIMESTAMP = 1567537102
SHA256 (KDE/applications/19.08.1/libkgeomap-19.08.1.tar.xz) = aed369217007698beaa3230bf5b5360602d44ca6d333026158b15666f3670555
SIZE (KDE/applications/19.08.1/libkgeomap-19.08.1.tar.xz) = 150876
6 changes: 3 additions & 3 deletions astro/marble/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1565555590
SHA256 (KDE/applications/19.08.0/marble-19.08.0.tar.xz) = c1c951a1357c94a61b38f0ae8a1235d194150cd351dbf25d2db3508b22b44cc1
SIZE (KDE/applications/19.08.0/marble-19.08.0.tar.xz) = 52299796
TIMESTAMP = 1567537102
SHA256 (KDE/applications/19.08.1/marble-19.08.1.tar.xz) = 7e09e3037287be117e47de402d1f5ea7dd49f625ccf4a46d1d016a527d487e9e
SIZE (KDE/applications/19.08.1/marble-19.08.1.tar.xz) = 52300764
2 changes: 1 addition & 1 deletion astro/pyephem/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# $FreeBSD$

PORTNAME= pyephem
PORTVERSION= 3.7.6.0
PORTVERSION= 3.7.7.0
PORTEPOCH= 1
CATEGORIES= astro math hamradio
MASTER_SITES= CHEESESHOP
Expand Down
5 changes: 3 additions & 2 deletions astro/pyephem/distinfo
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
SHA256 (pyephem-3.7.6.0.tar.gz) = 143146da32a07a4cf9725b5656ba095d24978c22a0363414203e72c39bae52bd
SIZE (pyephem-3.7.6.0.tar.gz) = 739561
TIMESTAMP = 1567729453
SHA256 (pyephem-3.7.7.0.tar.gz) = e1f3d455a780abe8afa7f2c7a76f70449f53c9147a20285c3c708cebeea63bf4
SIZE (pyephem-3.7.7.0.tar.gz) = 1266
6 changes: 3 additions & 3 deletions audio/audiocd-kio/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1565555591
SHA256 (KDE/applications/19.08.0/audiocd-kio-19.08.0.tar.xz) = 46013e95fa358004083c185d43afe48b96bd18acba1a33e5706f75b128a3e954
SIZE (KDE/applications/19.08.0/audiocd-kio-19.08.0.tar.xz) = 355444
TIMESTAMP = 1567537103
SHA256 (KDE/applications/19.08.1/audiocd-kio-19.08.1.tar.xz) = e072ed20f07fe246267b3e7c459812fe63d94125a1d2fbcda1c0403e9fe0a520
SIZE (KDE/applications/19.08.1/audiocd-kio-19.08.1.tar.xz) = 356276
6 changes: 3 additions & 3 deletions audio/juk/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1565555591
SHA256 (KDE/applications/19.08.0/juk-19.08.0.tar.xz) = d2549c709f8934a5306a16e3a1e2b9e057ead54dc85efe17009e7aacd395edd0
SIZE (KDE/applications/19.08.0/juk-19.08.0.tar.xz) = 1860204
TIMESTAMP = 1567537103
SHA256 (KDE/applications/19.08.1/juk-19.08.1.tar.xz) = f91de1fa697fba3fe73a086b0f3c254959fbceb769d3752353ee2078b86611f9
SIZE (KDE/applications/19.08.1/juk-19.08.1.tar.xz) = 1864900
1 change: 1 addition & 0 deletions audio/juk/pkg-plist
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ share/locale/hi/LC_MESSAGES/juk.mo
share/locale/hr/LC_MESSAGES/juk.mo
share/locale/hu/LC_MESSAGES/juk.mo
share/locale/ia/LC_MESSAGES/juk.mo
share/locale/id/LC_MESSAGES/juk.mo
share/locale/is/LC_MESSAGES/juk.mo
share/locale/it/LC_MESSAGES/juk.mo
share/locale/ja/LC_MESSAGES/juk.mo
Expand Down
6 changes: 3 additions & 3 deletions audio/kmix/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1565555601
SHA256 (KDE/applications/19.08.0/kmix-19.08.0.tar.xz) = 3d9cf6dcb35ded0091d16f5e9f4cb384ae21ea4065547b52d5f13f199d3d7b08
SIZE (KDE/applications/19.08.0/kmix-19.08.0.tar.xz) = 1004452
TIMESTAMP = 1567537113
SHA256 (KDE/applications/19.08.1/kmix-19.08.1.tar.xz) = a6006ab35bdfc2896188aa99ba50f1b28e8d5172ec8a1068efb15a50c43f87a7
SIZE (KDE/applications/19.08.1/kmix-19.08.1.tar.xz) = 1005284
6 changes: 3 additions & 3 deletions audio/kwave/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1565555602
SHA256 (KDE/applications/19.08.0/kwave-19.08.0.tar.xz) = 60f5408e9a67e934c67332b9a9643513f35946796d1ccf70369e411f804b1043
SIZE (KDE/applications/19.08.0/kwave-19.08.0.tar.xz) = 6189588
TIMESTAMP = 1567537114
SHA256 (KDE/applications/19.08.1/kwave-19.08.1.tar.xz) = 6febc3d01c15f94fa0f75a731a375b76642c2cdce9afc373a5c1e92fb3753891
SIZE (KDE/applications/19.08.1/kwave-19.08.1.tar.xz) = 6196012
6 changes: 3 additions & 3 deletions audio/libkcddb/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1565555602
SHA256 (KDE/applications/19.08.0/libkcddb-19.08.0.tar.xz) = f97b90660bfd403aa64be8e6221a89087f74ab443431a9f692fe14cc90d82151
SIZE (KDE/applications/19.08.0/libkcddb-19.08.0.tar.xz) = 424124
TIMESTAMP = 1567537114
SHA256 (KDE/applications/19.08.1/libkcddb-19.08.1.tar.xz) = f73d3f802e1ffec6b75246505cbec5a7baa328b808c23b42608e05fd8c7b30a5
SIZE (KDE/applications/19.08.1/libkcddb-19.08.1.tar.xz) = 423668
6 changes: 3 additions & 3 deletions audio/libkcompactdisc/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1565555602
SHA256 (KDE/applications/19.08.0/libkcompactdisc-19.08.0.tar.xz) = cc940df2a1e499965fe05b466c60014082d205f0ae606562980e6088d714eac5
SIZE (KDE/applications/19.08.0/libkcompactdisc-19.08.0.tar.xz) = 89020
TIMESTAMP = 1567537114
SHA256 (KDE/applications/19.08.1/libkcompactdisc-19.08.1.tar.xz) = 53d206967d98e9ee8254aca58d1ba34458761106c323deb449fa94bed1e24037
SIZE (KDE/applications/19.08.1/libkcompactdisc-19.08.1.tar.xz) = 88948
6 changes: 3 additions & 3 deletions benchmarks/bonnie++/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# $FreeBSD$

PORTNAME= bonnie++
PORTVERSION= 1.97.3
PORTVERSION= 1.98
CATEGORIES= benchmarks
MASTER_SITES= https://www.coker.com.au/bonnie++/

Expand All @@ -11,9 +11,9 @@ COMMENT= Performance Test of Filesystem I/O

LICENSE= GPLv2

GNU_CONFIGURE= yes

USES= shebangfix tar:tgz

GNU_CONFIGURE= yes
SHEBANG_FILES= bon_csv2txt.in

PORTDOCS= readme.html
Expand Down
6 changes: 3 additions & 3 deletions benchmarks/bonnie++/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1482419750
SHA256 (bonnie++-1.97.3.tgz) = e27b386ae0dc054fa7b530aab6bdead7aea6337a864d1f982bc9ebacb320746e
SIZE (bonnie++-1.97.3.tgz) = 100166
TIMESTAMP = 1567440456
SHA256 (bonnie++-1.98.tgz) = 6e0bcbc08b78856fd998dd7bcb352d4615a99c26c2dc83d5b8345b102bad0b04
SIZE (bonnie++-1.98.tgz) = 100339
11 changes: 11 additions & 0 deletions benchmarks/bonnie++/files/patch-bon_time.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- bon_time.cpp.orig 2019-09-02 11:43:11 UTC
+++ bon_time.cpp
@@ -146,7 +146,7 @@ int BonTimer::print_stat(tests_t test, i
}
else
{
- fprintf(m_fp, " %5d", stat);
+ fprintf(m_fp, " %5f", stat);
}
}
else
14 changes: 7 additions & 7 deletions benchmarks/bonnie++/files/patch-bonnie++.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- bonnie++.cpp.orig 2016-06-30 09:41:41.000000000 +0000
+++ bonnie++.cpp 2016-10-18 19:52:40.381679719 +0000
@@ -294,11 +294,7 @@
--- bonnie++.cpp.orig 2019-09-02 18:10:39.852145000 +0200
+++ bonnie++.cpp 2019-09-02 18:12:18.027222000 +0200
@@ -298,11 +298,7 @@
{
char *sbuf = _strdup(optarg);
char *size = strtok(sbuf, ":");
Expand All @@ -9,10 +9,10 @@
-#else
- file_size = size_from_str(size, "g");
-#endif
size = strtok(NULL, "");
if(size)
char * chunk_size = strtok(NULL, ":");
if(chunk_size)
{
@@ -384,15 +380,6 @@
@@ -398,15 +394,6 @@
if(file_size % 1024 > 512)
file_size = file_size + 1024 - (file_size % 1024);
}
Expand All @@ -28,7 +28,7 @@
globals.byte_io_size = min(file_size, globals.byte_io_size);
globals.byte_io_size = max(0, globals.byte_io_size);

@@ -465,14 +452,6 @@
@@ -479,14 +466,6 @@
&& (directory_max_size < directory_min_size || directory_max_size < 0
|| directory_min_size < 0) )
usage();
Expand Down
20 changes: 20 additions & 0 deletions benchmarks/bonnie++/files/patch-getc_putc.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
--- getc_putc.cpp.orig 2018-09-15 09:00:31.000000000 +0200
+++ getc_putc.cpp 2019-09-05 12:09:25.705704000 +0200
@@ -206,7 +206,7 @@
return 1;
}
fflush(NULL);
- TEST_FUNC_READ("getc()", if( (c = getc(fp)) == EOF), res[Getc]);
+ TEST_FUNC_READ("getc()", int tmp = getc(fp); c = (char)tmp; if (tmp == EOF), res[Getc]);
if(fseek(fp, 0, SEEK_SET) != 0)
{
fprintf(stderr, "Can't seek.\n");
@@ -221,7 +221,7 @@
return 1;
}
fflush(NULL);
- TEST_FUNC_READ("getc_unlocked()", if( (c = getc_unlocked(fp)) == EOF), res[GetcUnlocked]);
+ TEST_FUNC_READ("getc_unlocked()", int tmp = getc_unlocked(fp); c = (char)tmp; if (tmp == EOF), res[GetcUnlocked]);

if(!quiet)
printf("done\n");
11 changes: 11 additions & 0 deletions benchmarks/bonnie++/files/patch-getc_putc_helper.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- getc_putc_helper.cpp.orig 2009-07-03 04:26:05.000000000 +0200
+++ getc_putc_helper.cpp 2019-09-05 12:09:25.707876000 +0200
@@ -45,7 +45,7 @@
return 1;
}
fflush(NULL);
- TEST_FUNC_READ("getc() no thread", if( (c = getc(fp)) == EOF), res[1]);
+ TEST_FUNC_READ("getc() no thread", int tmp = getc(fp); c = (char)tmp; if (tmp == EOF), res[1]);
if(fseek(fp, 0, SEEK_SET) != 0)
{
fprintf(stderr, "Can't seek.\n");
65 changes: 30 additions & 35 deletions cad/k40-whisperer/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# $FreeBSD$

PORTNAME= k40-whisperer
DISTVERSION= 0.19
DISTVERSION= 0.35
CATEGORIES= cad python
MASTER_SITES= http://www.scorchworks.com/K40whisperer/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= K40_Whisperer-${DISTVERSION}_src

MAINTAINER= [email protected]
Expand All @@ -17,50 +16,46 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}usb>0:devel/py-usb@${PY_FLAVOR}

USES= python:2.7 zip

OPTIONS_DEFINE= DOCS
USES= python:run,-3.7 shebangfix zip
SHEBANG_FILES= *.py

NO_ARCH= yes
NO_BUILD= yes

WHISPERER_COMMAND= ${PORTNAME}
DESKTOP_ENTRIES= "K40 Whisperer" "${COMMENT}" \
"${DATADIR}/scorchworks.ico" "${WHISPERER_COMMAND}" \
"Development;Art;Engineering;VectorGraphics;" false

PLIST_SUB= WHISPERER_COMMAND=${WHISPERER_COMMAND}
SUB_FILES= pkg-message ${WHISPERER_COMMAND}
SUB_LIST= PYTHON_CMD=${PYTHON_CMD} WHISPERER_COMMAND=${WHISPERER_COMMAND}
PLIST_SUB= WHISPERER_COMMAND=${WHISPERER_COMMAND}

DATA= bezmisc.py \
CC.png \
cspsubdiv.py \
cubicsuperpath.py \
down.png \
dxf.py \
egv.py \
emblem64 \
ffgeom.py \
g_code_library.py \
inkex.py \
interpolate.py \
k40_whisperer.py \
left.png \
LL.png \
LR.png \
nano_library.py \
right.png \
simplepath.py \
simplestyle.py \
simpletransform.py \
svg_reader.py \
UL.png \
up.png \
UR.png
OPTIONS_DEFINE= DOCS

DOCS= Change_Log.txt \
README_Linux.txt \
README_MacOS.md
NON_DATA_FILES= ${DOCS} \
${LICENSE_FILE:S,${WRKSRC}/,,} \
build_exe.bat \
py2exe_setup.py \
requirements.txt
WHISPERER_COMMAND= ${PORTNAME}

DOCS= README_Linux.txt \
README_MacOS.md
post-patch:
# Replace every leading tab with 8 spaces. It is a workaround for
# misindented Python scripts.
@${REINPLACE_CMD} -e 's|^ | |g' \
-e ':again' \
-e 's|^\( \)* |\1 |g' \
-e 't again' \
${WRKSRC}/*.py

do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${WHISPERER_COMMAND} ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${DATA:S,^,${WRKSRC}/,} ${STAGEDIR}${DATADIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} . \
${STAGEDIR}${DATADIR} "${NON_DATA_FILES:S,^,! -name &,}")
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}

Expand Down
6 changes: 3 additions & 3 deletions cad/k40-whisperer/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1527085070
SHA256 (K40_Whisperer-0.19_src.zip) = c688cf1746aa391b6a9d4cfb3e66c2f183d1f45da88a2770e8ddefac44349193
SIZE (K40_Whisperer-0.19_src.zip) = 121328
TIMESTAMP = 1567611773
SHA256 (K40_Whisperer-0.35_src.zip) = e555dc8de00d88596463d3af61d523b3df3d0beb3385aa38dab2dfbd1cfc1015
SIZE (K40_Whisperer-0.35_src.zip) = 170723
2 changes: 1 addition & 1 deletion cad/k40-whisperer/files/pkg-message.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
message: <<EOM
At the moment K40 Whisperer has to be run as root unless devd(8) is properly
configured. Some notes on how it is handled on macOS and Linux can be
found in %%DATADIR%%.
found in %%DOCSDIR%%.

K40 Whisperer can be launched with a `%%WHISPERER_COMMAND%%` command.
EOM
Expand Down
Loading

0 comments on commit e886163

Please sign in to comment.