1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Stage support

This commit is contained in:
Antoine Brodin 2014-01-31 17:11:32 +00:00
parent 26c39fc80d
commit 9fff4bc59f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342044

View File

@ -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>