diff --git a/misc/Makefile b/misc/Makefile index 723256f0c2c9a..fa5ebf0a6bbdc 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -412,6 +412,7 @@ SUBDIR += py-halo SUBDIR += py-histoprint SUBDIR += py-huepy + SUBDIR += py-icoextract SUBDIR += py-ipyfastscape SUBDIR += py-kartograph SUBDIR += py-lightgbm diff --git a/misc/py-icoextract/Makefile b/misc/py-icoextract/Makefile new file mode 100644 index 0000000000000..05adfd147c2cd --- /dev/null +++ b/misc/py-icoextract/Makefile @@ -0,0 +1,20 @@ +PORTNAME= icoextract +PORTVERSION= 0.1.4 +CATEGORIES= misc +MASTER_SITES= GH +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= crees@FreeBSD.org +COMMENT= Extract icons from Windows EXE and DLL files + +LICENSE= MIT + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pefile>0:devel/py-pefile@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} + +USES= python +USE_PYTHON= distutils autoplist +USE_GITHUB= yes +GH_ACCOUNT= jlu5 + +.include diff --git a/misc/py-icoextract/distinfo b/misc/py-icoextract/distinfo new file mode 100644 index 0000000000000..4ef5486acfcb1 --- /dev/null +++ b/misc/py-icoextract/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1678578100 +SHA256 (jlu5-icoextract-0.1.4_GH0.tar.gz) = 9d84a6191c02326bdf6f7689184540aba5b683b9c626ed832ff20c426f2d6746 +SIZE (jlu5-icoextract-0.1.4_GH0.tar.gz) = 46660 diff --git a/misc/py-icoextract/pkg-descr b/misc/py-icoextract/pkg-descr new file mode 100644 index 0000000000000..ed1bdbc4c729a --- /dev/null +++ b/misc/py-icoextract/pkg-descr @@ -0,0 +1,12 @@ +icoextract is an icon extractor for Windows PE files (.exe/.dll), +written in Python. It also includes a thumbnailer script +(exe-thumbnailer) for Linux desktops. + +This project is inspired by extract-icon-py, icoutils, +and others. + +icoextract aims to be: + + Lightweight + Portable (cross-platform) + Fast on large files