Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Apr 2014 23:19:29 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r351574 - head/ftp/spegla
Message-ID:  <201404182319.s3INJT4x012922@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Fri Apr 18 23:19:29 2014
New Revision: 351574
URL: http://svnweb.freebsd.org/changeset/ports/351574
QAT: https://qat.redports.org/buildarchive/r351574/

Log:
  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.

Modified:
  head/ftp/spegla/Makefile

Modified: head/ftp/spegla/Makefile
==============================================================================
--- head/ftp/spegla/Makefile	Fri Apr 18 23:04:05 2014	(r351573)
+++ head/ftp/spegla/Makefile	Fri Apr 18 23:19:29 2014	(r351574)
@@ -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/~um
 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>



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