eb3c2b436e
pkglint -Wall -F --only aligned --only indent -r No manual corrections.
28 lines
766 B
Makefile
28 lines
766 B
Makefile
# $NetBSD: Makefile,v 1.14 2019/11/03 11:45:35 rillig Exp $
|
|
|
|
DISTNAME= gethost-0.03
|
|
PKGREVISION= 1
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.reedmedia.net/software/gethost/
|
|
|
|
MAINTAINER= reed@reedmedia.net
|
|
HOMEPAGE= http://www.reedmedia.net/software/gethost/
|
|
COMMENT= Hostname and IP resolver for testing /etc/hosts and nsswitch.conf
|
|
|
|
CONFLICTS= dnssec-tools-[0-9]*
|
|
|
|
USE_FEATURES= inet6
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
|
|
BUILD_TARGET= gethost
|
|
|
|
LIBS.SunOS= -lnsl -lresolv -lsocket
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && env ${MAKE_ENV} cc -o gethost gethost.c ${CFLAGS} ${LDFLAGS} ${LIBS}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/gethost ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/gethost.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|