identme provides a simple command-line interface (CLI) for retrieving your public IP address. This tool is designed for users who need to access their IP address programmatically without the overhead of a full backend or mobile application. WWW: https://github.com/pcarrier/ident.me \ https://www.ident.me PR: 284931 Reported by: Yusuf Yaman <nxjoseph@protonmail.com> (new maintainer)
28 lines
542 B
Makefile
28 lines
542 B
Makefile
PORTNAME= identme
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.6.0
|
|
CATEGORIES= net
|
|
|
|
MAINTAINER= nxjoseph@protonmail.com
|
|
COMMENT= Simple CLI for retrieving your public IP address
|
|
WWW= https://github.com/pcarrier/ident.me \
|
|
https://www.ident.me
|
|
|
|
LICENSE= BSD0CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
LIB_DEPENDS= libcurl.so:ftp/curl
|
|
|
|
USES= cmake compiler:c++17-lang
|
|
USE_CXXSTD= c++17
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= pcarrier
|
|
GH_PROJECT= ident.me
|
|
|
|
CMAKE_SOURCE_PATH= ${WRKSRC}/cli
|
|
LDFLAGS+= -lpthread
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
.include <bsd.port.mk>
|