aboutsummaryrefslogtreecommitdiff
path: root/net/wireshark/Makefile
diff options
context:
space:
mode:
authorDaniel Engberg <diizzy@FreeBSD.org>2023-03-20 08:40:03 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2023-03-20 08:40:03 +0000
commit55c08bfbb77e1bebd6594b8c38914b431a913a44 (patch)
tree95611b2e8d8c36a55c936bb7c0696f51397360c9 /net/wireshark/Makefile
parent60b5422f8f249f811cc918869b14b40926a91f9f (diff)
downloadports-55c08bfbb77e1bebd6594b8c38914b431a913a44.tar.gz
ports-55c08bfbb77e1bebd6594b8c38914b431a913a44.zip
net/wireshark: Rework ANDROIDDUMP
Use the cmake Bool helper and remove redundant code now that we're not using individual _MAN and _LIB subs. PR: 270160
Diffstat (limited to 'net/wireshark/Makefile')
-rw-r--r--net/wireshark/Makefile9
1 files changed, 1 insertions, 8 deletions
diff --git a/net/wireshark/Makefile b/net/wireshark/Makefile
index f2d67443c073..c99c79f8c3d6 100644
--- a/net/wireshark/Makefile
+++ b/net/wireshark/Makefile
@@ -65,8 +65,7 @@ LIBSSH_DESC= Enable libssh support (req by cisco/ssh/wifidump)
MAXMIND_DESC= Enable MaxMindDB-based GeoIP geolocation support
RTP_DESC= Enable codec support for RTP streams (implies GUI)
-ANDROIDDUMP_CMAKE_ON=-DBUILD_androiddump=ON
-ANDROIDDUMP_CMAKE_OFF=-DBUILD_androiddump=OFF
+ANDROIDDUMP_CMAKE_BOOL= BUILD_androiddump
DOCS_IMPLIES= MANPAGES
@@ -116,12 +115,6 @@ IGNORE= cannot build with base Kerberos if krb5 port is installed. \
Use ``make config'' to choose a different option
.endif
-.if ${PORT_OPTIONS:MANDROIDDUMP}
-PLIST_SUB+= ANDROIDDUMP=""
-.else
-PLIST_SUB+= ANDROIDDUMP="@comment "
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|/usr/share/applications|${DESKTOPDIR}|g ; \
s|/usr/share|${LOCALBASE}/share|g' \