aboutsummaryrefslogtreecommitdiff
path: root/math/pure-rational
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-08-07 14:44:14 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-08-07 14:44:14 +0000
commitc8e37aec246b5e606c7de67267c3bf92cba92940 (patch)
tree8d44efb8b3dcd07830047ba711efad33b221d67b /math/pure-rational
parent1035cb6ba782a13ba0e51ebe7d7053cd8317cf1b (diff)
Notes
Diffstat (limited to 'math/pure-rational')
-rw-r--r--math/pure-rational/Makefile16
1 files 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
-
-PLIST_FILES= lib/pure/rational.pure \
- lib/pure/rat_interval.pure
-
-NO_STAGE= yes
-
PORTDOCS= README
-
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
+PLIST_FILES= lib/pure/rational.pure \
+ lib/pure/rat_interval.pure
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 <bsd.port.mk>