1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/security/lsh/Makefile
Dirk Meyer d075a3f380 - Fix some of the build problems on CURRENT, not all.
- make PREFIX aware
- mark BROKEN for conflicts with getopt.h
- take maintainership
2002-12-18 03:49:07 +00:00

51 lines
1.3 KiB
Makefile

# New ports collection makefile for: lsh secure shell
# Date created: 29 MAY 2000
# Whom: Eric Schwertfeger <eric@cybernut.com>
#
# $FreeBSD$
PORTNAME= lsh
PORTVERSION= 1.0
CATEGORIES= security ipv6
MASTER_SITES= ftp://ftp.lysator.liu.se/pub/security/lsh/%SUBDIR%/
MASTER_SITE_SUBDIR= . old
DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= dinoex@FreeBSD.org
RESTRICTED= "Crypto; export-controlled"
GNU_CONFIGURE= yes
INSTALL_TARGET= install
MAN1= lsh_writekey.1 lsh_keygen.1 lsh.1
MAN5= DSA.5 secsh.5 SHA.5 SPKI.5
MAN8= lshd.8
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 400014
CONFIGURE_ARGS+= --without-ipv6
.endif
.if ${OSVERSION} >= 500000
BUILD_DEPENDS+= ${LOCALBASE}/include/gmp.h:${PORTSDIR}/math/libgmp4
CONFIGURE_ARGS+= --with-include-path=${LOCALBASE}/include
CONFIGURE_ARGS+= --with-lib-path=${LOCALBASE}/lib
.endif
.if ${OSVERSION} >= 500043
BROKEN= conflicts with /usr/include/getopt.h
.endif
post-install:
.for BIN in lsh lsh_keygen lsh_writekey sexp-conv srp-gen lsh-decode-key
strip ${PREFIX}/bin/${BIN}
.endfor
.for SBIN in lshd lsh_proxy
strip ${PREFIX}/sbin/${SBIN}
.endfor
.if !defined(NOPORTDOCS)
install-info --section="Miscellaneous" \
--entry="* LSH: (lsh). lsh secure remote shell documentation." \
${PREFIX}/info/lsh.info ${PREFIX}/info/dir
.endif
.include <bsd.port.post.mk>