aboutsummaryrefslogtreecommitdiffstats
path: root/net/l2tpd/Makefile
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-10-23 21:21:53 +0800
committersobomax <sobomax@FreeBSD.org>2002-10-23 21:21:53 +0800
commit374bd6d8a7674d7e08a0ebb95dc29aa5b1ada770 (patch)
tree448df9ae7715448434ae7de8bfc9487ee3d5b57e /net/l2tpd/Makefile
parent012104d24d2cece53ad4237be41e59855570a21f (diff)
downloadfreebsd-ports-gnome-374bd6d8a7674d7e08a0ebb95dc29aa5b1ada770.tar.gz
freebsd-ports-gnome-374bd6d8a7674d7e08a0ebb95dc29aa5b1ada770.tar.zst
freebsd-ports-gnome-374bd6d8a7674d7e08a0ebb95dc29aa5b1ada770.zip
Add l2tpd 0.64, an implementation of the layer two tunneling protocol.
Requested & beersponsored by: Yuri Babushkin <piton@united.net.ua>
Diffstat (limited to 'net/l2tpd/Makefile')
-rw-r--r--net/l2tpd/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/net/l2tpd/Makefile b/net/l2tpd/Makefile
new file mode 100644
index 000000000000..95909989acec
--- /dev/null
+++ b/net/l2tpd/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: l2tpd
+# Date created: 22 October 2002
+# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= l2tpd
+PORTVERSION= 0.64
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= sobomax@FreeBSD.org
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+USE_REINPLACE= yes
+
+MAN8= l2tpd.8
+
+do-configure:
+ ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/l2tpd.8 \
+ ${WRKSRC}/doc/l2tpd.conf.sample
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/l2tpd ${PREFIX}/bin
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/l2tpd.8 ${PREFIX}/man/man8
+ ${MKDIR} ${PREFIX}/etc/l2tpd
+ ${INSTALL_DATA} ${WRKSRC}/doc/l2tpd.conf.sample ${PREFIX}/etc/l2tpd
+ ${INSTALL_DATA} ${WRKSRC}/doc/l2tp-secrets.sample ${PREFIX}/etc/l2tpd
+
+.include <bsd.port.mk>