1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00
freebsd-ports/net/p5-Net-SSH2/Makefile
2019-05-16 18:22:06 +00:00

32 lines
632 B
Makefile

# Created by: Jin-Shan Tseng <tjs@cdpa.nsysu.edu.tw>
# $FreeBSD$
PORTNAME= Net-SSH2
PORTVERSION= 0.70
CATEGORIES= net perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= jadawin@FreeBSD.org
COMMENT= Support for the SSH 2 protocol via libSSH2
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
LIB_DEPENDS= libssh2.so:security/libssh2
USES= perl5
USE_PERL5= configure
CFLAGS+= -I${LOCALBASE}/include
PORTEXAMPLES= example/*
OPTIONS_DEFINE= EXAMPLES
OPTIONS_SUB= yes
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>