Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Feb 2018 15:41:57 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r462024 - in head/net/pptpclient: . files
Message-ID:  <201802161541.w1GFfvDQ063272@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Fri Feb 16 15:41:56 2018
New Revision: 462024
URL: https://svnweb.freebsd.org/changeset/ports/462024

Log:
  Convert to options target helper
  
  - Sort MAKE_ARGS
  - Sort PLIST_FILES
  - Update README: use @FreeBSD.org
  - Take maintainership

Modified:
  head/net/pptpclient/Makefile
  head/net/pptpclient/files/README

Modified: head/net/pptpclient/Makefile
==============================================================================
--- head/net/pptpclient/Makefile	Fri Feb 16 15:27:55 2018	(r462023)
+++ head/net/pptpclient/Makefile	Fri Feb 16 15:41:56 2018	(r462024)
@@ -7,7 +7,7 @@ CATEGORIES=	net
 MASTER_SITES=	SF/${PORTNAME}/pptp/pptp-${PORTVERSION}
 DISTNAME=	pptp-${PORTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	PPTP client for establishing a VPN link with an NT server
 
 LICENSE=	GPLv2+
@@ -15,20 +15,20 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		perl5
 USE_RC_SUBR=	pptp
-MAKE_ARGS=	CC="${CC}" OPTIMIZE="${CFLAGS}" DEBUG="" \
-		PPPD="/usr/sbin/ppp"
 CFLAGS+=	-DUSER_PPP
+MAKE_ARGS=	CC="${CC}" DEBUG="" OPTIMIZE="${CFLAGS}" PPPD=/usr/sbin/ppp
 
-PLIST_FILES=	sbin/pptp man/man8/pptp.8.gz
+PLIST_FILES=	man/man8/pptp.8.gz sbin/pptp
 PORTEXAMPLES=	README ppp.conf
 
 OPTIONS_DEFINE=	EXAMPLES
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/pptp ${STAGEDIR}${PREFIX}/sbin
-	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-	${INSTALL_DATA} ${FILESDIR}/README ${STAGEDIR}${EXAMPLESDIR}
-	${INSTALL_DATA} ${FILESDIR}/ppp.conf ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_MAN} ${WRKSRC}/pptp.8 ${STAGEDIR}${MANPREFIX}/man/man8
+
+do-install-EXAMPLES-on:
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${FILESDIR}/README ${FILESDIR}/ppp.conf ${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>

Modified: head/net/pptpclient/files/README
==============================================================================
--- head/net/pptpclient/files/README	Fri Feb 16 15:27:55 2018	(r462023)
+++ head/net/pptpclient/files/README	Fri Feb 16 15:41:56 2018	(r462024)
@@ -27,7 +27,7 @@ Kill it with ^C when you're done.
 If you want to access the remote system from other hosts on your LAN,
 be sure to turn on IP forwarding on the PPTP client machine.
 
-John Polstra <jdp@freebsd.org>
+John Polstra <jdp@FreeBSD.org>
 
 Starting as a service:
 
@@ -38,4 +38,4 @@ Starting as a service:
 
 NB: LABEL can be omitted if you used "default" for LABEL in ppp.conf(5).
 
-Devin Teske <dteske@freebsd.org>
+Devin Teske <dteske@FreeBSD.org>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802161541.w1GFfvDQ063272>