diff options
author | garga <garga@FreeBSD.org> | 2013-10-24 07:53:54 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2013-10-24 07:53:54 +0800 |
commit | e7e0ac225eaeaf555ca528b79b7ff6eee8b6b123 (patch) | |
tree | d8b5c76d762d753ef1a505d01f99d205474c29e9 | |
parent | 601fb89f13feb4897ea0bd191d3ebf2d792b8f60 (diff) | |
download | freebsd-ports-gnome-e7e0ac225eaeaf555ca528b79b7ff6eee8b6b123.tar.gz freebsd-ports-gnome-e7e0ac225eaeaf555ca528b79b7ff6eee8b6b123.tar.zst freebsd-ports-gnome-e7e0ac225eaeaf555ca528b79b7ff6eee8b6b123.zip |
. Support staging
. Remove MANPAGES option and respect NO_INSTALL_MANPAGES instead
-rw-r--r-- | sysutils/ucspi-tcp/Makefile | 22 | ||||
-rw-r--r-- | sysutils/ucspi-tcp/pkg-plist | 16 |
2 files changed, 27 insertions, 11 deletions
diff --git a/sysutils/ucspi-tcp/Makefile b/sysutils/ucspi-tcp/Makefile index e2d38f8e0780..0d11435ce439 100644 --- a/sysutils/ucspi-tcp/Makefile +++ b/sysutils/ucspi-tcp/Makefile @@ -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 coexist, please choose one of them 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 diff --git a/sysutils/ucspi-tcp/pkg-plist b/sysutils/ucspi-tcp/pkg-plist index 71a54d9cde9e..c44cafaea6ac 100644 --- a/sysutils/ucspi-tcp/pkg-plist +++ b/sysutils/ucspi-tcp/pkg-plist @@ -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 |