Date: Wed, 23 Oct 2013 23:53:54 +0000 (UTC) From: Renato Botelho <garga@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r331449 - head/sysutils/ucspi-tcp Message-ID: <201310232353.r9NNrsOT005155@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: garga Date: Wed Oct 23 23:53:54 2013 New Revision: 331449 URL: http://svnweb.freebsd.org/changeset/ports/331449 Log: . Support staging . Remove MANPAGES option and respect NO_INSTALL_MANPAGES instead Modified: head/sysutils/ucspi-tcp/Makefile head/sysutils/ucspi-tcp/pkg-plist Modified: head/sysutils/ucspi-tcp/Makefile ============================================================================== --- head/sysutils/ucspi-tcp/Makefile Wed Oct 23 23:38:12 2013 (r331448) +++ head/sysutils/ucspi-tcp/Makefile Wed Oct 23 23:53:54 2013 (r331449) @@ -14,14 +14,12 @@ PATCH_DIST_STRIP= -p1 MAINTAINER= garga@FreeBSD.org COMMENT= Command-line tools for building TCP client-server applications -OPTIONS_DEFINE= MANPAGES RSS_DIFF RBL2SMTPD IPV6 SSL LIMITS -OPTIONS_DEFAULT=MANPAGES +OPTIONS_DEFINE= RSS_DIFF RBL2SMTPD IPV6 SSL LIMITS RSS_DIFF_DESC= Patch rblsmtpd for qmail users RBL2SMTPD_DESC= Don't drop connection, pass envvar to smtpd LIMITS_DESC= Implement per-connection and other limits - ALL_TARGET= prog install instcheck SCRIPTS_ENV= BINOWN="${BINOWN}" \ @@ -49,7 +47,6 @@ SCRIPTS= date@ \ who@ \ tcpcat -NO_STAGE= yes .include <bsd.port.pre.mk> # SSL and LIMITS can't coexist @@ -62,15 +59,18 @@ BROKEN= SSL and LIMITS options cannot co CFLAGS+= -O .endif -.if ${PORT_OPTIONS:MMANPAGES} +.if !defined(NO_INSTALL_MANPAGES) MASTER_SITES+= http://smarden.org/pape/djb/manpages/:man \ ${MASTER_SITE_LOCAL:S/$/:man/} MASTER_SITE_SUBDIR+= garga/ucspi-tcp/:man DISTFILES+= ${DISTNAME}${EXTRACT_SUFX} \ ${DISTNAME}-man.tar.gz:man -MAN1= addcr.1 argv0.1 date@.1 delcr.1 finger@.1 fixcrio.1 \ +MAN_FILES= addcr.1 argv0.1 date@.1 delcr.1 finger@.1 fixcrio.1 \ http@.1 mconnect.1 rblsmtpd.1 recordio.1 tcpcat.1 \ tcpclient.1 tcprules.1 tcprulescheck.1 tcpserver.1 who@.1 +PLIST_SUB= MANPAGES="" +.else +PLIST_SUB= MANPAGES="@comment " .endif .if ${PORT_OPTIONS:MRSS_DIFF} @@ -126,14 +126,14 @@ post-configure: do-install: .for file_name in ${PROGRAMS} - @${INSTALL_PROGRAM} ${WRKSRC}/${file_name} ${PREFIX}/bin + @${INSTALL_PROGRAM} ${WRKSRC}/${file_name} ${STAGEDIR}${PREFIX}/bin .endfor .for file_name in ${SCRIPTS} - @${INSTALL_SCRIPT} ${WRKSRC}/${file_name} ${PREFIX}/bin + @${INSTALL_SCRIPT} ${WRKSRC}/${file_name} ${STAGEDIR}${PREFIX}/bin .endfor -.if ${PORT_OPTIONS:MMANPAGES} -. for file_name in ${MAN1} - ${INSTALL_MAN} ${WRKSRC}-man/${file_name} ${MAN1PREFIX}/man/man1/ +.if !defined(NO_INSTALL_MANPAGES) +. for file_name in ${MAN_FILES} + ${INSTALL_MAN} ${WRKSRC}-man/${file_name} ${STAGEDIR}${MAN1PREFIX}/man/man1/ . endfor .endif Modified: head/sysutils/ucspi-tcp/pkg-plist ============================================================================== --- head/sysutils/ucspi-tcp/pkg-plist Wed Oct 23 23:38:12 2013 (r331448) +++ head/sysutils/ucspi-tcp/pkg-plist Wed Oct 23 23:53:54 2013 (r331449) @@ -15,3 +15,19 @@ bin/tcprules bin/tcprulescheck bin/tcpserver bin/who@ +%%MANPAGES%%man/man1/addcr.1.gz +%%MANPAGES%%man/man1/argv0.1.gz +%%MANPAGES%%man/man1/date@.1.gz +%%MANPAGES%%man/man1/delcr.1.gz +%%MANPAGES%%man/man1/finger@.1.gz +%%MANPAGES%%man/man1/fixcrio.1.gz +%%MANPAGES%%man/man1/http@.1.gz +%%MANPAGES%%man/man1/mconnect.1.gz +%%MANPAGES%%man/man1/rblsmtpd.1.gz +%%MANPAGES%%man/man1/recordio.1.gz +%%MANPAGES%%man/man1/tcpcat.1.gz +%%MANPAGES%%man/man1/tcpclient.1.gz +%%MANPAGES%%man/man1/tcprules.1.gz +%%MANPAGES%%man/man1/tcprulescheck.1.gz +%%MANPAGES%%man/man1/tcpserver.1.gz +%%MANPAGES%%man/man1/who@.1.gz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310232353.r9NNrsOT005155>