From c8e37aec246b5e606c7de67267c3bf92cba92940 Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Thu, 7 Aug 2014 14:44:14 +0000 Subject: [PATCH] Stagify. --- math/pure-rational/Makefile | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) 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