2014-10-09 16:05:50 +02:00
|
|
|
# $NetBSD: Makefile,v 1.13 2014/10/09 14:06:44 wiz Exp $
|
2002-07-10 04:12:00 +02:00
|
|
|
|
|
|
|
DISTNAME= gethost-0.03
|
2012-09-16 21:27:50 +02:00
|
|
|
PKGREVISION= 1
|
2002-07-10 13:31:35 +02:00
|
|
|
CATEGORIES= net
|
2002-07-10 04:12:00 +02:00
|
|
|
MASTER_SITES= http://www.reedmedia.net/software/gethost/
|
2002-07-10 13:31:35 +02:00
|
|
|
|
2002-07-10 04:12:00 +02:00
|
|
|
MAINTAINER= reed@reedmedia.net
|
|
|
|
HOMEPAGE= http://www.reedmedia.net/software/gethost/
|
2003-07-21 19:10:16 +02:00
|
|
|
COMMENT= Hostname and IP resolver for testing /etc/hosts and nsswitch.conf
|
2002-07-10 04:12:00 +02:00
|
|
|
|
2012-09-16 21:27:50 +02:00
|
|
|
CONFLICTS= dnssec-tools-[0-9]*
|
|
|
|
|
|
|
|
USE_FEATURES= inet6
|
2011-04-15 10:34:00 +02:00
|
|
|
|
2005-12-27 18:37:27 +01:00
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= gethost
|
2002-07-10 04:12:00 +02:00
|
|
|
|
2008-01-14 03:08:25 +01:00
|
|
|
LIBS.SunOS= -lnsl -lresolv -lsocket
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC} && env ${MAKE_ENV} cc -o gethost gethost.c ${CFLAGS} ${LDFLAGS} ${LIBS}
|
|
|
|
|
2002-07-10 04:12:00 +02:00
|
|
|
do-install:
|
2008-06-20 03:09:05 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/gethost ${DESTDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/gethost.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
2002-07-10 04:12:00 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|