diff --git a/math/pure-rational/Makefile b/math/pure-rational/Makefile index 15dccd5c5832..e768f0f92950 100644 --- a/math/pure-rational/Makefile +++ b/math/pure-rational/Makefile @@ -14,22 +14,14 @@ COMMENT= Rational number library for the Pure language LICENSE= GPLv3 USES= pure +PORTDOCS= README +OPTIONS_DEFINE= DOCS PLIST_FILES= lib/pure/rational.pure \ lib/pure/rat_interval.pure -NO_STAGE= yes - -PORTDOCS= README - -OPTIONS_DEFINE= DOCS - -.include - post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include