Search:
GitHub Login
Preferences
My Notifications
Tickets
Wiki
GitHub
Timeline
Roadmap
Ticket Reports
Search
Context Navigation
Back to Ticket #28016
Ticket #28016
: search-libpng12.sh
File search-libpng12.sh,
239 bytes
(added by
jmroot (Joshua Root)
,
14 years ago
)
Line
1
#!/bin/sh
2
3
ports
=
""
4
for
f in
$(
find /opt/local/bin
)
$(
find /opt/local/lib -name
\*
.dylib
)
;
do
5
if
otool -L
$f
|
grep -q
'libpng12\.0'
;
then
6
ports
+=
"\n
$(
port provides
$f
|
cut -d
' '
-f
5
)
"
7
fi
8
done
9
10
echo
$ports
|
sort
|
uniq
Download in other formats:
Original Format