diff --git a/polish/trf/Makefile b/polish/trf/Makefile index 3be61de8a163..a03a07843018 100644 --- a/polish/trf/Makefile +++ b/polish/trf/Makefile @@ -9,12 +9,15 @@ MASTER_SITES= http://korzen.org/soft/trf/ MAINTAINER= ports@FreeBSD.org COMMENT= Billing software for traffic counting working with most Polish ISPs -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + +.include + post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in README CHANGELOG - ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor .endif