-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a52dd80
commit b499dab
Showing
2 changed files
with
48 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 | ||
|
||
PortSystem 1.0 | ||
PortGroup github 1.0 | ||
PortGroup makefile 1.0 | ||
|
||
github.setup mentebinaria readpe 0.84 v | ||
github.tarball_from archive | ||
revision 0 | ||
categories sysutils devel | ||
license GPL-2+ | ||
maintainers {makr @mohd-akram} openmaintainer | ||
|
||
description toolkit to analyze PE (Portable Executable) binaries | ||
|
||
long_description Open source, full-featured, multiplatform command line \ | ||
toolkit to work with and analyze PE (Portable Executable) \ | ||
binaries. | ||
|
||
checksums rmd160 fc31a223b974c58358cd5b9da26031f9661c6dd5 \ | ||
sha256 2d0dc383735802db62234297ae1703ccbf4b6d2f2754e284eb90d6f0a57aa670 \ | ||
size 642372 | ||
|
||
depends_lib path:lib/libssl.dylib:openssl | ||
|
||
patchfiles patch-lib-libpe-makefile.diff | ||
|
||
build.args prefix=${prefix} | ||
destroot.args prefix=${prefix} | ||
|
||
post-destroot { | ||
set bash_dir ${prefix}/share/bash-completion/completions | ||
set zsh_dir ${prefix}/share/zsh/site-functions | ||
xinstall -d ${destroot}${bash_dir} ${destroot}${zsh_dir} | ||
copy ${worksrcpath}/completion/bash/${name} ${destroot}${bash_dir} | ||
copy ${worksrcpath}/completion/zsh/_${name} ${destroot}${zsh_dir} | ||
} |
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,11 @@ | ||
--- lib/libpe/Makefile.orig 2024-02-01 07:39:11 | ||
+++ lib/libpe/Makefile 2024-05-17 10:24:36 | ||
@@ -106,7 +106,7 @@ | ||
$(LINK) -shared -Wl,-soname,$(LIBNAME).so.1 $(LDFLAGS) -o $(LIBNAME).so $^ $(LIBS) | ||
else ifeq ($(PLATFORM_OS), Darwin) | ||
$(LINK) -headerpad_max_install_names -dynamiclib \ | ||
- -flat_namespace -install_name $(LIBNAME).$(VERSION).dylib \ | ||
+ -flat_namespace -install_name $(libdir)/$(LIBNAME).$(VERSION).dylib \ | ||
-current_version $(VERSION) -compatibility_version $(VERSION) \ | ||
$(LDFLAGS) -o $(LIBNAME).dylib $^ $(LIBS) | ||
else ifeq ($(PLATFORM_OS), CYGWIN) |