aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorlippe <lippe@FreeBSD.org>2009-11-21 05:49:25 +0800
committerlippe <lippe@FreeBSD.org>2009-11-21 05:49:25 +0800
commit86cd8c2b3975290d076fc190b5f4f8993b0365ab (patch)
tree385248d68ad91f9460b6c2583f0ffc0c24ace07e /net
parent5c1704ecb6e3dd5b1cf8b4fa01400854d2d06b8c (diff)
downloadfreebsd-ports-gnome-86cd8c2b3975290d076fc190b5f4f8993b0365ab.tar.gz
freebsd-ports-gnome-86cd8c2b3975290d076fc190b5f4f8993b0365ab.tar.zst
freebsd-ports-gnome-86cd8c2b3975290d076fc190b5f4f8993b0365ab.zip
- Revert last changes, that cause port broken.
PR: ports/140432 Noticed by: Matthew Luckie <mjl@luckie.org.nz>
Diffstat (limited to 'net')
-rw-r--r--net/pptpclient/Makefile25
1 files changed, 6 insertions, 19 deletions
diff --git a/net/pptpclient/Makefile b/net/pptpclient/Makefile
index 219d6e6b9e97..f27d4d99526e 100644
--- a/net/pptpclient/Makefile
+++ b/net/pptpclient/Makefile
@@ -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>