2020-01-26 18:30:40 +01:00
|
|
|
# $NetBSD: Makefile,v 1.33 2020/01/26 17:31:51 rillig Exp $
|
2003-03-22 03:31:49 +01:00
|
|
|
#
|
|
|
|
# todo: set location of [md-]whois.conf and fix in man page too
|
|
|
|
# todo: build and install the po/ files and add to PLIST
|
2005-08-02 02:23:31 +02:00
|
|
|
# todo: add choice for mk/defaults/mk.conf to define name prefix
|
2003-03-22 03:31:49 +01:00
|
|
|
# (defaults to "md-" to distinguish from other whois clients) and adjust PLIST
|
2001-02-07 17:55:01 +01:00
|
|
|
|
2020-01-07 14:13:02 +01:00
|
|
|
GITHUB_PROJECT= whois
|
|
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
|
|
|
DISTNAME= md-whois-${VERSION}
|
2001-02-07 17:55:01 +01:00
|
|
|
CATEGORIES= net
|
2020-01-07 14:13:02 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=rfc1036/}
|
2001-02-07 17:55:01 +01:00
|
|
|
|
|
|
|
MAINTAINER= reed@reedmedia.net
|
2020-01-26 18:30:40 +01:00
|
|
|
HOMEPAGE= https://www.linux.it/~md/software/
|
2001-02-17 18:52:59 +01:00
|
|
|
COMMENT= Improved whois client
|
2020-01-07 14:13:02 +01:00
|
|
|
LICENSE= gnu-gpl-v2
|
2001-02-07 17:55:01 +01:00
|
|
|
|
2020-01-07 14:13:02 +01:00
|
|
|
VERSION= 5.5.4
|
2003-09-30 03:23:03 +02:00
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}/whois-${VERSION}
|
2020-01-07 14:13:02 +01:00
|
|
|
USE_TOOLS+= gmake perl pkg-config
|
|
|
|
|
|
|
|
LDFLAGS.SunOS+= -lnsl -lsocket
|
2005-07-16 03:19:06 +02:00
|
|
|
|
2005-12-27 22:24:26 +01:00
|
|
|
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
|
2001-02-07 17:55:01 +01:00
|
|
|
|
2009-09-26 07:48:02 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if (${OPSYS} == "NetBSD" && !empty(OS_VERSION:M4.*))
|
|
|
|
MAKE_ENV+= NEED_OPTARG=YES
|
|
|
|
.endif
|
|
|
|
|
2001-02-07 17:55:01 +01:00
|
|
|
do-install:
|
2007-08-07 23:48:39 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/whois ${DESTDIR}${PREFIX}/bin/md-whois
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/whois.1 \
|
|
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/md-whois.1
|
2001-02-07 17:55:01 +01:00
|
|
|
|
2020-01-07 14:13:02 +01:00
|
|
|
.include "../../devel/libidn2/buildlink3.mk"
|
2001-02-07 17:55:01 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|