1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/security/libssh2/Makefile
Emanuel Haupt 3b3202afc1 - Provide a patch to fix a bug in the configure script that caused the include
and library directory flags to gcc to be wrong
- Bump PORTREVISION

PR:		102920
Submitted by:	David Thiel <lx@redundancy.redundancy.org> (maintainer)
2006-09-07 20:04:19 +00:00

38 lines
903 B
Makefile

# New ports collection makefile for: libssh2
# Date created: 2005-04-07
# Whom: Alexander Leidinger <netchild@freebsd.org>
#
# $FreeBSD$
#
PORTNAME= libssh2
PORTVERSION= 0.14
PORTREVISION= 1
CATEGORIES= security devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= lx@redundancy.redundancy.org
COMMENT= A library implementing the SSH2 protocol
USE_OPENSSL= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
PLIST_FILES= include/libssh2.h \
include/libssh2_publickey.h \
include/libssh2_sftp.h \
lib/libssh2.so \
lib/libssh2.so.0
post-patch:
@${REINPLACE_CMD} -e '/ssh2_sample\.o/d' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|SHLIB_SUFFIX_NAME@ |SHLIB_SUFFIX_NAME@.0 |g' \
${WRKSRC}/src/Makefile.in
post-install:
${LN} -s libssh2.so.0 ${PREFIX}/lib/libssh2.so
.include <bsd.port.mk>