svn commit: r462024 - in head/net/pptpclient: . files

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Fri Feb 16 15:41:58 UTC 2018


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 at FreeBSD.org
+MAINTAINER=	sunpoet at 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 at freebsd.org>
+John Polstra <jdp at 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 at freebsd.org>
+Devin Teske <dteske at FreeBSD.org>


More information about the svn-ports-head mailing list