[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / net / md-whois

File: [cvs.NetBSD.org] / pkgsrc / net / md-whois / Makefile (download)

Revision 1.38, Wed Oct 26 10:31:49 2022 UTC (3 months, 1 week ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4, HEAD
Changes since 1.37: +2 -2 lines

*: bump PKGREVISION for libunistring shlib major bump

# $NetBSD: Makefile,v 1.38 2022/10/26 10:31:49 wiz Exp $
#
# todo: set location of [md-]whois.conf and fix in man page too
# todo: build and install the po/ files and add to PLIST
# todo: add choice for mk/defaults/mk.conf to define name prefix
# (defaults to "md-" to distinguish from other whois clients) and adjust PLIST

GITHUB_PROJECT=	whois
GITHUB_TAG=	v${PKGVERSION_NOREV}
DISTNAME=	md-whois-${VERSION}
PKGREVISION=	4
CATEGORIES=	net
MASTER_SITES=	${MASTER_SITE_GITHUB:=rfc1036/}

MAINTAINER=	reed@reedmedia.net
HOMEPAGE=	https://www.linux.it/~md/software/
COMMENT=	Improved whois client
LICENSE=	gnu-gpl-v2

VERSION=	5.5.4

WRKSRC=		${WRKDIR}/whois-${VERSION}
USE_TOOLS+=	gmake perl pkg-config

LDFLAGS.SunOS+=	-lnsl -lsocket

INSTALLATION_DIRS+=	bin ${PKGMANDIR}/man1

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/whois ${DESTDIR}${PREFIX}/bin/md-whois
	${INSTALL_MAN} ${WRKSRC}/whois.1 \
		${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/md-whois.1

.include "../../devel/libidn2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"