aboutsummaryrefslogtreecommitdiff
path: root/lang/malbolge/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/malbolge/Makefile')
-rw-r--r--lang/malbolge/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/lang/malbolge/Makefile b/lang/malbolge/Makefile
index 47814b06f58d..b83d1c293d7b 100644
--- a/lang/malbolge/Makefile
+++ b/lang/malbolge/Makefile
@@ -10,21 +10,18 @@ MAINTAINER= dereckson@gmail.com
COMMENT= An esoteric language
PLIST_FILES= bin/malbolge
-
-PORTDOCS= *
-
-NO_STAGE= yes
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/malbolge ${PREFIX}/bin
-
OPTIONS_DEFINE= DOCS
+PORTDOCS= *
.include <bsd.port.options.mk>
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/malbolge ${STAGEDIR}${PREFIX}/bin
+
post-install:
.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/malbolge.txt ${DOCSDIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/malbolge.txt ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>