1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

STAGE support, OPTIONS helpers, strip leading article from

COMMENT.

Also, the NLS option was inexplicably being used to determine
whether to install PORTEXAMPLES, so that is fixed along with
a PORTREVISION bump.
This commit is contained in:
Adam Weinberger 2014-04-18 23:19:29 +00:00
parent cc394b56aa
commit cda1449dce
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=351574

View File

@ -3,7 +3,7 @@
PORTNAME= spegla
PORTVERSION= 1.1p4
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= ftp ipv6
MASTER_SITES= ftp://subzero.campus.luth.se/pub/spegla/ \
ftp://ftp.luth.se/pub/unix/mirror/
@ -12,30 +12,20 @@ PATCH_SITES= http://www.mahoroba.org/~ume/ipv6/
PATCHFILES= ${DISTNAME}-ipv6-20020129-3.diff.gz
MAINTAINER= hrs@FreeBSD.org
COMMENT= A mirror program for FTP sites (written in C)
COMMENT= Mirror program for FTP sites (written in C)
MAKE_ARGS= MANDIR=${MAN1PREFIX}/man/man
PLIST_FILES= bin/spegla
PLIST_FILES= bin/spegla man/man1/spegla.1.gz
PORTEXAMPLES= freebsd.org spegla.conf spegla.sh
MANCOMPRESSED= yes
MAN1= spegla.1
OPTIONS_DEFINE= IPV6
OPTIONS_DEFAULT=IPV6
IPV6_MAKE_ARGS= -DINET6
OPTIONS_DEFINE= IPV6 NLS
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
post-install:
${MKDIR} ${EXAMPLESDIR}
cd ${WRKSRC} && \
${INSTALL_DATA} freebsd.org spegla.conf ${EXAMPLESDIR} && \
${INSTALL_SCRIPT} spegla.sh ${EXAMPLESDIR}
.endif
.if ${PORT_OPTIONS:MIPV6}
MAKE_ARGS+= -DINET6
.endif
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/freebsd.org ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/spegla.conf ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/spegla.sh ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>