mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
09f9633cb6
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which has now moved from GCC 6 to GCC 7 by default. This includes ports - featuring USE_GCC=yes or USE_GCC=any, - featuring USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and those - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x, c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib. PR: 222542
38 lines
1.2 KiB
Makefile
38 lines
1.2 KiB
Makefile
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= l2tpd
|
|
PORTVERSION= 0.69
|
|
PORTREVISION= 8
|
|
CATEGORIES= net
|
|
MASTER_SITES= SF/${PORTNAME}/L2TPd/${PORTVERSION}
|
|
|
|
MAINTAINER= sobomax@FreeBSD.org
|
|
COMMENT= Implementation of the layer two tunneling protocol
|
|
|
|
BROKEN_armv6= fails to link: undefined reference to check_control
|
|
BROKEN_armv7= fails to link: undefined reference to check_control
|
|
|
|
USES= compiler:nestedfct
|
|
|
|
PORTDOCS= README
|
|
ETCDIR= ${PREFIX}/etc/l2tp
|
|
|
|
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 ${STAGEDIR}${PREFIX}/bin
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_MAN} ${WRKSRC}/doc/l2tpd.8 ${STAGEDIR}${PREFIX}/man/man8
|
|
${INSTALL_MAN} ${WRKSRC}/doc/l2tp-secrets.5 ${STAGEDIR}${PREFIX}/man/man5
|
|
${INSTALL_MAN} ${WRKSRC}/doc/l2tpd.conf.5 ${STAGEDIR}${PREFIX}/man/man5
|
|
@${MKDIR} ${STAGEDIR}${ETCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/l2tpd.conf.sample ${STAGEDIR}${ETCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/l2tp-secrets.sample ${STAGEDIR}${ETCDIR}
|
|
|
|
.include <bsd.port.mk>
|