From 9fff4bc59fe1b42ea2f975791a5221f119564458 Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Fri, 31 Jan 2014 17:11:32 +0000 Subject: [PATCH] Stage support --- net/tcptrace/Makefile | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/net/tcptrace/Makefile b/net/tcptrace/Makefile index 036fd38edd83..77ae24570a83 100644 --- a/net/tcptrace/Makefile +++ b/net/tcptrace/Makefile @@ -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 +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