1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/net/pipsecd/Makefile

37 lines
1017 B
Makefile

# Created by: Patrick Bihan-Faou <patrick@mindstep.com>
# $FreeBSD$
PORTNAME= pipsecd
PORTVERSION= 19991014
PORTREVISION= 2
CATEGORIES= net security
MASTER_SITES= http://perso.telecom-paristech.fr/~beyssac/pipsec/ \
http://www.komquats.com/distfiles/
DISTNAME= pipsec-19991014
MAINTAINER= cy@FreeBSD.org
COMMENT= Simple IPSEC tunnel tool from Pierre Beyssac
USE_OPENSSL= YES
ALL_TARGET= pipsecd
NO_STAGE= yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pipsecd ${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/pipsecd.sh ${PREFIX}/etc/rc.d
${CHMOD} 755 ${PREFIX}/etc/rc.d/pipsecd.sh;
${MKDIR} ${PREFIX}/etc/ipsec
${INSTALL_DATA} ${WRKSRC}/pipsecd.conf.sample ${PREFIX}/etc/ipsec
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/pipsecd
${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/pipsecd
${INSTALL_MAN} ${WRKSRC}/COPYRIGHT ${PREFIX}/share/doc/pipsecd
${INSTALL_MAN} ${WRKSRC}/README.port ${PREFIX}/share/doc/pipsecd
.endif
post-install:
${STRIP_CMD} ${PREFIX}/sbin/pipsecd
.include <bsd.port.mk>