mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
- Revert last changes, that cause port broken.
PR: ports/140432 Noticed by: Matthew Luckie <mjl@luckie.org.nz>
This commit is contained in:
parent
cc631bb7ad
commit
0055c9ec14
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=244562
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= pptpclient
|
||||
PORTVERSION= 1.7.2
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= SF/${PORTNAME}/pptp/pptp-${PORTVERSION}
|
||||
DISTNAME= pptp-${PORTVERSION}
|
||||
@ -17,28 +17,15 @@ COMMENT= PPTP client for establishing a VPN link with an NT server
|
||||
|
||||
USE_PERL5= yes
|
||||
|
||||
MAN8= pptp.8 pptpsetup.8
|
||||
FILES= README ppp.conf
|
||||
PORTDOCS= AUTHORS COPYING ChangeLog DEVELOPERS INSTALL NEWS \
|
||||
PROTOCOL-SECURITY README TODO USING
|
||||
MAN8= pptp.8
|
||||
|
||||
MAKE_ARGS= DEBUG=""
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's|/usr|/usr/local|g' -e 's|/etc|/usr/local/etc|g' \
|
||||
${WRKSRC}/Makefile
|
||||
${REINPLACE_CMD} 's|/etc|/usr/local/etc|g' ${WRKSRC}/pptpsetup
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${EXAMPLESDIR} ${ETCDIR}
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/pptp ${PREFIX}/sbin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/pptpsetup ${PREFIX}/sbin
|
||||
${INSTALL_MAN} ${MAN8:S,^,${WRKSRC}/,} ${MAN8PREFIX}/man/man8
|
||||
${INSTALL_DATA} ${FILES:S,^,${FILESDIR}/,} ${EXAMPLESDIR}
|
||||
${CP} ${FILESDIR}/ppp.conf ${ETCDIR}
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
|
||||
.endif
|
||||
${MKDIR} ${PREFIX}/share/examples/pptpclient
|
||||
${INSTALL_DATA} ${FILESDIR}/README ${PREFIX}/share/examples/pptpclient
|
||||
${INSTALL_DATA} ${FILESDIR}/ppp.conf ${PREFIX}/share/examples/pptpclient
|
||||
${INSTALL_MAN} ${WRKSRC}/pptp.8 ${PREFIX}/man/man8
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user