1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/security/qident/Makefile

40 lines
785 B
Makefile

# New ports collection makefile for: qident
# Date created: 30 August 2001
# Whom: dd
#
# $FreeBSD$
#
PORTNAME= qident
PORTVERSION= 1.0
CATEGORIES= security
MASTER_SITES= http://www.netbsd.org/~ad/qident/
MAINTAINER= dd@FreeBSD.org
BUILD_DEPENDS= ${LOCALBASE}/lib/libident.a:${PORTSDIR}/security/libident
MANSECTS= 1
MAN1= qident.1
MANCOMPRESSED= maybe
# MAN page COMPression SUFFIX
.if !defined(NOMANCOMPRESS)
MANCOMPSUFFIX= .gz
.else
MANCOMPSUFFIX=
.endif
post-patch:
@${PERL} -pi -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>