blob: b6932641c857ce9e9c0fdc87a14ac1fac2d5e5fc (
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
32
33
|
# $NetBSD: Makefile,v 1.12 2009/07/19 11:54:51 zafer Exp $
#
DISTNAME= httping-1.3.0
CATEGORIES= net
MASTER_SITES= http://www.vanheusden.com/httping/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.vanheusden.com/httping/
COMMENT= Like 'ping' but for http-requests
LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../mk/bsd.prefs.mk"
LDFLAGS.SunOS= -lnsl -lsocket
.if (${OPSYS} == "NetBSD" && !empty(OS_VERSION:M[123]*)) || \
${OPSYS} == "Darwin" || ${OPSYS} == "SunOS"
.else
CFLAGS+= -DHAVE_STRNDUP
.endif
INSTALLATION_DIRS= ${PKGMANDIR}/man1 bin
do-install:
${INSTALL_MAN} ${WRKSRC}/httping.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_PROGRAM} ${WRKSRC}/httping ${DESTDIR}${PREFIX}/bin
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|