aboutsummaryrefslogtreecommitdiff
path: root/security/qident/Makefile
blob: 9314cfc89231cd67856654df1434eaede47831d2 (plain) (blame)
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.hairylemon.org/~ad/software/qident/

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

LIB_DEPENDS=	ident.0:${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>