summaryrefslogtreecommitdiffstats
path: root/security/qident/Makefile
blob: b43f2d60c2a8e14819984ee9b9dd71b5791d30d8 (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
34
35
36
37
38
39
40
41
42
43
44
# New ports collection makefile for:	qident
# Date created:			30 August 2001
# Whom:				dd
#
# $FreeBSD$
#

PORTNAME=	qident
PORTVERSION=	1.2
CATEGORIES=	security
MASTER_SITES=	http://www.interlude.eu.org/~ad/software/qident/

MAINTAINER=	dd@FreeBSD.org
COMMENT=	Query a remote IDENT (RFC 1413) server

BUILD_DEPENDS=	${LOCALBASE}/lib/libident.a:${PORTSDIR}/security/libident

USE_REINPLACE=	yes

MANSECTS=	1
MAN1=		qident.1
MANCOMPRESSED=	maybe

# MAN page COMPression SUFFIX
.if !defined(NOMANCOMPRESS)
MANCOMPSUFFIX=	.gz
.else
MANCOMPSUFFIX=
.endif

PLIST_FILES=	bin/qident

post-patch:
	@${REINPLACE_CMD} -e 's/getopt[.]h/unistd.h/g' ${WRKSRC}/*

do-install:
	@${INSTALL_PROGRAM} ${WRKSRC}/qident ${PREFIX}/bin/qident
.for __s in ${MANSECTS}
.for __m in ${MAN${__s}:S/$/${MANCOMPSUFFIX}/}
	@${INSTALL_MAN} ${WRKSRC}/${__m} ${PREFIX}/man/man${__s}/${__m}
.endfor
.endfor

.include <bsd.port.mk>
OpenPOWER on IntegriCloud