mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-30 10:38:37 +00:00
Convert to options target helper
- Sort MAKE_ARGS - Sort PLIST_FILES - Update README: use @FreeBSD.org - Take maintainership
This commit is contained in:
parent
b14e92d8d8
commit
0b11bc4bf9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=462024
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user