Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jan 2014 00:41:32 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r338719 - head/benchmarks/thrulay
Message-ID:  <201401050041.s050fW8h089319@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sun Jan  5 00:41:32 2014
New Revision: 338719
URL: http://svnweb.freebsd.org/changeset/ports/338719

Log:
  Support stage

Modified:
  head/benchmarks/thrulay/Makefile
  head/benchmarks/thrulay/pkg-plist

Modified: head/benchmarks/thrulay/Makefile
==============================================================================
--- head/benchmarks/thrulay/Makefile	Sun Jan  5 00:41:13 2014	(r338718)
+++ head/benchmarks/thrulay/Makefile	Sun Jan  5 00:41:32 2014	(r338719)
@@ -10,9 +10,6 @@ MASTER_SITES=	SF \
 MAINTAINER=	shalunov@shlang.com
 COMMENT=	Network capacity tester
 
-MAN1=		thrulay.1
-MAN8=		thrulayd.8
-MANCOMPRESSED=	no
 HAS_CONFIGURE=	yes
 USES=		gmake
 USE_LDCONFIG=	yes
@@ -22,10 +19,6 @@ MAKE_JOBS_UNSAFE=	yes
 
 PORTDOCS=	ChangeLog README thrulay-protocol.txt thrulay-index.html
 
-NO_STAGE=	yes
-
-.include <bsd.port.options.mk>
-
 post-patch:
 	${REINPLACE_CMD} -e '922s,datarootdir,prefix,g' ${WRKSRC}/configure
 
@@ -33,12 +26,9 @@ post-extract:
 	@${CP} ${WRKSRC}/doc/*.[ht]* ${WRKSRC}/
 
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for docs in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${docs} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
-	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>

Modified: head/benchmarks/thrulay/pkg-plist
==============================================================================
--- head/benchmarks/thrulay/pkg-plist	Sun Jan  5 00:41:13 2014	(r338718)
+++ head/benchmarks/thrulay/pkg-plist	Sun Jan  5 00:41:32 2014	(r338719)
@@ -6,4 +6,6 @@ lib/libthrulay.a
 lib/libthrulay.la
 lib/libthrulay.so
 lib/libthrulay.so.0
+man/man1/thrulay.1.gz
+man/man8/thrulayd.8.gz
 @dirrm include/thrulay



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