blob: 7d1260606229275bfbdef64c473670351c7481f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# $NetBSD: Makefile,v 1.11 2012/09/16 19:27:50 cheusov 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]*
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
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"
|