mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
40 lines
784 B
Makefile
40 lines
784 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
|
||
|
|
||
|
pre-build:
|
||
|
@${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>
|