Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Jan 2014 17:11:32 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r342044 - head/net/tcptrace
Message-ID:  <201401311711.s0VHBWET011261@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Fri Jan 31 17:11:32 2014
New Revision: 342044
URL: http://svnweb.freebsd.org/changeset/ports/342044
QAT: https://qat.redports.org/buildarchive/r342044/

Log:
  Stage support

Modified:
  head/net/tcptrace/Makefile

Modified: head/net/tcptrace/Makefile
==============================================================================
--- head/net/tcptrace/Makefile	Fri Jan 31 17:09:58 2014	(r342043)
+++ head/net/tcptrace/Makefile	Fri Jan 31 17:11:32 2014	(r342044)
@@ -15,27 +15,20 @@ GNU_CONFIGURE=	yes
 ALL_TARGET=	tcptrace
 
 PLIST_FILES=	bin/${PORTNAME} \
-		bin/xpl2gpl
-
-MAN1=		tcptrace.1
+		bin/xpl2gpl \
+		man/man1/tcptrace.1.gz
 
 PORTDOCS=	ARGS CHANGES FAQ README README.mailing_list \
 		README.modules README.tline_graphs README.tput_graphs \
 		README.version README.xpl2gpl THANKS dot_tcptracerc
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE=	DOCS
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/tcptrace ${PREFIX}/bin
-	${INSTALL_SCRIPT} ${WRKSRC}/xpl2gpl ${PREFIX}/bin
-
-post-install:
-	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.man ${MAN1PREFIX}/man/man1/${PORTNAME}.1
-
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/tcptrace ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/xpl2gpl ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.man ${STAGEDIR}${MAN1PREFIX}/man/man1/${PORTNAME}.1
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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