mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
20fb07058b
- Fix MASTER_SITES - Patch for http://www.freebsd.org/ports/portaudit/807b9ddd-dc11-11d8-9b0a-000347a4fa7d.html (from debian project) PR: ports/84695 Submitted by: Andrej Zverev <az@inec.ru> Approved by: maintainer (timeout, 40 days) Security: http://www.freebsd.org/ports/portaudit/807b9ddd-dc11-11d8-9b0a-000347a4fa7d.html
44 lines
1.2 KiB
Makefile
44 lines
1.2 KiB
Makefile
# New ports collection makefile for: l2tpd
|
|
# Date created: 22 October 2002
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= l2tpd
|
|
PORTVERSION= 0.69
|
|
PORTREVISION= 3
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= sobomax@FreeBSD.org
|
|
COMMENT= An implementation of the layer two tunneling protocol
|
|
|
|
USE_REINPLACE= yes
|
|
|
|
MAN5= l2tp-secrets.5 l2tpd.conf.5
|
|
MAN8= l2tpd.8
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
do-configure:
|
|
${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/doc/l2tpd.8 \
|
|
${WRKSRC}/doc/l2tpd.conf.sample ${WRKSRC}/doc/l2tp-secrets.5 \
|
|
${WRKSRC}/doc/l2tpd.conf.5
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/l2tpd ${PREFIX}/bin
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
.endif
|
|
${INSTALL_MAN} ${WRKSRC}/doc/l2tpd.8 ${PREFIX}/man/man8
|
|
${INSTALL_MAN} ${WRKSRC}/doc/l2tp-secrets.5 ${PREFIX}/man/man5
|
|
${INSTALL_MAN} ${WRKSRC}/doc/l2tpd.conf.5 ${PREFIX}/man/man5
|
|
${MKDIR} ${PREFIX}/etc/l2tp
|
|
${INSTALL_DATA} ${WRKSRC}/doc/l2tpd.conf.sample ${PREFIX}/etc/l2tp
|
|
${INSTALL_DATA} ${WRKSRC}/doc/l2tp-secrets.sample ${PREFIX}/etc/l2tp
|
|
|
|
.include <bsd.port.post.mk>
|