diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2014-01-20 17:56:19 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2014-01-20 17:56:19 +0000 |
commit | 2c565bd71b398fe90dda9dfa34747193556bf361 (patch) | |
tree | eccdfb464846fb31bb7258b17bac9525602650a9 /net | |
parent | - Update to 2.0.2 (diff) |
* Fix build on 10
* Stagify
Sponsored by: Absolight
Notes
Notes:
svn path=/head/; revision=340434
Diffstat (limited to 'net')
-rw-r--r-- | net/l2tpd/Makefile | 29 | ||||
-rw-r--r-- | net/l2tpd/pkg-plist | 11 |
2 files changed, 19 insertions, 21 deletions
diff --git a/net/l2tpd/Makefile b/net/l2tpd/Makefile index e88c83c0d6f9..8d0d54935aef 100644 --- a/net/l2tpd/Makefile +++ b/net/l2tpd/Makefile @@ -10,11 +10,10 @@ MASTER_SITES= SF/${PORTNAME}/L2TPd/${PORTVERSION} MAINTAINER= sobomax@FreeBSD.org COMMENT= An implementation of the layer two tunneling protocol -MAN5= l2tp-secrets.5 l2tpd.conf.5 -MAN8= l2tpd.8 +USES= compiler:nestedfct -NO_STAGE= yes -.include <bsd.port.pre.mk> +PORTDOCS= README +ETCDIR= ${PREFIX}/etc/l2tp do-configure: ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/doc/l2tpd.8 \ @@ -22,16 +21,14 @@ do-configure: ${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 + ${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.post.mk> +.include <bsd.port.mk> diff --git a/net/l2tpd/pkg-plist b/net/l2tpd/pkg-plist index c5c429d7dc21..eb4bbc0848c8 100644 --- a/net/l2tpd/pkg-plist +++ b/net/l2tpd/pkg-plist @@ -1,6 +1,7 @@ bin/l2tpd -etc/l2tp/l2tp-secrets.sample -etc/l2tp/l2tpd.conf.sample -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%@dirrm %%DOCSDIR%% -@dirrm etc/l2tp +%%ETCDIR%%/l2tp-secrets.sample +%%ETCDIR%%/l2tpd.conf.sample +man/man5/l2tp-secrets.5.gz +man/man5/l2tpd.conf.5.gz +man/man8/l2tpd.8.gz +@dirrm %%ETCDIR%% |