aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/spegla
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-04-19 07:19:29 +0800
committeradamw <adamw@FreeBSD.org>2014-04-19 07:19:29 +0800
commit9f606e11c25ca4e5e434cbca32ae04b84511ffc7 (patch)
tree1faba88ee69d8607317625410ac51b2ac132750e /ftp/spegla
parent3b6de77d70ca544784d0c9283a7e09eb3612f078 (diff)
downloadfreebsd-ports-gnome-9f606e11c25ca4e5e434cbca32ae04b84511ffc7.tar.gz
freebsd-ports-gnome-9f606e11c25ca4e5e434cbca32ae04b84511ffc7.tar.zst
freebsd-ports-gnome-9f606e11c25ca4e5e434cbca32ae04b84511ffc7.zip
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.
Diffstat (limited to 'ftp/spegla')
-rw-r--r--ftp/spegla/Makefile30
1 files changed, 10 insertions, 20 deletions
diff --git a/ftp/spegla/Makefile b/ftp/spegla/Makefile
index 2c2fe1f812a9..5a76351de278 100644
--- a/ftp/spegla/Makefile
+++ b/ftp/spegla/Makefile
@@ -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>